Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Javascript not working in FF only IE
Old 05-18-2008, 10:18 AM Javascript not working in FF only IE
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
Hey guys i need your help with something...
Can you tell me how to fix up a script i installed on my site? basically whats happening is it wont work in FF but only in IE, I've used the same script on another site and its working fine in both IE and FF but not on my site
If you go to page www.swiftproductions.com.au/recent_work.html towards the bottom is where the script it.
thanks heaps
__________________
Danny

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
 
Register now for full access!
Old 05-18-2008, 11:54 AM Re: Javascript not working in FF only IE
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Normally javascript will not work if there is an error in the code, or is not compatible with the browser. Check your code, you might have missed out a ';' somewhere.

Could you reference (like copy and paste it here) the exact code that is not working please?
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 05-18-2008, 03:20 PM Re: Javascript not working in FF only IE
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
the problem is that you have two sets of <body> tags on the page, and put the <body onload=""> event in the second set of <body> tags, below your script at the very bottom of the page. This is completely invalid. Firefox is correct in not recognizing this as an event. Move the event to the first opening <BODY> tag and you'll be ok. Remove the second set of opening and closing body tags.
__________________
Join me on
Please login or register to view this content. Registration is FREE

Last edited by wayfarer07; 05-18-2008 at 03:28 PM.. Reason: typo
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-19-2008, 08:02 AM Re: Javascript not working in FF only IE
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
wayfarer07 thanks heaps mate it worked perfectly, you where right, basically i had a differnt code on there which required me to place that towards the bottom. I removed that script and left that line of code. works now thoe....

thanks mate your a ledgend
__________________
Danny

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
Reply     « Reply to Javascript not working in FF only IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48909 seconds with 12 queries