sorry , i'm so unexperienced with _javascript_ ...
and i've made a strong coding error (it seems) ...
in fact when u use
setHTML("something");
u have to do ...
<a
href=''>hello</a> and not <a
href="">
it cost an error ....
sorry ... so sorry ... :-)
stephane B
----- Original Message -----
Sent: Tuesday, February 04, 2003 10:54
PM
Subject: Re: [Dynapi-Help] simple
question
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" <[EMAIL PROTECTED]> To:
<[EMAIL PROTECTED]> 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="">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="">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 > [EMAIL PROTECTED] >
https://lists.sourceforge.net/lists/listinfo/dynapi-help >
|