Please see below:

--- Stephane Boireau <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Le Mercredi 2 Avril 2003 16:09, Raymond Irving a
> écrit :
> > --- Stephane Boireau <[EMAIL PROTECTED]>
> wrote:
> > > Hi,
> > >
> > > Is it possible to set a layer draggable enven if
> it
> > > was not created the way
> > > shown in examples:
> > >   LayerTest=this.document.addChild(new
> > > DynLayer(null,300,300,300,100,'silver'))
> > >   DragEvent.enableDragEvents(LayerTest)
> > >
> > > I have got layers like that:
> > > <div id="Layer1Div" style="position:absolute;
> > > left:583px; top:30px;
> > > width:43px; height:21px; background-color:white;
> > > layer-background-color:white; border: 1px solid
> > > black;">Alsace</div>
> > > <div id="Layer2Div" style="position:absolute;
> > > left:649px; top:41px;
> > > width:61px; height:22px; background-color:white;
> > > layer-background-color:white; border: 1px solid
> > > black;">Aquitaine</div>
> > > ...
> > >
> > > And I want them to be draggable.
> > >
> > > Is it possible?
> > >
> > > How?
> >
> > What version are you using (2.5.x or 2.9)?
> >
> > If you're using 2.5.x I think you'll have to use
> > setID() to the id of the layer to Layer1Div
> 
> It's the version I use.
> 
> I don't understand how...
> 
> Could you tell me more about it?
> Something like "setId(parameters?)" with my
> examples?
> 
> Is there a good tutorial about that?

Well, I really don't remember much about 2.5.x but I
think you can take a look at the dynapi.ext.inline.htm
example inside the examples folder. Or you could take
a look at the attached file.

--
Raymond Irving
 
> Thank you very much.
> -- 
> Stephane


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

Attachment: dynapi.ext.inline.zip
Description: dynapi.ext.inline.zip

Reply via email to