By The Name Of God
First Put This Code In Your Index.php
PHP Code:
<SCRIPT language=Javascript>//By MTH
var obj=document.getElementById("DetailText");//By MTH
var h=obj.getElementsByTagName("IMG");//By MTH
for(i=0;i<h.length;i++){ if(h[i].width>660) h[i].width=660; }//By MTH
</SCRIPT>//By MTH
<script type="text/javascript">//By MTH
document.write('<style type="text/css">#slide_up { overflow: hidden; display: block; width: 200px; height: 150px; z-index: 10000; position: absolute; bottom: 0px; right: 2px;}</style>');document.write('<div id="slide_up"><iframe id="su_frame" src="vote1.php" width="200" height="150" scrolling="no" frameborder="no" allowtransparency="true" marginheight="0" marginwidth="0"></iframe></div>');window.onload = document.onload = window.onscroll = document.onscroll = function() {var tmpdiv = document.getElementById("slide_up");if (tmpdiv) {var h = window.innerHeight ? window.innerHeight : (document.documentElement.clientHeight == 0 ? document.body.clientHeight : document.documentElement.clientHeight);var s = window.pageYOffset ? window.pageYOffset : (document.documentElement.scrollTop == 0 ? document.body.scrollTop : document.documentElement.scrollTop);tmpdiv.style.top = s + (h - tmpdiv.clientHeight) + "px";}};//By MTH
//By MTH
</script>//By MTH
PHP Code:
C:\AppServ\www