on line 2, “this” should be “$(this)”. Change that, and let us know if there is error. Post the error message.
It’s really to debug JavaScript with firebug, if you haven’t got it, you can download from here Firebug . You need to have firefox in order to use firebug.
Once you’ve installed firebug, open it and refresh the page, if there is error, you can see a red message in firebug pane.
In above image, 1 2 3 navigation is a list, top section’s data is data from li’s rel and a’ title. With hover, content changes with hover on navigation. The html is:
I use firebug and firefox. There is not error in javascript (I have tested with chrome developer tool too) I want to change 1 2 3 automatic. But I cant with setInterval
Yes I have seen this but I cant edit…
I have found many scripts like this but all of them, load all items in top div and show, hide them, but in my script content loads with hover.
For example if you have 20 item in navigation, all of 20 content doesnt load at once and only load by hover.
This script works very good but has not automation.
BTW, Im newbie in js…
Many thanks for your help.