Credit Reports - Wordpress Theme - Debt Consolidation - Shopping news - Online Advertising

PDA

View Full Version : Javascript not working in FF only IE


CircleOfLinks
May 18th 2008, 6:15 am
Hey guys i need your help with something...

Can you tell me how to fix up a script i installed on my site? basicallt 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

crath
May 18th 2008, 6:23 am
Line 18: Unknown Property: filter

Line 68: Book_Div has no properties
- You may have javascript looking for Book_Div before it is actually created by the html. Make sure the code runs after the html is already run (so, below the html)

jnwms
May 18th 2008, 11:26 am
i've just gone on there and it doesn't seem that book_div exists. I can't find it in the html. From what crath said you might want to try window.onload remember this must be a function aa the function is copied into the event.
do it like this.

window.onload = ImageBook;

Jon