I have a div with content and overflow assigned giving it two scroll bars.
On the inside of that div is another one which needs to be anchored to the bottom at all times.
To achieve this, I put a listener on the scroll event to reposition the div at the bottom of the div:
obj.scroll(function(e) {
var uiValue = obj.scrollTop();
...
In IE you are able to add a custom search provider in firefox? IE does this nicely and lets you add any site as a search provider.
Is there anything similar? For example to add godaddy.com as a search provider that will allow you to search for a domain from the firebox search box.
...
Pulling my hair out please does anybody have the solution?
In the readystate event handler, I simply read responseText - it comes back as emptystring/blank, 1 out of 100 times when I use FireFox 3.5 + Firebug on Windows Vista, or 1 out of 10 times when using FireFox 3.5 on Mac OS.
The bizarre thing is that the responseText seems to get...
I have HTML page where windows media player is embedded. It works very well in all browsers on Windows, but when trying to open in Firefox on Mac OS, it fails to open.
Is there any alternative method which can be controlled using Javascript or HTML or do I have to install Window Media Player support for Mac OS?
...
This is my code inside document.ready:
var $inputs = mySelectors();
$inputs.each(function() {
$(this).attr("readonly", "true");
});
This code works for IE8, but not for FF3.5
IE output(as seen with IE Developer toolbar)<input type="text" readOnly="readonly"..../>
FF output (seen with Firebug)
<input type="text" readonly="">
What i...
Hey, I'm working on a web app that has a login dialog that works like this:
User clicks "login"
Login form HTML is loaded with AJAX and displayed in DIV on page
User enters user/pass in fields and clicks submit. It's NOT a <form> -- user/pass are submitted via AJAX
If user/pass are okay, page reloads with user logged in.
If user/pass a...
Hi,
If I load a page in an iframe, run doc.querySelect to retrieve a node N, append N to doc.body by doc.body.appendChild(N), and then remove all children from doc.body until it reaches N, would N be guaranteed to be rendered the same way as pristine in Firefox or IE? So far in the example that I have tried, it's alright, but I was wond...
If an iframe loads a page containing a javascript ticker, but the ticker is outside the viewport, will a browser still waste CPU on running the ticker?
...
Hello all,
Having real trouble using my local host to test sites. It runs extremely slow! Sometimes up to a minute to load a page. I'm using firefox and the sites i'm testing run fine on other developers in my office local machines/ on the production server.
I've gone through the normal things :-
Disabled IPv6
Not running in debug mo...
I'm trying to query a webservice (with javascript, prototype). The server responds with XML, but compresses it; headers are set appropriately.
Under Safari 4, everything is fine. The response is decompressed and Javascript can deal with the data.
Under FireFox 3.5.8, no data is returned to Javascript!
Code:
var req = new Ajax.Re...
I keep getting this error all over the place where I only have jquery 1.3 or 1.4 included.
"setting a property that has only a getter"
and a long list of warnings in the Firefox Error Console.
What's going on? I can't find any information on this issue =/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/...
How do I get rid of the seemingly default padding below text in an input on Firefox relative to Safari (where there is no space -what I want)
http://branklin.com/queue/soq.php
...
Hi folks,
Strange issue, when Firebug is enabled (and only then) does my Javascript start making double GET request (AHAH) at what appears to be random.
The result of this double call is that the code returned from the server (PHP generated Google Map / Javascript) is spat out on screen.
This issue does not occur in any other browsers...
alert(line) alerts 'ac'
typeof(line) is 'string'
When I run line.charAt(0), charAt is not a function.
When line is 'http://www.google.com/', it works,
I think it's the UTF-8 encoding of the file that I opened...
How to make charAt work with UTF-8?
UPDATED:
http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/src/effective_tld_n...
I'm currently facing the problem that the server delivers a page with valid xhtml (transitional) but Firefox (3.x) refuses to render it every now and then. Reloading the page (F5) shows the rendered contents as supposed.
Looking it up in Firebug shows that the server delivered everything and that the html-header als "arrived" ... but it...
Is there a .NET-accessible (i.e. .NET or COM) library that I can use to programmatically control Firefox? I'm looking for something that is a bit like ShDocVw.dll for IE. Doesn't have to do all that much, basically all I want to be able to do is programmatically add a bookmark.
...
I'm currently trying to scrape a website that has fairly poorly-formatted HTML (often missing closing tags, no use of classes or ids so it's incredibly difficult to go straight to the element you want, etc.). I've been using BeautifulSoup with some success so far but every once and a while (though quite rarely), I run into a page where ...
I have the following markup:
<p class="managebox">
<button value="Add page">
<img src="page_add.png" alt="Add more content" />
Add Page
</button>
</p>
And the following CSS:
p.managebox { position: relative; }
p.managebox button { display: block;
padding: 5px 7px 4px 30px;
positio...
I want to extract information from a web page.
The page has m nodes, which can be found by .evaluate("//div[@class='news']", document, ....).
For each of the above nodes, there are 3 nodes inside them. Each of them has different @class selector. And I want to extract these m 3-tuple records.
I tried to use .evaluate() function as inst...
This is related to the question I asked here:
http://stackoverflow.com/questions/2382329/how-can-i-get-browser-to-prompt-to-save-password
This is the problem: I CAN'T get my browser to prompt me to save the password for the site I'm developing. (I'm talking about the bar that appears sometimes when you submit a form on Firefox, that say...