Like this: http://www.richardinfo.f2s.com/dynapi/Richard_Examples/inline_image_simple.h tml Using inline layers, although you have a handle on the layer like this, It only makes a reference to the DIV, most manipulations you can do with a dynlayer will work on an inline layer, but not all. I just found that mouseover, and mouseout don't work in NS6 for inline layers (bug). Of course, you'll find this an exuberant amount of code to do a rollover (click-over), which it is, if you want a rollover just do one in plain javascript. Only go to these lengths if you need more control over the objects, like in this example: http://www.richardinfo.f2s.com/dynapi/Richard_Examples/inline_image_anim.htm l It's the same basic code with a bit of fun thrown in. 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: "xmypoe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 04 June, 2001 13:30 Subject: [Dynapi-Help] dynapi 1 -> dynapi 2 (continued) > > another post here :) > > the imageswapping examples i came across - ALL used the same > setHTML - well, what if i don't want to write anything into layer ? > > how do i init an ordinary <div> into dynlayer ? > > in dynapi 1 i had to end a <div> name with "Div", and it will be then > initialized as a dynlayer. > > any possibility to do it here the very same way ? > > again, i'm talking about nondestructive html/js code > > peace, > x. > > http://xmypoe.com > > > _______________________________________________ > 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
