filters:revealTrans

liunx

Guest
can someone make this work please :)

.pimg{filters:revealTrans.transition = (Duration='1',Transition='2');
filters:revealTrans.Apply();
filters:revealTrans.Play();
visibility:visible;
width:100;
height:100;}Well, first of all: what are you trying to do? Secondly: Is your entire audience using IE6? If not, using any variant of the code supplied, this won't work.i want to hide a div or make a div visible in a IE fancy way :)
like a div that shaters away i already saw it in action in a complicated script and what it all comes down to is this

filters:revealTrans.transition = (Duration='1',Transition='2');
filters:revealTrans.Apply();
filters:revealTrans.Play();

i just dont know how to use it<html>
<body>
<script>
function showWindow() {
if (document.all.window.filters.revealTrans.status == 0){
document.all.window.filters.revealTrans.transition = 10;
document.all.window.filters.revealTrans.Apply();
document.all.window.style.visibility = 'visible';
document.all.window.filters.revealTrans.Play();}else{
document.all.window.style.visibility = 'visible';}
};

function hideWindow() {
if (document.all.window.filters.revealTrans.status == 0){
document.all.window.filters.revealTrans.transition = 10;
document.all.window.filters.revealTrans.Apply();
document.all.window.style.visibility = 'hidden';
document.all.window.filters.revealTrans.Play();}else{
document.all.window.style.visibility = 'hidden';}
}

showWindow;
hideWindow;
</script>

<div id=window style="position:absolute; width:0px; height:0px; z-index:1; left:0px; top:0px; visibility:hidden; filter:revealTrans(Duration='1' , Transition='10');">
<p>blalbalbalbalblablablablablablablablablablablablablablablablablablab</p>
</div>

</body>
</html>


this is the best i can think of can some one help me please.
 
Back
Top