anyone can modify this script so it can use 2 filters when HIDDEN process? <SCRIPT> function fnSetChecker() { oDiv.filters[0].Apply(); oDiv.style.visibility='hidden' oDiv.filters[0].play(); ooDiv.filters[0].Apply(); ooDiv.style.visibility='hidden' ooDiv.filters[0].play(); } function fnSetChecker2() { oDiv.filters[0].Apply(); oDiv.style.visibility='visible' oDiv.filters[0].play(); ooDiv.filters[0].Apply(); ooDiv.style.visibility='visible' ooDiv.filters[0].play(); } </SCRIPT> <BUTTON onclick="fnSetChecker(); ">Get Checked Display</BUTTON><BR/><BR/> <BUTTON onclick="fnSetChecker2(); ">Get Checked Display2</BUTTON><BR/><BR/> <DIV ID="oDiv" STYLE="height:250px; width:250px; background-color: black; filterrogidXImageTransform.Microsoft.checkerboard(duration=2) progidXImageTransform.Microsoft.Alpha(opacity=100);"> <DIV ID="ooDiv" STYLE="height:150px; width:150px; background-color: yellow; filterrogidXImageTransform.Microsoft.fade(duration=2) progidXImageTransform.Microsoft.Alpha(opacity=100);"> </DIV> </DIV>
anybody understand my question? please run that script and look at the yellow box in black box. when we hide that boxes, the yellow box only have one filter (from black box filter)..... why? how to make it two? but when we show them up, the yellow box have two filter (1 from black box filter, 1 from it self....FADING)....see? now....anybody know the answer?
I really tried the script and also tried to understand what you want, but please explain more. What are you trying to get from it? Also, this script is IE only, will not work in any other browser. Do you do think it really worth the work?. Maybe if you clearly explain what you need someone ends up helping you.
first of all....please run the script on IE. see a yellow box in a black box? then click the first button (top one) and watch the yellow box disappear. the yellow box (and black box too) will disappear using 1 filter (checker board). see? only 1 filter is running........ now click the second button (bottom one) and watch the yellow box appear. this time...the yellow box using 2 filters (checker board and fade).....see? now the problem is......how to make the yellow box use 2 filters when it disappear?