From: Doug M. <do...@cr...> - 2003-02-04 18:51:53
|
I can't really tell fomr you code.. (you didn't include enough to be sure) The attached code works just fine. Try attaching you HTML files when you are really lost.. For most of us salty old dogs a simple glance at your code will tell use what we need to tell you to help you on your way.. Remember that you do not need to inlcude your whole damned project.. just the code you are having problems with. PLEASE! use a file attachment.. that way we don't have to search through all of your code to find the question. :-) The two files show two methods.. comments can be found in the files ----- Original Message ----- From: "stephane B" <is...@ne...> To: <dyn...@li...> Sent: Tuesday, February 04, 2003 6:20 AM Subject: [Dynapi-Help] simple question > Hello, > i'm new to dynapi ... wonderful project .... > i have a simple beginner question ... > i ve created a simple layr by this way : > var dlyr = new DynLayer(null,400,200,400,500); > > i can delete it in html code using : > <a href="javascript:DeleteLayer()">Delete layer</a> // fonction to delete > > but i'm wondering how to create a bouton (link) to be able to delete it in > the layer that i ve created .... > > dlyr.setHTML ("<a href="javascript:DelteLayer()">Delete layer</a>"); > doesn't work.... > > what is the good code to this kind of thing .... > > thanks a lot .... > > stephane B > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > |