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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tom
Wilcoxen
Sent: Tuesday, June 26, 2001 1:00 PM
To: [EMAIL PROTECTED]
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/

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to