Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
So I'm guessing this happens with.. many.. somewhat old-tech things like this, but I have a javascript only website based on backbone, and have shopping pages I'd like to get some validated badges on, case in point: [A Comodo Trustlogo][1]
Basically, when I follow the instructions, it completely wipes out the page, replacing the entire body with a white page and the logo itself, instead of kindly inserting itself into a div or whatnot.
Anyone have an idea on how to get it to inline properly?
This is to do with where you have placed your Comodo code. Where you've placed it, both document.write and document.writeln will destroy the page.
Move it to the top of the <body> element or whereever in the <body> element (not outside, not in <head>, not directly in <html> nor on the outside) you prefer.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
form is not working, I used HTML5 & bootstrap 3.0?
here i add the link of the site please checkout.
I cant figure-out it.
http://www.deliveryguys.in/html/index.html
It's usually best to post snippits of code that you think are malfunctioning but in this case I think you should invest in a spellchecker.
I went to
http://www.deliveryguys.in/html/index.html
And it seems to work fine.
Notice it's HTML instead of HMTL
Edit: OK now I see the real problem with your code
The form is underneath other HTML elements. You need to give your stylings z-indexes in order to control what is on top of what. I gave the form a z-index of 1000 and it worked fine. I suggest editing your css classes to include z-indexes to give you finer control than that.
Please note that your form action has been mapped to "#"
Kindly point the form action to the appropriate server page & it will start working.
Regards
SRIRAM NATARAJAN
(Chennai, Tamil Nadu, India)
(www.thesriram.co.in)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
I am using weather widget to display in website.
<iframe src="http://voap.weather.com/weather/oap/USGA0028?template=GENXH&par=3000000007&unit=0&key=twciweatherwidget" scrolling = "no" frameborder="0" width="270px" height="270px"></iframe>
when I display it in my web page, " document.write(" " appends above my Iframe. See scree shot attached.
I am unable to find what an issues is, any help guys.
It's impossible to remove the document.write tag due to same-origin restrictions. Instead, you should follow haim770's suggestions to create a very simple page that includes the widget in a script tag (like it's supposed to be) and then put that page inside your iframe.
The code problem is inside the iframe src
You will have to edit the page you are embedding ie.http://voap.weather.... and remove the document.write from there.
or if you cant edit the src page then you will have to modify the content inside it via javascript once the iframe is loaded.
P.S the weather widget is supposed to be used with script tag
Probably you got this widget from http://voap.weather.com/services/. But widget from there has been created using <script> tag. Did you simply changed script to iframe? Try to include source script tag with parameters in your site where widget should be placed. So you will need no any code manipulations. For example
<div class="my-weather-div-class">
<script src="http://voap.weather.com/weather/oap/USGA0028?template=GENXH&par=3000000007&unit=0&key=twciweatherwidget"></script>
</div>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
Is there anyway to open jquery dialog behind the current page or minimize it?
I tried window.focus() but didn't help.
There is nothing special about a jQuery dialog as far as the browser is concerned - it's just HTML with styling and some JavaScript running the show. As such, there is no "special" way to present one in a separate window.
To do what you want, you'll need to create a popup the normal way (e.g. window.open) that points to a page which produces a jQuery dialog.
However, you're not going to get a standalone jQuery Dialog floating in space - it'll be a browser window with the usual toolbars, status bars, close button, etc.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I want to change the text in the header of my page (the header sticks to the top) when scrolling down that page.
Each time you pass the bottom of the current div, the text in the header changes again.
This is a prefect example of what I want: prss.com.
I'm pretty bad with javascript and jQuery, so if annybody has a solution...
Thanks in advance,
Jasper
You can simply use the .scroll() event of the jQuery to detect the user scroll and then do whatever you want based on the scroll position. The latter one you can get using the .scrollTop() function of jQuery.
Here is the JSFiddle, which demonstrates the functionality similar to the one you've provided.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
In his video tutorail
http://net.tutsplus.com/tutorials/php/codeigniter-from-scratch-day-1/
the author goes to the Codegnitor web site. At first (1:32) the site looks strange (like it did not have any CSS behind it), but when he refreshes it once more the site looks like it should (1:37).
Does anyone know what is the mechanism behind it? I guess that JavaScript calls CSS. Can anyone give me some more details/examples.
Namely I would like to have my site working just like that.
CSS gets activated by 2 possible methods.
Invocation by DOM when the html file is parsed.
Invocation of CSS forcefully by JavaScript's functions.
On this video second method has been used.