Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Thanked 0 Times in 0 Posts

    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 05:12 PM.

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Thanked 1,012 Times in 1,009 Posts
    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts