ed, You can use the inline extension.
There's a short tutorial here: http://dynapi.sourceforge.net/doccenter/index.php?DynLayer%20Advanced Read the second section called 'Inline layers.' Ged. > -----Original Message----- > From: ed [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, April 18, 2002 12:51 AM > To: [EMAIL PROTECTED] > Subject: [Dynapi-Help] layers on the fly, without being positioned > > Hey all. I haven't done anything with dynapi2. I > messed around > a little bit with the original version probably over a > year ago. > Anyways, I always thought it was a pretty cool api so > I thought maybe > I'd try it to solve the problem I now have at hand. > Here's what I'm trying to do. > I am creating a list of links with a perl script. > Each link has 3 radio buttons associated with it, that > will be on the left > side of the link. > Each radio button has a unique color, ie(red, green, > orange). > When the user clicks one of the radio buttons I want > the background > of the link to change to that color. > I've been messing around with dynapi now for less than > an hour, reading > docs and modifying examples that come with the distro. > But the problem > I'm having is I need to create these dynlayers on the > fly, because > I don't know how big my list of links will be, my perl > script figures > all that out. > So when you create a new dynlayer on the fly can you > pass the name > to the function that creates the new layer, > then eval() the name to set it's properties? > Or is there another, better method of handling it? > Also I don't want to have to set the position of the > layer. > I would like the layer to appear where it would on the > page if it were > just another html element. In other words, is there a > way to let the position be > rendered, or figured out by the html like normal? > I remember with the original version you could just > put a div where you wanted > it and then work on it's properties with the api. But > the new version seems > to be completely self contained, as far as I can see. > Does this mean I can't > add my own div on the page and then work on it with > dynapi? > Or may I can but it isn't a good idea to do it that > way? > Here's a screenshot to help you understand what I'm > trying to do, > http://localcityscene.com/misc/dyn_link_screenShot.gif > .. > > tia, > --ed > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help