From: Tom W. <tom...@ya...> - 2001-06-26 21:15:24
|
Sorry, I wasn't very clear. I have a menu widget that I'll use to create any number of menus on the page. Each has a layer on it that has html placed with setHTML. So I'll have about 7 of these menus/layers and I don't know how to tell which one called the rollover function. -Tom --- Digital Strider <dst...@or...> wrote: > layer1 is layer1. Not sure what your up too, human minds have a way > of > forging their own unique trails. > > Basically you set up layer1 and use either setHTML or the DynImage > extensions to set the first image. Then any following image changes > will be > done via an eventhandler that triggers layer1.setHTML (image HTML and > SRC > information). > > You could also use setBgImage() but it has forces a full server > reload on > each trigger so setHTML is cleaner (IE less timedials).. > > Laters > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Tom > Wilcoxen > Sent: Tuesday, June 26, 2001 1:00 PM > To: dyn...@li... > Subject: [Dynapi-Help] How to get the id of the current layer? > > > I'm want to use this for an image swap: > > layer1.doc.images['someimg'].src = > > but I don't know what the value for 'layer1' will be in advance. Is > there a way to find out? > > Thanks, > Tom __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ |