
gre dork
Senior Member

Dec 23, 2005, 2:59 AM
Post #1 of 9
(798 views)
Shortcut
|
HTML tools
|
Can't Post
|
|
SCROLL BAR CHANGING COLORS: <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <script language=javascript> /*---------------[IE 5.5 Scrollbars colorer]--------------------*/ function scrollBar(line,face,theme) { if (!line||!face) { line=null; face=null; switch(theme) // Predefined themes { case "blue": var line="#000000"; var face="#EBF5FF"; break; case "orange": var line="#78AAFF"; var face="#EBF5FF"; break; case "red": var line="#FF7979"; var face="#FFE3DD"; break; case "green": var line="#00C600"; var face="#D1EED0"; break; case "neo": var line="#000000"; var face="#DEDFE2"; break; } } with(document.body.style) { scrollbarDarkShadowColor=line; scrollbar3dLightColor=line; scrollbarArrowColor="black"; scrollbarBaseColor=face; scrollbarFaceColor=face; scrollbarHighlightColor=face; scrollbarShadowColor=face; scrollbarTrackColor="#999999"; } } /*------------------[Pointer coordinates catcher]---------------*/ function colorBar(){ var w = document.body.clientWidth; var h = document.body.clientHeight; var x = event.clientX; var y = event.clientY; if(x>w) scrollBar('#000000','#B4B3B3'); // Your colors else scrollBar(null,null,"neo"); // A predefined theme } if (document.all){ scrollBar(null,null,"neo"); document.onmousemove=colorBar; } //--> </script> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </body> </html> CLOCK <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Scripts Olhe a sua barra de Status</title> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Author" CONTENT="Júnior"> <META NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0"> <SCRIPT LANGUAGE="JavaScript"> <!-- //The Web's Best: Status Bar Clock // Created and Copyright (c) 1997 Brian Powell. All rights reserved. // http://www.bright.net/~jasrpfam/webdesign/ //You may use and change this script if you retain all of this header. function updatingClock() { jstime = new Date() hours = jstime.getHours() if (hours == 12){ampm="pm"} if (hours > 12){ampm="am" hours = hours-12} if (hours < 12){ampm="pm"} if (hours == 0){hours=12 ampm="am"} minutes = jstime.getMinutes() if (minutes<10){minpre = "0" minpre +=minutes minutes=minpre} seconds = jstime.getSeconds() if (seconds<10){secpre = "0" secpre +=seconds seconds=secpre} timestring = "A hora exata é... - " timestring +=hours timestring +=":" timestring +=minutes timestring +=":" timestring +=seconds timestring +=ampm window.status = timestring timerID=setTimeout("updatingClock()",1000); } //--> </SCRIPT> </head> <body TEXT="#FFFFFF" BGCOLOR="#000000" LINK="#FF0000" VLINK="#FF0000" ALINK="#FF0000" onLoad="updatingClock()"> <CENTER><FONT SIZE=+4>Scripts</FONT></CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> Olhe a sua barra de Status!</CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> <CENTER> </CENTER> </BODY> </HTML> WITH THE COMANDS BELOW, PPL ARE UNABLE TO COPY YOUR WEB SITE'S CONTENT: <title>JavaSite - JavaScripts</title> </head> <body> <script language="JavaScript"><!-- function verfonte() { if (event.button==2) { window.alert('Direitos negados.\n\nClique em Ok, para continuar.') } } document.onmousedown=verfonte // --></script> <p align="center"><small><small><font face="MS Sans Serif"><strong></strong></font></small></small></p> </body> </html> That's it, hope you enjoin!
"Visa is just a credit card company, retard. " - TazG, on visas.
|