Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1206 | Replies: 3
![]() |
•
•
Join Date: Apr 2006
Location: Rural New York State
Posts: 2
Reputation:
Rep Power: 0
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
"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.
•
•
Join Date: Apr 2006
Location: Rural New York State
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode