Jump to content

Images


tissot
 Share

Recommended Posts

Hi, I'm very very very new to JavaScript but I can't seem to find the tutorial based on JavaScript that has to do with changing the images if buttons are clicked.I just want to know how to code that will change the specific image to another if a button is clicked.for examplehttp://news.bbc.co.uk/1/hi/in_pictures/5079824.stmI just want know how 'Back' and 'Next' works too.thx

Link to comment
Share on other sites

I just want to know how to code that will change the specific image to another if a button is clicked.
It's just a javascript slideshow, if you search google you will see many.http://www.dynamicdrive.com/dynamicindex14/
I just want know how 'Back' and 'Next' works too.
Usualy the images are stored in an array, when you press back/next you move up or down the array showing each picture.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...