Displaying 1 result from an estimated 1 matches for "item_428".
Did you mean:
item28
2005 Dec 07
3
Addressing a class, rather than an id?
...es on a
web page. Clever, huh. Bet cha didn''t think of that one!!! :)
But seriously. It seems I want to address a class, rather than the
individual id''s of the images. At this point, I''m getting some
results with something like this:
onSlide:function(v){$(''item_428'').style.width = (v*100)+"px"}
But that just addresses a single image (and doesn''t address the
height, but that''s another matter...). My first thought was to use
Prototype''s getElementsByClassName() to address all images of a given
class, but it s...