Oh yeah.. duh... thanks!
On Jun 26, 9:50 am, nwhite <[email protected]> wrote: > $(document.body).getElements('.class1, .class2'); > > On Fri, Jun 26, 2009 at 7:47 AM, blakerblaker > <[email protected]>wrote: > > > > > > > Heya, > > > I'm curious on how I would call multiple selectors within a single > > "get elements" tag. . . ? > > > For example, I want to both ".class1" and ".class2" within the > > following function: > > > function createImage(link){ > > var currentImage = new Asset.images(link, {onProgress: > > fadeInImage,onComplete: function(){initScrollbar($ > > (document.body).getElements('SLECTOR').length);window.addEvent > > ('resize',sizeScrollContent);Shadowbox.init();}}); > > } > > > theoretically it would look something like this that I can't get to > > work: > > > function createImage(link){ > > var currentImage = new Asset.images(link, {onProgress: > > fadeInImage,onComplete: function(){initScrollbar($ > > (document.body).getElements('.class1','class2').length);window.addEvent > > ('resize',sizeScrollContent);Shadowbox.init();}}); > > } > > > the full .js file can be seen at:http://thatbb.com/sara/src/site.js > > with the class being called ".linkimg"......any help would be much > > appreciated
