JavaScript Reference/Javascript Properties/srcFilter
"srcFilter" Example
<source lang="javascript">
<html>
<head>
<script language="JavaScript">
function function1() {
Layer1.filters[0].Apply();
if (Layer1.style.visibility == "visible") { Layer1.style.visibility = "hidden"; Layer1.filters.revealTrans.transition = 2; } else { Layer1.style.visibility = "visible"; Layer1.filters[0].revealTrans.transition = 3; } Layer1.filters[0].Play(); var m = window.event.srcFilter; alert(m);
} </script></head> <body bottommargin="150">
<img src="yourimage.gif" width="99" height="75">
<input type="button" id="myButton" onClick="function1();" value="Play Transition"> </body> </html>
</source>
"srcFilter" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |event | +----------------+--------------------------------------------------------------+
</source>
"srcFilter" Syntax and Note
<source lang="javascript">
Note: Read-only property. Specifies the name of the filter that fires the onFilterChange event. Currently, the only supported value of this property is null.
Syntax:
window.event.srcFilter
</source>