Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-07-2012, 04:10 PM   PM User | #1
gee202
New to the CF scene

 
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
gee202 is an unknown quantity at this point
Question Simplest slideshow loop bug

Okay, I've never tried to mess around with javascript on my own, but today I decided to look up a tutorial and modify the code.

I have come this far: http://psydelica.org/pro/lyhdyt/lyhd...yhtysarja.html

Yeah, not too complicated. There is something seriously wrong with the "Back" -button.. Once I click my way to the last image there's no way out from there anymore.
I can't figure out why, and I already thought I understood this simple piece of js..

Last edited by gee202; 09-07-2012 at 04:12 PM..
gee202 is offline   Reply With Quote
Old 09-08-2012, 02:27 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,383
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
Link not working.

Browser back button actions and js are not always compatible. For example the check mark on a checkbox will not reset. Browser at fault here. Maybe you need to code a reset button yourself to go back to the first image, or make the images cyclic.
sunfighter is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:37 AM.


Advertisement
Log in to turn off these ads.