javascript error...

They have: 71 posts

Joined: Oct 2005

http://papertrailinvites.com/dev/

i have a javascript error on my page can anyone assist...

javascript i am using is attached

AttachmentSize
xpmenuv21.js12.33 KB
Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

Your markup is malformed. Many of your "emptybox" div tags are opened but not appropriately closed. (Actually, they are, since the next available is grabbed, but that just means many "mainDiv" tags are not closed.)

The script relies on good regular structure, so you have to be very careful to guarantee it.

So make sure all your tags are closed and nested correctly. Running your page through the W3 validator can help you make well-formed code.

Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.