Ostatnio dość często ratuję się waszym forum i aż mi głupio znowu prosić o pomoc
No ale cóż. Chcę zastąpić scrollbale takim skryptem, że najeżdża się na napis góra lub dół i wtedy tekst w tabelce się przewija. Chodzi mi o coś takiego jak tu: -->KLIK<--
Próbowałam znaleść skrpyt, który za to odpowiada a mianowicie:
Kod
<scriptlanguage="JavaScript1.2"> if(iens6){ var crossobj1=document.getElementById? document.getElementById("content9"): document.all.content9 var content9height=crossobj1.offsetHeight } elseif(ns4){ var crossobj1=document.nscontainer9.document1.nscontent9 var content9height=crossobj.clip.height } function movedown1(){ if(iens6&&parseInt(crossobj1.style.top)>=(content9height*(-1)+100)) crossobj1.style.top=parseInt(crossobj1.style.top)-speed+"px" elseif(ns4&&crossobj1.top>=(content9height*(-1)+100)) crossobj1.top-=speed movedown1var=setTimeout("movedown1()",30) } function moveup1(){ if(iens6&&parseInt(crossobj1.style.top)<=0) crossobj1.style.top=parseInt(crossobj1.style.top)+speed+"px" elseif(ns4&&crossobj1.top<=0) crossobj1.top+=speed moveup1var=setTimeout("moveup1()",30) } function getcontent9_height(){ if(iens6) content9height=crossobj1.offsetHeight elseif(ns4) document.nscontainer9.document.nscontent9.visibility="show" } window.onload=getcontent9_height </script> </div> </span> </td> <Divstyle= "position: absolute; top:468; left:11; height:20; width:200; overflow: hidden; border: 0px solid #FF4697"> <ahref="#"onMouseover="moveup1()"onMouseout="clearTimeout(moveup1var)"> do góry</a> × <ahref="#"onMouseover="movedown1()"onMouseout="clearTimeout(movedown1var)"> w dół </a> </div> </script>
Ale niestety mi nie działa. Może źle go wkleiłam? Oto kod mojego szablonu:
Kod
<html> <head> <title><tytuł bloga></title> <METAHTTP-EQUIV="Content-type"CONTENT="text/html; charset=iso-8859-2"> <styletype="text/css"> body, p, td {font-family:Georgia; font-size:10px; line-height:14px; color:#000000; cursor:arrow; } A:link {COLOR:#866c8f; HEIGHT: 1px; TEXT-DECORATION: none;} A:visited {COLOR:#866c8f; HEIGHT: 1px; text-decoration: none;} A:active { COLOR:#866c8f; HEIGHT: 1px; TEXT-DECORATION: none;} A:hover {color:#866c8f; height:0; text-decoration: underline; cursor:hand; font-weight: bold} </STYLE> </head> <bodybgcolor="#b88a8d"> <IMGstyle="LEFT:0; POSITION: absolute; TOP:0" src="http://img510.imageshack.us/img510/7391/szablomid7.jpg"border="0"> <divstyle="z-index:0; left:85; visibility: visible; overflow:auto; width:178; position: absolute; top:45; height:430"align="center"> <br><br>Księga<br><br> <ahref="http://{ksywa}.blog.pl/xiega/index.php"> .Patrz. </a><BR> <ahref="http://{ksywa}.blog.pl/xiega/dodaj.php"> .Dopisz. </a><BR><BR><br> <fontsize=2>Archiwum</font><br><br> {archiwum} <br><br><br> <fontsize=2>Linki</font><br><br> {linki} <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <br><br> bla <scriptlanguage="JavaScript1.2"> if(iens6) document.write('</div></div>') </script> <scriptlanguage="JavaScript1.2"> if(iens6){ var crossobj1=document.getElementById? document.getElementById("content9"): document.all.content9 var content9height=crossobj1.offsetHeight } elseif(ns4){ var crossobj1=document.nscontainer9.document1.nscontent9 var content9height=crossobj.clip.height } function movedown1(){ if(iens6&&parseInt(crossobj1.style.top)>=(content9height*(-1)+100)) crossobj1.style.top=parseInt(crossobj1.style.top)-speed+"px" elseif(ns4&&crossobj1.top>=(content9height*(-1)+100)) crossobj1.top-=speed movedown1var=setTimeout("movedown1()",30) } function moveup1(){ if(iens6&&parseInt(crossobj1.style.top)<=0) crossobj1.style.top=parseInt(crossobj1.style.top)+speed+"px" elseif(ns4&&crossobj1.top<=0) crossobj1.top+=speed moveup1var=setTimeout("moveup1()",30) } function getcontent9_height(){ if(iens6) content9height=crossobj1.offsetHeight elseif(ns4) document.nscontainer9.document.nscontent9.visibility="show" } window.onload=getcontent9_height </script> </div> </span> </td> <Divstyle= "position: absolute; top:536; left:115; height:21; width:94; overflow: hidden; border: 0px solid #FF4697"> <ahref="#"onMouseover="moveup1()"onMouseout="clearTimeout(moveup1var)"> do góry</a> × <ahref="#"onMouseover="movedown1()"onMouseout="clearTimeout(movedown1var)"> w dół </a> </div> </script> <BR> <br><br><br> </div> <divstyle="z-index:0; left:397; visibility: visible; overflow:auto; width:258; position: absolute; top:508; height:415"align="center"> <br> {blog} <br><br> </div> </body> </html>
Jeżeli nasze posty pomogły rozwiązać Twoje problemy możesz odwdzięczyć się, udostępniając link do tego forum na swoim blogu, fanpejdżu lub stronie!
Nie zapomnij kliknąćlubię to!na facebooku.
Hallack [Usunięty]
Wysłany:
2007-08-11, 12:32
a czym jest moze jakis taki szablon, ktory jest na tej stronce he he ? adres filmiku
#http://www.xyi.com/paramount/tf_banner_name/index.php#
Nie możesz pisać nowych tematów. Zobacz szczegły. Nie możesz odpowiadać w tematach. Zobacz szczegły. Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach Nie możesz załączać plików na tym forum Nie możesz ściągać załączników na tym forum
ogromna baza motywów WP, podzielona na kategorie tematyczne. Proste, jednostronicowe wizytówki lub zaawansowane układy, także z funkcją sklepu internetowego (ecommerce).