Layer 'srcFilter' Example : Layer : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Layer »

 

Layer 'srcFilter' Example



    
<html>
<head>
<script language="JavaScript">
function function1() {
myLayer.filters[0].Apply();
    if (myLayer.style.visibility == "visible") {
        myLayer.style.visibility = "hidden";
        myLayer.filters.revealTrans.transition = 2;
    else {
        myLayer.style.visibility = "visible";
        myLayer.filters[0].revealTrans.transition = 3;
    }
    myLayer.filters[0].Play();
    var m = window.event.srcFilter;
    alert(m)
}
</script>
</head>
<body bottommargin="150">
<div id="myLayer" style="position:absolute; visibility:visible; 
     Filter:revealTrans(duration=2, transition=3); left:92px; top:257px; width:100px; background-color:#FFFF99;"
    <img src="http://www.navioo.com/style/logo.png" width="99" height="75">
</div>
<input type="button" id="myButton" onClick="function1();" value="Play Transition"
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Layer