| | |
javascript NG on Firefox
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2006
Posts: 2
Reputation:
Solved Threads: 0
Regarding my website at: http://www.artmakers.com
The below javascript, which rotates a .gif image logo, works fine on my website with Internet Explorer, but when Viewed with Firefox it will not move the image. The error message in the Firefox Javascript Console is:
Error: circleLayer is not defined
Source File: index.html Line: 106
Line 106 is in the context of the whole page. I posted just the javascript at http://www.artmakers.com/error.txt In the javascript , it's the line that says:
circleLayer.moveAngle += 1
Thanks..... Ron
The below javascript, which rotates a .gif image logo, works fine on my website with Internet Explorer, but when Viewed with Firefox it will not move the image. The error message in the Firefox Javascript Console is:
Error: circleLayer is not defined
Source File: index.html Line: 106
Line 106 is in the context of the whole page. I posted just the javascript at http://www.artmakers.com/error.txt In the javascript , it's the line that says:
circleLayer.moveAngle += 1
Thanks..... Ron
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
"circleLayer" is defined inside conditionals, and none of your conditionals test for FireFox.
You only test for Netscape and Internet Explorer, based on deprecated DOM objects (document.layers).
Your page is also missing a DOCTYPE declaration, so no test is really going to be valid, and no code will be dependable.
Start by fixing the DOCTYPE issue, then you may not need to do a browser test.
You only test for Netscape and Internet Explorer, based on deprecated DOM objects (document.layers).
Your page is also missing a DOCTYPE declaration, so no test is really going to be valid, and no code will be dependable.
Start by fixing the DOCTYPE issue, then you may not need to do a browser test.
![]() |
Similar Threads
- Javascript Firefox Help (JavaScript / DHTML / AJAX)
- disable javascript through javascript in firefox (JavaScript / DHTML / AJAX)
- Javascript and Firefox ISSUES (JavaScript / DHTML / AJAX)
- Need JavaScript/Firefox HELP (JSP)
- javascript-firefox issues (JavaScript / DHTML / AJAX)
- Can't view JavaScript on Firefox/IE (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Calendar window is not coming for the Dynamic rows
- Next Thread: Text Not Showing up in IE, Fine in Firefox * NS
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate array automatically browser bug calendar captchaformproblem cart checkbox child close codes createrange() cursor date debugger dependent disablefirebug dom dropdown editor element embed engine enter events explorer ext file firefox form forms frameworks getselection google gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump libcurl maps masterpage math media microsoft object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security shopping size software sql text textarea unicode web website windowsxp wysiwyg \n






