View Single Post
Old 01-18-2013, 08:46 AM   PM User | #4
devnull69
Senior Coder

 
Join Date: Dec 2010
Posts: 2,245
Thanks: 10
Thanked 531 Times in 525 Posts
devnull69 will become famous soon enough
You'd do it exactly as I mentioned before
Code:
 if ( btnselection == 'firstslide'){
   count=0;
 }
 if ( btnselection == 'lastslide'){
   count=3;
 }
The condition to take you to the first/last slide is ONLY the clicked button and not the current value of "count". In order to take you to the first slide, set the count to 0. In order to take you to the last slide, set the count to 3
devnull69 is offline   Reply With Quote