firefox

Locking input elements on Firefox

I'm trying to have a CSS element lock to two sides of its container. The following CSS works for elements such as div, but not for input elements in Firefox left: 20px; right: 20px; top: 20px; height: 20px; width: auto; position: absolute; I've found I can wrap the element in a DIV, but doing so is not really an option as it is very im...

Multi-language change without page refresh?

User selects a new language from English to German. Currently the page has to refresh each time to change the text to the language selected. This is fine for IE but on firefox it always asks the user and a bad user experience. Plus if user is in the middle of typing something then has to refresh the text is all gone. So is it possible to...

How to automatically import bookmarks in Firefox?

Hi, I would like to know if there is a way to automatically import bookmarks into the Firefox browser from the bookmarks.html file (the one that can be exported from the browser). That is, I want to skip the step of actually going into the browser's menu and import the file manually from there. Could a .bat file be created to do this? ...

SCORM in lightbox/iframe gives an "empty" SCORM on Firefox browser

I'm trying to show a SCORM object into a lightbox-like plugin. I've tried few jquery scripts (topup, prettyPhoto) and squeezeBox for mootools. I can get the SCORM working only in Chrome and Safari but not in Firefox, where it shows only the left navigation bar. Any idea? ...

JavaScript redirect (location.href) breaks the Back button unless setTimeout() is used

I just came across some odd behavior in Firefox 3.6/Mac. I suspect that it's general Firefox behavior, though. I created two dead-simple test pages that change the window.location.href property to navigate to new URL: http://troy.onespot.com/static/stack_overflow/redirect.html http://troy.onespot.com/static/stack_overflow/redirect_tim...

Input Fields in Firefox on a Mac

I have an issue that was reported to me just now before we go live tomorrow and I am not able to reproduce as I don't develop on macs and our site is all macs. I don't have a version number or OS number and know that would make it easier. I am stuck with these two and will do further testing over the weekend. It was reported to me that...

.hide() function works in Chrome & Safari but not in Firefox

Hey all; I have a bit of code which is hiding one element of this website as soon as it loads. It seems to work okay in Chrome & Safari but it doesn't work in Firefox… <script type='text/javascript' src='<%baseurl%><%basename%>/site/js/jquery.js'></script> <script type='text/javascript' src='<%baseurl%><%basename%>/site/js/jquery-1.4.2....

Handle drop down list sizes IE & FireFox

On my web page, I have a drop down list ( with ); I have provided width to it. The contents of the list are populated dynamically hence I can't provide a maximum size. If I don't specify the size then the list is displayed properly but then the alignment of neighboring components gets disturbed as list takes width of the widest option in...

HTML - Page's Full Height including the content beyond the scroll

Hi, I need to find out height of a page including the content that goes beyond the vertical scrolls which is hidden. I have searched google and stackoverflow QA's but those solution don't apply to my situation. One condition is I cannot change HTML or BODY css. Basically I am trying this out for a firefox extension All the methods lik...

Table row display toggle does not work in firefox...

I have a javascript function that works in IE7, but is giving me trouble in Firefox. JAVASCRIPT function vehicleSelected() { var ddlSelect = document.getElementById('ddlSelect'); var displayTable = document.getElementsByName('listTable')[0]; var strAuto = ddlSelect.options[ddlSelect.selectedIndex].value; alert("ok, so far...

Not able to access firefox page from extension

I have created an add-on using firefox's add-on builder. I am able to create a javascript file inside add-on and can invoke a function when a user clicks on the button provided by addon. The problem is I am not able to access firefox's webpage from that javascript file. When I access "document" object, it seems to be different object. A...

Firefox makes redundant GET requests in jQuery slideshow

I built a basic slideshow from scratch in jQuery. The way it works is php hands an array of image paths to jQuery via JSON once upon page load, and jQuery just inserts a new img into the page using the src info from the array. When you click next, a new image is inserted and the previous one is removed from the DOM once it slides away....

Anchor tags stopped working in HTML5 website

I'm using HTML5 reset as the basis for writing an HTML5/CSS3 website. For some reason though, basic anchor tags are no longer clickable in anything other than IE! <a href="http://www.google.com"&gt;google&lt;/a&gt; renders in the correct colour text for A tags, but no hover effect is being applied, the pointer doesn't change and I cant ...

How do I stop Firefox opening XML docs with Google Reader?

I am trying to analyse the XML response from using the Youtube API as follows http://gdata.youtube.com/feeds/api/videos?q=dogs When I try this the browser gets taken to Google Reader, where a feed is loaded with the query results. But I want the actual XML document to be displayed in Firefox. How can I do this? Thanks for reading. ...

Detect firebug opening and closing

Hi, Does anybody have a way to detect Firebug opening and closing. I know you can do the following: if (window.console && window.console.firebug) { //Firebug is enabled } but this only detects the firebug console on page load. What I want to do is on a page where firebug is not open, detect the opening of the firebug console. I'v...

How can I trigger an email+attachment from the browser?

This is for a company intranet app, so everyone is using firefox on XP and I can install whatever is needed. We'd like to setup an email with a pre-made subject and attachment (similar to using mailto), but the mailto spec doesn't allow attachments. Any ideas how it can be done? Perhaps using a ff extension? update: The file is a n...

<TR> Formatting not happening in Firefox

Hi, I want to hide/unhide a group of HTML Table rows using javascript. To do so, I define each such row, whose visibility is to be toggled, as follows: When an appropriate event is fired, I toggle its state as follows: document.getElementById('rowId1').style.display = 'none';//or 'block' The above code works in both firefox and IE. B...

Regular Expression literal with /g modifier and eval - weird behaviour in FireFox and Chrome

I was experiencing some weird behaviour in some of my javascript code, but only in Firefox and Chrome. IE is fine. I have isolated the problem and created a little page so you can see the behaviour yourself. Essentially, it appears as if the Regular Expression object in MethodC is being reused across method calls to MethodC, even thoug...

Firefox 3.6 Ignoring CSS3 border radius.

I am using -moz-border-radius (along with border-bottom-left and the webkit one). The radius shows up in every browser (that supports css3 radius) no problem. In firefox, the radius shows up. When I inspect with firebug, radius is missing from the stylesheet (it is there though, just not visible in firebug). it works here on the tabs ...

lightbox like script cross-domain iframe in firefox

I'm looking for a lightbox-like script that can open a cross-domain iframe in Firefox. I tried several scripts and Firebug says that it's not possible to get Window.frmResource property. Thanks in advance ...