firefox

Allow only numeric values in textbox not working in Firefox

I have one Textbox accepting Bank A/c Number value which should be numerical only. I have written one javascript function for this as follows. function fncInputNumericValuesOnly() { if(!(event.keyCode>=48||event.keyCode<=57)) { event.returnValue=false; } } This ...

Firefox Border Radius Not Showing

I am using the following css #helper{ position:absolute; bottom:0; width:100%; } #key{ width:950px; margin:0 auto; z-index:2; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px; } <-- inside body --> <div id="helper"> <div id="key">SHould be rounded top corners?</div> </div> Yet in Firefox it is not showing after refre...

Weird jquery behaviour

I'm trying to achieve something really basic but jquery isn't doing what I expect! I have a div with an id of "stuff". In the css I set the display attribute to "none" with the aim of changing it with jquery. This way the div is hidden unless the user has js enabled. My jquery code is simply $("#stuff").show(); unfortunately this isn...

JQuery (1.4.2)/Firefox (3.6.3) - .before and .after not working on div [SOLVED]

I am trying to have a title bar appear when the user clicks on a box. It works perfectly in I.E. 8.0 but not at all in firefox 3.6.3. HTML <html> <head> <script type="text/javascript" src="../jquery-1.4.2.min.js"></script> <script type="text/javascript" src="sample.js"></script> <style type="text/css"> @import url('style.c...

Stop Firefox reloading swf when Jquery 'addClass' function is applied to a parent div

In firefox when I apply a Jquery 'addClass' function to a parent div (to add a border) it reloads the swf (in this case a youtube video). Chrome and IE8 are fine. Any ideas how I might add a border to a div without it reloading in Firefox? ...

Problems with contenteditable in Firefox

Hello, I am working on a Javascript WYSIWYG editor in Firefox. I am using a div with the contenteditable attribute set to true in order to accomplish this (I cannot use a contenteditable iframe for this particular project). This contenteditable div is nested in another div that is not contenteditable. I am encountering the following t...

html doctype adds whitespace ??

can someone please explain to me why having a doctype of <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> and <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"> render the following block differently under firefox? <table style="border-collapse:collapse; margin:0; padding:0;"> <tr> <td style="border...

AutoIt with Firefox

I have several tabs open in Firefox. I want AutoIt to activate a particular tab in Firefox. How can this be done? ...

Swapping an image during web development

I'm trying to see what a certain webpage would look like if I replaced a certain image with another. Rather than upload the image, edit the site, etc, each time I tweak it, I'd like to know if there's a way to change the image in the page to my local version while viewing the remote page. I use Firebug for debugging web development usua...

CSS: Size of buttons in Chrome is different than Firefox

I have the following HTML code: <style type="text/css"> .submitbutton{margin-left:-2px;padding:1px} </style> ... <form> ... <input class=submitbutton type=submit value="Create Listings" /> </form> In Firefox, the input button has more padding than in Chrome. Any ideas why? UPDATE: If you're wondering why I have the negative margi...

Envoking mouse capturing function onmousedown?

I have the following: <html> <script type="text/javascript"> document.onmousemove = getCursorXY; function getCursorXY(e) { document.getElementById('cursorX').value = (window.Event) ? e.pageX : event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrol...

Help With Proxy Username & Pass with GeckoFX??!!

Hello, I am trying to set the proxy username and password. I saw this posting (http://geckofx.org/viewtopic.php?id=832) and I thought it might be a similar setting for the username/password, such as : Skybound.Gecko.GeckoPreferences.User["network.proxy.user"] = (user); Skybound.Gecko.GeckoPreferences.User["network.proxy.password"] = (...

Is there a way using jQuery or Javascript to force a page to open in Firefox?

Is there a way using jQuery or Javascript to force a page to open in Firefox? For example, if the user has their default browser set to internet explorer, but they have firefox on their computer - open a new firefox window with the intended page. If so, I would need to check to see if they have firefox on their machine; otherwise, redi...

Is there any way to use imagegrabwindow() with Firefox or Chrome?

I'm trying to generate website thumbnails programatically in PHP. To do this, I'm using imagegrabwindow() with a COM object: $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $browser->Navigate($pre.$URL); while ($browser->Busy) { com_message_pump(4000); } $img = imagegrabwindow($h...

programming Firefox with MozRepl in Windows 7

I've only seen examples for it in Linux. Does it work in Windows? Can you give an example? ...

How to center text in an inline-block span on lte firefox 2?

I have 3 spans inside a div. text-align:center isn't working (tried on the parent too) text-align: -moz-center neither (on ff2) i have to use spans no floats -moz-inline-box or -moz-inline-stack ? with -moz-inline-block it's working but the 2nd and 3rd spans clear left… Anyone got an idea? (fixing #6 is an alternative) ...

Modifying a firefox extension

How can I get the original .xpi file of an extension so that I can make changes to it? ...

Windows Media Player toolbar obscures DHTML layer on Firefox

Hi, I have a DHTML layer that floats across a webpage. Everything is working with the DHTML layer, except when it goes pass the Windows Media Player toolbar. It goes behind the toolbar. Any idea how to fix this? Thanks in advance for your help. ...

Open a file:// protocol with UNC paths in HTML page

Hi - I'm trying to open a file located on a networkshare by giving the anchor tag path = file://///servername/folder/file.docx This works in IE8 and i'm able to open the file in word, however in Firefox nothing happens. I believe it's due to some secruity settings in Firefox. I tried about:config and turning off the checkloaduri value. ...

YUI datatable and date displaying with Firefox

Hi, I am using a datatable loaded via JSON with date like this : 2010-06-03 With Opera and Chrome I have the correct date displayed as 06/03/2010. With Firefox Windows (even in safe mode, without any plug-in), I get a NaN/NaN/NaN. If I use the debug console, I see a valid date, but in Firefox Windows I can see a "Invalid date". Bonus, ...