JavaScript Forum JS Made Easy: Free JavaScripts Tutorials Example Code
About This Product
The Business Internet
Find it on This page:
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet

Jsmadeeasy Forums Home   Search   Login   Register   Member List  


Viewing Page 1. More matches available? Yes
Prev Next
1.Looping in an array question...
Posted by jrutten on 6/4/2006 9:37:50 AM
So I'm using the script below, and I like to modify it to "wraparound" so it is a continual loop as the user clicks - any ideas? Thanks in advance!

var i = 1
images = new Array
images[1] = "YOUR FIRST IMAGE"
images[2] = "YOUR IMAGE"
images[3] = "YOUR IMAGE"
images[4] = "YOUR IMAGE"
images[5] = "YOUR IMAGE"

function previmg(){
if (i ...
2.Modifying a jsmadeeasy script - probably an easy fix
Posted by jrutten on 4/12/2005 10:22:55 AM
I'm trying to use the script found here:

But in my implementation, I would like one of the two buttons to be in the activated state when the page loads. How can this be done?

Thanks very much in advance everyone.

Prev Next