From: stephane B <is...@ne...> - 2003-02-04 14:11:37
|
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 |