GraphicPunk
04-04-2003, 04:55 PM
Is there a way to click on a link and have a new "movable layer" created on the same page
|
Click to See Complete Forum and Search --> : create a layer GraphicPunk 04-04-2003, 04:55 PM Is there a way to click on a link and have a new "movable layer" created on the same page khalidali63 04-04-2003, 05:11 PM There are multiple ways to get this done. 1. you can create a layer and make it hidden and when a link is clikced make it visible as well as move it. 2. You can create a layer at run time and make it move able. objref = document.getElementById("layerID"); to make a alyaer visible or hidden objref.style.visibility="visible" to make a alyer move objref.style.left = objref.style.left - 5//horizobtal movement objref.style.top = objref.style.left - 5//vertical movement Hope this helps Cheers Khalid GraphicPunk 04-07-2003, 04:12 PM I im going to have a list of almost 1500 differnt choices, having the layers hiden is not an option. The plan is to have a list of links, when one is clicked a new layer is created with an image specific(named the same as) the link. The layer needs to be movable but does not have to lock down anywhere. I'm just cant figure out a function that will do this. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |