Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Menu without body load

9:33 am on Jul 2, 2009 (gmt 0)

New User

5+ Year Member

joined:July 2, 2009
votes: 0

Hi all

Im still pretty new so I hope someone can help.

Im building a site where there is a div containing a slideshow using js. The slideshow is executed on body load.

On top of the div there is another div containing some text. This div is linked to my menu.

My menu is just build up of hyperlinks which means that whenever you navigate in the menu - the slideshow start from the beginning because the body loads.

Do any of you have suggestion for another structure? The main scope is to have a slideshow with text on top and to be able to navigate in the menu (change the text) without restarting the slideshow.

Thanks in advance

4:32 pm on July 6, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 25, 2003
votes: 0

You could possibly employ a method to remember the last slide in view say from the left and on the page reload start the slide show from the last side shown on the left, you would need to disect the javascript for this and amend it to store the last slide in a cookie or server side varialbe (if you are using php).

If neither of the above are suitable solutions you could always embed your pages body into an iframe which will load each pages content when clicking on the navigation links in your menu, i have used this technique to prevent flash mp3/video players from reloading when moving to another page, the only issue with this is lack of content spidering (not sure if this is still an issue these days) and the possibility that a user will land on the iframe page as opposed to the main container of iframe its self, if the latter happens its possible to add a javascript to reload from the iframe page to the actual container page ensuring the end user is viewing the right page.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members