Emma - Thanks for the reply. Looks like it does work actually.. managed to stumble my way across this cute little article. http://www.webreference.com/js/tips/000921.html :o) Just had to do it slightly differently. Thanks! Mark > Emma Jane Hogbin wrote: > > On Wed, Mar 19, 2003 at 03:47:28PM +1100, Mark M wrote: > > If you have multiple elements that have the same id in a page.. can > you access > > them all through the same ID? or does the system automatically > create an array > > you can loop through under that ID? > > Ahhh, no. IDs must be unique. You could access them through the > images > array though...or you could give them all variations on the same name > e.g.: > slide1 > slide2 > slide3 > Then you could use indexOf("slide") to check and see if the word > "slide" > occured in the ID name. > > hope that helps > > emma > > > -- > Emma Jane Hogbin > [[ 416 417 2868 ][ www.xtrinsic.com ]] > -- > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! -- ICQ: 3094740 mark.m@optushome.com.au