dynlayer event1 56YNYARJVPBHMQFNQPFD2HI4AHYL3E75XU6SGJY



The Dynamic Duo - The Dynamic Layer Object API [Events Demo 1]



is.ns = (document.layers)? true:false
is.ie = (document.all)? true:false

function init() {
mylayer = new DynLayer("mylayerDiv")
if (is.ns) mylayer.elm.captureEvents(Event.MOUSEDOWN)
mylayer.elm.onmousedown = new Function ("mouseDownHandler('mylayerDiv')")
}

function mouseDownHandler(layer) {
status = "You clicked "+layer
setTimeout('status=""',1000)
}











Click the layer and view the results in the status bar (alerts cause problems in Netscape)




Wyszukiwarka

Podobne podstrony:
dynlayer methods
dynlayer initialization1
dynlayer clip1
dynlayer clip
dynlayer properties1
dynlayerext
dynlayer event
dynlayer properties
dynlayerext howto
dynlayer initialization
dynlayer initialization2
dynlayer slide1
dynlayer functions

więcej podobnych podstron