Shared web hosting - 896 Part III . Document Objects Reference Listing
Wednesday, February 20th, 2008896 Part III . Document Objects Reference Listing 31-21 (continued) if (targElem.className == draggable ) { while (targElem.id != myLayer && targElem.parentNode) { targElem = targElem.parentNode } if (engaged && targElem.id == myLayer ) { engaged = false } } }
Dragging a Layer
Drag me around the window.