ابتدا کد زیر را بعد از تگ head/ قرار دهید
کد:
<script><!--var winheight=100var winsize=100var x=5/*visit javascriptkit.net*/function openwindow(thelocation){temploc=thelocationif (!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById)){window.open(thelocation)return}win2=window.open("","","scrollbars")win2.moveTo(0,0)win2.resizeTo(100,100)go2()}function go2(){if (winheight>=screen.availHeight-3)x=0win2.resizeBy(5,x)winheight+=5winsize+=5if (winsize>=screen.width-5){win2.location=templocwinheight=100winsize=100x=5return}setTimeout("go2()",50)}//--></script>سپس این کد را در محلی که دوست دارید نمایش داده شود<a href="javascript:openwindow('http://gazvin1.blogfa.com')" style="text-decoration:none">webmastr.rozfa-اینجا کلیک کنید</a>