Firefox vs. IE-menu not working please help

I hope an experienced person can help me.
Our site: has a top menu that currently works in Internet Explorer but does not in Firefox. I have used HTML Tidy for my index page and now it looks ok in Firefox but not IE. I have reverted back to the original index which works in IE.
I have three CSS files, one Javascript and the index page. I am a bit new at this and really need someone to take a peek at the files and please tell me where the code needs to be modified so it will work in IE and Firefox.
I am hoping a "guru" can share their wisdom and help me get this menu functioning.
I have attached the files in Word because of the restrictions. The link to our site, has the index page that is rendering correctly in IE but not Firefox.
I really appreciate any and all help..
I great

Posted On: Sunday 25th of November 2012 08:01:09 PM Total Views:  253
View Complete with Replies

Related Messages:

Creating toolbar for firefox that makes an request to a webservice   (134 Views)
I am attempting to make a toolbar to allow access to ryanairs website to check for latest flight prices. Here is the code: ryanair.jar/content/contents.rdf chrome://ryanair/content/ryanOverlay.xul chrome://ryanair/content/ryanOverlay.xul ryanair.jar/content/ryanair.js function makeRequest(url,returnFunction) { try {"UniversalBrowserRead"); } catch (e) { alert("Permission UniversalBrowserRead denied."); } http_request = false; http_request = new XMLHttpRequest(); if (http_request.overrideMimeType) { http_request.overrideMimeType('text/xml'); } if (!http_request) { alert('Cannot create XMLHTTP instance'); return false; } http_request.onreadystatechange = returnFunction; output("getting URL:" + url);'GET', url, true); http_request.send(null); } function getOffer(depart,arrive) { output("getting offer for :" + depart + " to " + arrive + "\n"); var reqURL = ""+arrive+"&base="+depart+"&pos=cday"; makeRequest(url,stateChanged); } function stateChanged() { output("State Changed to " + xmlhttp.readyState); if (xmlhttp.readyState==4) { output("Response was: " + xmlhttp.responseText); document.getElementById("priceOutput").value=xmlhttp.responseText; } } function getPrice() { output("Button Pressed\n"); getOffer(document.getElementById("depart").value,document.getElementById("arrive").value); } function output(text) { alert(text); } ryanair.jar/content/ryanOverlay.xul //self.setTimeout('read()', 10000) the above is packaged into ryanair.jar and then packaged with the below into ryanair.xpi (zip files) install.rdf {a1577a80-3943-4362-a66d-858f01e2196c} RyanairBar 0.1 Toolbar to check for cheap flights content/ skin/ {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 0.8 1.5 some of the code is redundant as it was copied form an example at however the output to alert stops after showing the url its getting, its like breaks, any ideas attached is the packaged file (i think...) thanks in advance had to zip it up to first... Attached File(s) (3.26K) Number of downloads: 54
Javascript won't load in firefox   (95 Views)
Hi all, i'm working on a form wich does perfect in IE7 ( http://antwerpfashio...inas/Zoeken.htm ) but it only works in firefox when i click a button... can anyone tell me how this is Thx in advance, Kristof
set homepage in firefox   (139 Views)
heloo !! i used this javascript code to set homepage in firefox but dos'nt work of firefox and work on IE6 function setasHome(){'url(#default#homepage)'; document.body.setHomePage(document.location); } a href="java script:setasHome();">sethome PLZ i want the code to set homepage in firefox and IE6 thx
Embed a list of videofiles (break out for and firefox/ie differ   (193 Views)
Okay, here's the situation: I have a list of video files on a HTML page with a link to another HTML page which displays the selected video file. The first file is http://www.bodhidhar...edia/Movie1.htm. The second is called from the first by for instance "Media2.htmx=6" In the second HTML file the video's are listed in an array with there properties (title, filename, height, width). See below: var aList = new Array() aList[0] = ["ID","Name","Height","Width","Titel"] aList[1] = ["1","Freestyle okt 2006 clips5.wmv","480","640","F.S.F. Spinning Haaktrap"] aList[2] = ["2","Katana basisslagen.WMV","240","320","Katana Basisslagen"] aList[3] = ["3","Katana derde trekking.WMV","240","320","Katana 3e trekking"] aList[4] = ["4","Katana eerste trekking.WMV","240","320","Katana 1e trekking"] aList[5] = ["5","Katana tweede trekking.WMV","240","320","Katana 2e trekking"] aList[6] = ["6","Katana vierde trekking.WMV","240","320","Katana 4e trekking"] aList[7] = ["7","Katana vijfde trekking.WMV","240","320","Katana 5e trekking"] ... Then the passed on parameter is stored in a variable and the correct sub-array is found through a for-loop, but because of the aList.length, the complete array is scanned in stead of breaking out at the moment the correct line is found. So that's an issue which I need to solve, but don't know how (yet). Anyone When the correct line (sub-array) is found the rest of the document is written with the document.write() statements var nId = getQueryVariable("x"); for (var i = 0; i < aList.length; i++){ if (nId == aList[i][0]) { document.write(''+aList[i][4]+' '); document.write('
permission denied firefox   (177 Views)
I have this = function(){moveScroll(); } It works perfect in ie, but in firefox I get permission denied to get property onscroll. why and whats the solution on top of my page i have done this though var url = document.URL; url = url.substring(7,url.length); url = url.substring(0,url.indexOf(":")); if(isMoz) document.domain = url;
Onclick not working in firefox and safari   (264 Views)
I am trying to use AJAX to do a simple thing of displaying the results in the same page. Clicking on the function display_data(id) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Your browser does not support AJAX!"); return; } var url="ajax2.php"; url=url+"employ_id="+id; xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 || xmlhttp.readyState=="complete") { document.getElementById('employ_data').innerHTML=xmlhttp.responseText; } }"GET",url,true); xmlhttp.send(null); } function GetXmlHttpObject() { var xmlhttp=null; try { // Firefox, Opera 8.0+, Safari xmlhttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlhttp; } ajax2.php
Target firefox css in javascript function   (185 Views)
Greetings Everyone, The Scenario is, we are incorporating a js calender into a page, as usually, there is a issue with calender clip location, the css of calender is in javascript, i have tried targeting firefox enough with tags like (firefox, -moz-binding:, load-mozilla-css, ff4) in the following code snippet if (browser.dom || browser.firefox){ document.writeln(''); document.writeln('@-moz-document url-prefix()'); document.writeln('#container {'); document.writeln('position : absolute;'); document.writeln('left : 0px;'); document.writeln('top : 1000px;'); document.writeln('margin : 0 auto;'); document.writeln('width : 124px;');; browser.platform=='Win32'height=140:height=145; document.writeln('height : ' + height +'px;'); document.writeln('clip:rect(0px 140px ' + height + 'px 0px);'); //document.writeln('overflow : hidden;'); document.writeln('visibility : hidden;'); document.writeln('background-color : #ffffff'); document.writeln('}'); document.writeln(''); document.write(''); } which can target the clip
javascript code not working on firefox   (102 Views)
hello, can you please help me i wanted some clickable texts which opens not 1 but 2 urls in 2 different iframes. this code works on ie and opera but not on ff. i don't know what to do. thanks! function linx(url1,url2){ document.frames["spec"].window.location.href=url1; document.frames["pro"].window.location.href=url2; } 111111111 222222222 3333333 4444444444
How to make firefox add-on   (152 Views)
i have a website search "basketball" for an example with results i'm trying to add a quick-add feature, which will be a firefox add-on so i can build the database quicker. is there a tutorial i want to capture the current page in the browser and then input into mysql.
javascript does not work in firefox   (114 Views)
i serch about 1 month to find a script that names biorhythms and i found a script! my problem is that the script works in internet explorer but not in firefox and i do not know why! i will sent the code...can any one help me and say to me what i have to d
javascript working in ie not in firefox   (98 Views)
Experts I wrote a simple code in javascript and it is working fine with IE and Firefox but the out put in php array count is correct in IE but not correct in Firefox Please check the code attached here.
javascript in mozilla firefox   (100 Views)
why does the event.clientX and event.clientY is working in IE but not work in firefox clientX and clientY shows the coordinate of the cursor relative to the screen
Menu problem in firefox   (200 Views)
In my web application which is developed under JSP,JavaScript, the menu's works fine in Internet Explorer but the same sub menu's does not works/opens in firefox and others.For example i gota menu's as below, Admission ------- Student admission --------Faculty admission When i click on Admission link, the student and facutly links should open as sub menu's. works fine in IE but not in firefox etc. Can anybody clear me about it
javascript code not working in firefox   (407 Views)
Your code is far from being a proper XHTML document, but works in IE, since its really forgiving. A few things: the form elements should go in the form tag. Its only when they go inside the form tag, a name attribute given to them is valid, otherwise name attribute for non-form elements is deprecated. The language attribute of tag is deprecated. Use 'type ' instead. Something like . Its always recommended to place your script in the header section or include it at the bottom of your page. The way you are accessing the elements is completely wrong. One possible way would be to just pass the form element to the validate function and let the function pull out values from the form. Something like this: I would recommend you to get hold of a good tutorial (google is your friend) and start some serious reading., thanks got it working.... another thing, can you tell me how to get a login dialog box at the start i.e "on loading" of a page, Erm.. not using javascript. It's not a good way to adequately password protect pages. The best you can do with javascript is: - hide everything but the password form on the page (wrap everything in an html element, set display:none; or visibility:hidden; in css) unless the user enters the correct password (then set everything visible, using display:; or visibility:visible; respectively). unfortunately, everything on the page can be seen using view > source. - have the page redirect when the user enters the correct password ( as you're doing here ); again, anyone can look at the source, and find out the URL of the restricted page. - the best javascript 'password protection' i've seen did this: have a page with a password form; when the user enters anything in the password field; the script redirects to a folder with the name of the correct password; the basic principle is, that it's difficult for the average user to know where the folders on a webserver are, unless you give some hint ( links, common folder names, etc ). every incorrect guess will redirect to some unmapped location on your server; not ideal, but it restricts access. the bad point here, is that any user watching an 'admin' can see what the password-named folder is.. but, it's the best javascript password restriction method that I can imagine. You could take it a step further, and transform the password entered by some text/ascii math function before redirecting, but, the script suffers from the same vulnerability I mentioned if someone sees an admin login, although, its less obvious if the function generates some long non-dictionary string of characters. the real solution, is not to use javascript for password restriction. use some method server-side that only sends pages to users that are authorized. aswell as a good set of tutorials for javascript, some for basic server side authorization, and somewhere in there the client-protocol-server relationship, would be quite useful... If you want to go ahead with JS validation regardless of that advice, and you just want an input dialog to pop-up; this code _should_ do that: I haven't tested it atall, but it looks alright, although it's old-school quirks mode HTML. It would need the same fixes as s.o.s mentioned with regard to your posted code in order to make it 'new standards compliant'
Problem with ajax in firefox 3   (223 Views)
I have a simple code which works well in I.E ,but it is not working in mozilla firefox 3.0..Why is it so. the code is as follows: Ajax - PHP example Input text: Output text: Php:
Window.createPopup() in firefox?   (219 Views)
Hi , I am working in .NET 2.0 frame work web application. In my application i used javascript and with that i used the window.createPopup() function. It is working fine with IE. But it is not working with Firefox, Netscape Navigator and Opera. Please provide me the alternative solution so that i can use that to get the same functionality. I have tried with also but it is not providing the same functionality., Actually by using window.createPopup() i am dragging and dropping the Controls on the form from one region to another region just as like inWebparts. But it is not possible to use webparts directly. So when we call window.Open() is opening in another browser with titlebar and others. But the window opened must just like as window Opened through createpop() method., Make sure you have javascript turned on of other browsers.
javascript with firefox   (99 Views)
can anybody help me , how can we call a javascript function using firefox browser. my code is working fine when im using IE but not for firefox. Why i cant understood.When im clicking button no action was taken and nothing was happned. function login_validate(frm) {var name=frm.user_name.value; if(name=="") {alert("Please Enter UserName"); frm.user_name.focus(); return false; } if(frm.password.value=="") {alert("Please Enter Password"); frm.password.focus(); return false; } frm.user.value=name; document.frm.action="./loginServletfrom=login"; } function unload_win() { frm.action=""; }
"add this site to your bookmarks" in firefox   (197 Views)
Is it possible to have a link so users can add my site to their bookmarks via a link I have found out how to do it using IE but it doesn't work with Firefox. Cheers for anyhelp.
open browser window and other js in firefox   (177 Views)
I have some problems with javasript functioning in firefox... something very basic as open window browser
close event for firefox   (241 Views)
Hi , i'm new to JS and need a little help on this issue of mine..... i'm trying to popup a confirm dialog box whenever i close my browser window,the problem is that i'm able to do this in IE but i'm having problems when i'm using firefox.i'm doing this using the "onbeforeunload" event......... Please do gimme a solution to this problem in forefox and also let me know y this is happening................. The script that i've ritten is : [html] [/html]