'filters' Example : filters : Javascript Collections JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Collections » filters »

 

'filters' Example



    
<html>
<head>
<script language="JavaScript">
function applyFilter(){
    myDiv.style.filter = "progid:DXImageTransform.Microsoft.shadow() 
    progid:DXImageTransform.Microsoft.motionblur();"
    myDiv.filters.item('DXImageTransform.Microsoft.shadow').direction=4
    alert(document.all.myDiv.filters.length)

</script>
</head>
<body>
<img id="myDiv" src="http://www.navioo.com/style/logo.png">
<br>
<br>
<br>
<br>
<button onclick="applyFilter();">Apply Filter</button>
</body>
</html>

    
      
      



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Collections
» filters