Curtain Open

Posted: November 15, 2007 in JavaScript Stuffs
Tags: ,


Heading

Curtian
on Page

Description


JavaScript Open Curtain ;[Like Movie Starts]


Preview

N/A


Code

<html>

<head>

<style>


.fdsqwa{position:absolute;left:0;top:0;layer-background-color:#A996CD;background-color:#A996CD;border:0.2px
solid #A996CD;z-index:23;}

</style>

<title></title>

</head>

<body>

<div id=”fdswqa1″ class=”fdsqwa”></div>

<div id=”fdswqa2″ class=”fdsqwa”></div>

<script language=”javascript”
type=”text/javascript”>

var fdsera=document.layers?1:0;

var fdsrea=document.all?1:0;

FdszXa=24;

var fdsrta=document.getElementById&&!document.all?1:0;

var fdstra=40;

var fdstya=new Array();

Fdszxa=FdszXa+6;

fDszxa=FdszXa+Fdszxa;

fdSzxa=FdszXa+Fdszxa+fDszxa;

fdsZxa=fdSzxa/fDszxa*FdszXa;

fdszXa=fDszxa*FdszXa/12*Fdszxa;

fdszxA=FdszXa+Fdszxa/fdsZxa-16*fdSzxa;

FdsXza=fdszXa*(FdszXa-5)/fDszxa+fdSzxa;

Fdsxza=FdsXza/fdszxA+FdszXa*fDszxa-fdSzxa;

fDsxza=(Fdsxza+FdszXa/fDszxa*fdSzxa+Fdszxa*fdsZxa)/fdszXa+FdsXza-Fdsxza-1;

fdSxza=Math.floor(fDsxza) ;

fdsXza=fdSxza-58;

var fdsyta=new Array();

if (fdsera)

{

for (fdswqa=1; fdswqa<=fdsXza;
fdswqa++)

{

fdstya[fdswqa]=eval(“document.fdswqa”+fdswqa+”.clip”);

fdsyta[fdswqa]=eval(“document.fdswqa”+fdswqa);

fdstya[fdswqa].width=window.innerWidth/fdsXza;

fdstya[fdswqa].height=window.innerHeight;

fdsyta[fdswqa].left=(fdswqa-1)*fdstya[fdswqa].width;

}

}

else if (fdsrea||fdsrta)

{

var fdsyua=fdsrta?window.innerWidth/fdsXza*0.94:document.body.clientWidth/fdsXza,fdsiua=0;

for (fdswqa=1; fdswqa<=fdsXza;
fdswqa++)

{

fdstya[fdswqa]=fdsrta?document.getElementById(“fdswqa”+fdswqa).style:eval(“document.all.fdswqa”+fdswqa+”.style”);

fdstya[fdswqa].width=fdsrta?window.innerWidth/fdsXza*0.96:document.body.clientWidth/fdsXza;

fdstya[fdswqa].height=fdsrta?window.innerHeight-1:
document.body.offsetHeight;

fdstya[fdswqa].left=(fdswqa-1)*parseInt(fdstya[fdswqa].width);

}

}

function fdsuya()

{

window.scrollTo(0,0);

if (fdsera)

{

fdstya[1].right-=fdstra;

fdstya[2].left+=fdstra;

if (fdstya[2].left>window.innerWidth/fdsXza);

clearInterval(fdsuia);

}

else if (fdsrea||fdsrta)

{

fdsyua-=fdstra;

fdstya[1].clip=”rect(0
“+fdsyua+” auto 0)”;

fdsiua+=fdstra;

fdstya[2].clip=”rect(0
auto auto “+fdsiua+”)”;

if (fdsyua<=0)

{

clearInterval(fdsuia);

if (fdsrta)

{


fdstya[1].display=”none”;


fdstya[2].display=”none”;

}

}

}

}

function fdsioa()

{

fdsuia=setInterval(“fdsuya()”,106);

}

fdsioa();

</script>

</body>

</html>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s