This part isn't entirely clear:
> so one can get copys of the on the DynLayer
> by mouseclicks.

You can show an image on  a DynLayer either by setting it as background
image:
     myLayer.setBgImage('blah.gif')

Or by writing it as an html string:
     myLayer.setHTML('<img src=blah.gif >')

Using the second method you can also nest <div>s with several images in the
layer.
If you want to change the image' source on the fly, you can reference it
like this:
     myLayer.doc.images[0].src='blah2.html'

Cheers,
Richard Bennett

[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to DynAPI2.53)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 05 June, 2001 04:05
Subject: [Dynapi-Help] Nesting Images


> Hi
> How to nest copys of a image on a DynLayer
> so one can get copys of the on the DynLayer
> by mouseclicks.
> I want to use a gif-image.
> Very thankfull for tip or advice.
> Sincerely
> Urban Avierfj�rd
> ICQ#69907743
> Homepage http://w1.201.telia.com/~u20100003
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>


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

Reply via email to