Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Side Scrolling Chapter Menu

Status
Not open for further replies.

d6veteran

Programmer
Aug 24, 2006
1
US
I'm trying to create a side scrolling chapter menu and was wondering if anyone knows some script that would get me started.

Basically I want to scroll through chapter images using left and right arrow buttons, so the menu would start like this:

< #1 #2 #3 >

Then by clicking on the right arrow button it would then look like this:

< #4 #5 #6 >

And so on. The version I have built simply replaces the images (#1 replaced with #4, #2 replaced with #5 and so on). But I would love to make them scroll so the new images come in as if they are all on the track moving left and right.

Any ideas on how to do this or other help would be greatly appreciated.
Edit/Delete Message
 
I do not have code for you but I do know that some people accomplish a similar effect by putting all the images into one wide image and placing the image into a div. They use CSS to position the image within the div so that it displays only the section of the image required.
Code for the left/right arrows would alter the scroll position properties of the content div.

Take a look on they have a lot of scrolling scripts or slideshows that do scrolling. You should be able to find something you can adapt.


At my age I still learn something new every day, but I forget two others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top