باز کننده صفحه
این کد جالب این امکان رو به شما میده که صفحه شما از کوچک به بزرگ باز میشود .
کد جالبیه و به امتحانش می ارزه و برای صفحاتی که پاپ آپ به درد میخوره .
<title>www.iransohrab.ir!</title><br /> <style Type=Text/CSS><br /> <!--<br /> .Close {<br /> font-family: "Trebuchet MS";<br /> font-size: 18px;<br /> font-weight: bold;<br /> color: #FFFF00;<br /> }<br /> A:Link {color:#FFFF00;text-decoration: none;}<br /> A:Visited {color:#FFFF00;text-decoration: none;}<br /> A:Active {color:#FFFF00;text-decoration: none;}<br /> A:Hover {color:#FFFFFF;text-decoration: underline;}<br /> --><br /> </style><br /> <script language="JavaScript" type="text/JavaScript"><br /> <!--<br /> function TB_animateWindow(windowWidth,windowHeight,targetWidth,targetHeight,widthMod,heightMod,fullScreen)<br /> {<br /> // www.iransohrab.ir<br /> // www.iransohrab.ir</p> <p> if (fullScreen)<br /> {<br /> targetWidth = screen.availWidth;<br /> targetHeight = screen.availHeight;<br /> }</p> <p> if (windowWidth < targetWidth) windowWidth += widthMod;<br /> if (windowHeight < targetHeight) windowHeight += heightMod;</p> <p> windowLeft = (screen.availWidth / 2) - (windowWidth / 2);<br /> windowTop = (screen.availHeight / 2) - (windowHeight / 2);</p> <p> top.window.resizeTo(windowWidth,windowHeight);<br /> top.window.moveTo(windowLeft,windowTop);</p> <p> if (windowWidth < targetWidth || windowHeight < targetHeight)<br /> setTimeout('TB_animateWindow(' + windowWidth + ', ' + windowHeight + ', ' + targetWidth + ', ' + targetHeight + ', ' + widthMod + ', ' + heightMod + ', ' + fullScreen + ');',10);<br /> }<br /> //--><br /> </script><br /> </head></p> <p><body bgcolor=#C0C0C0 onLoad="TB_animateWindow(700,300,0,0,20,20,true)" link="#FFFFFF"></p> <p> <script language=JavaScript><br /> function disableIE() {if (document.all) {return false;}<br /> }<br /> function disableNS(e) {<br /> if (document.layers||(document.getElementById&&!document.all)) {<br /> if (e.which==2||e.which==3) {return false;}<br /> }<br /> }<br /> if (document.layers) {<br /> document.captureEvents(Event.MOUSEDOWN);document.onmousedown=disableNS;<br /> } else {<br /> document.onmouseup=disableNS;document.oncontextmenu=disableIE;<br /> }<br /> document.oncontextmenu=new Function("return false")<br /> </script>