Una menubar che si sposta quando scrolliamo la pagina.
<html> <head> <title>Sticky Menu Bar</title> <script language=javaScript> function setVariables() { if (navigator.appName == "Netscape") { v = ".top="; dS = "document."; sD = ""; y = "window.pageYOffset" } else { v = ".pixelTop="; dS = ""; sD = ".style"; y = "document.body.scrollTop" } } function checkLocation() { object = "object1"; yy = eval(y); eval(dS+object+sD+v+yy); setTimeout("checkLocation()",10) } </script> </HEAD> <body onload="setVariables();checkLocation()" bgcolor="#eeeeee"> <div id="object1" style="position:absolute; visibility:show; left:0px; top:0px; z-index:2"> <table border="0" cellspacing="20" cellpadding="0"> <tr> <td bgcolor=eeeeee><CENTER>Menu Bar</CENTER></td> </tr> <tr> <td><a href="javascript:void(0)" >Menu Item 1</a></td> </tr> <tr> <td><a href="javascript:void(0)" >Menu Item 2</a></td> </tr> <tr> <td><a href="javascript:void(0)" >Menu Item 3</a></td> </tr> <tr> <td><a href="javascript:void(0)" >Menu Item 4</a></td> </tr> </table> </div> <table> <tr><td width=130> <FONT COLOR="#FFFFFF">a</FONT> </td><td> <CENTER> The Main Part of the Page<br> (scroll to see the sticky menu bar) </CENTER> <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. Part way down <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. The End <br>. <br>. <br>. <br>. <br>. <br>. <br>. <br>. </td></tr> </table> </html>
Scarica il Codice...
Script C# per tutte le esigenze: database, sessioni, file, contatori, stringhe, date, e-mail, e tanto altro.
Manuale completo di C# per principianti e non.
Script VB.Net Visual Basic .net: database, sessioni, file, contatori, stringhe, date, e-mail, e tanto altro ancora.
Manuale di SQL con particolare attenzione a T-SQL di Microsoft SQL Server
Tecniche di posizionamento indicizzazione e ottimizzazione dei siti web per nei motori di ricerca
Manuale completo sui CSS per principianti e non.
HTML 5 è un linguaggio di markup utilizzato per la strutturazione e il contenuto delle pagine Web.
CSS 3 è l'ultima evoluzione dei fogli di stile CSS. Contiene molte novità come angoli arrotondati, ombre, sfumature, transizioni o animazioni.
jQuery è una libreria JavaScript cross-platform progettata per semplificare lo scripting lato client.