Homepage
Webmaster
Java/Html
Tools
Downloads
Tips
Content
Scam Page
Articles
Site Submission
Games
Music
Just cut & paste the code in the box below and add it to your website.
Using Windows:
Press the left mouse button.
Move the mouse over the text-box which contains the code you need.
Hold Ctrl key and press A
All text in the text-box should now be highlighted.
to cut:hold ctrl key & press X
to paste:hold ctrl key & press V
Refresh your webpage every (60) seconds
or change to (90) or(120)
No Right Click
<head>
<script LANGUAGE="JavaScript">
function click() {
if (event.button==2) {
alert('How are you today?');
}
}
document.onmousedown=click
// -->
</script>
</head>
Two codes for your marquee applies to Internet Explorer
and will not work in Netscape.
BASIC MARQUEE
BACKROUND COLOR MARQUEE _______change (pink) to any color
BASIC MARQUEE
<marquee>text here</marquee>
BACKROUND COLOR MARQUEE
<marquee bgcolor=pink>text here</marquee>
Use this code so your visitors can print the page
<a href="javascript:window.print()">Print This Page</a>
Popup Window
<SCRIPT language="JavaScript">
<!--
window.open('http://your URL here');
// -->
</SCRIPT>
Open a Web Page in a New Window
<a href="http://your URL" target="_blank">add text here</a>
A simple button to link instead of a text link
<form method="post" action="your URL here"><input type="submit" value="button text here"></form>
Code to change links to red on mouse over
<head>
<style type="text/css">
<!--
A:hover {color:red}
-->
</style>
</head>
RAINBOW TEXT
This text animation script gently fades a header using the colors of the rainbow. Works in both IE4+ and NS6+, and degrades well with other browsers.
Copy the code in the box below.
Rainbow Text
<b>
<font size="5">
<script>
/*
RAINBOW TEXT Script by Matt Hedgecoe (c) 2002
Featured on JavaScript Kit
For this script, visit http://www.javascriptkit.com
*/
// ********** MAKE YOUR CHANGES HERE
<!--------Remove "Rainbow Text" and replace with your own words---->
var text="Rainbow Text" //
var speed=80 // SPEED OF FADE
// ********** LEAVE THE NEXT BIT ALONE!
if (document.all||document.getElementById){
document.write('<span id="highlight">' + text + '</span>')
var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
}
else
document.write(text)
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",speed)
}
starteffect()
</script>
</font></b>
This attention craving text contains letters that constantly nudge one another. The effect is visible in both IE4+ and NS6.
Simply paste the below code where you wish the text to appear on your page:
H e y s t o p n u d g i n g m e !
<script language="JavaScript1.2">
/*
Nudging text by Matthias (info@freejavascripts.f2s.com)
Modified by Dynamic Drive to function in NS6
For this script and more, visit http://www.dynamicdrive.com
*/
//configure message
message="JUST ADD YOUR MESSAGE HERE THAT'S IT "
//animate text in NS6? (0 will turn it off)
ns6switch=1
var ns6=document.getElementById&&!document.all
mes=new Array();
mes[0]=-1;
mes[1]=-4;
mes[2]=-7;mes[3]=-10;
mes[4]=-7;
mes[5]=-4;
mes[6]=-1;
num=0;
num2=0;
txt="";
function jump0(){
if (ns6&&!ns6switch){
jump.innerHTML=message
return
}
if(message.length > 6){
for(i=0; i != message.length;i++){
txt=txt+"<span style='position:relative;' id='n"+i+"'>"+message.charAt(i)+"</span>"};
jump.innerHTML=txt;
txt="";
jump1a()
}
else{
alert("Your message is to short")
}
}
function jump1a(){
nfinal=(document.getElementById)? document.getElementById("n0") : document.all.n0
nfinal.style.left=-num2;
if(num2 != 9){
num2=num2+3;
setTimeout("jump1a()",50)
}
else{
jump1b()
}
}
function jump1b(){
nfinal.style.left=-num2;
if(num2 != 0){num2=num2-3;
setTimeout("jump1b()",50)
}
else{
jump2()
}
}
function jump2(){
txt="";
for(i=0;i != message.length;i++){
if(i+num > -1 && i+num < 7){
txt=txt+"<span style='position:relative;top:"+mes[i+num]+"'>"+message.charAt(i)+"</span>"
}
else{txt=txt+"<span>"+message.charAt(i)+"</span>"}
}
jump.innerHTML=txt;
txt="";
if(num != (-message.length)){
num--;
setTimeout("jump2()",50)}
else{num=0;
setTimeout("jump0()",50)}}
</script>
</head>
<body>
<h2><div id="jumpx" style="color:red"></div></h2>
<script>
if (document.all||document.getElementById){
jump=(document.getElementById)? document.getElementById("jumpx") : document.all.jumpx
jump0()
}
else
document.write(message)
</script>
Today's date is Thursday, April 10, 2025.
Use this code snippet to display today's date on your web page
Place the code below between the <BODY> and </BODY> tags within the HTML page where you want the date to appear.
<SCRIPT LANGUAGE="Javascript"><!--
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
// Get today's current date.
var now = new Date();
// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
// Calculate four digit year.
function fourdigits(number) {
return (number < 1000) ? number + 1900 : number;
}
// Join it all together
today = days[now.getDay()] + ", " +
months[now.getMonth()] + " " +
date + ", " +
(fourdigits(now.getYear())) ;
// Print out the data.
document.write("Today\'s date is " +today+ ".");
//--></SCRIPT>
Use this code to display the clock on your web page
Just cut & paste don't change anything
Place the code below between the <BODY> and </BODY> tags within the HTML page where you want the clock to appear.
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Michael Tartaglia <stonedstan@hotmail.com> -->
<!-- Web Site: http://www.geocities.com/SiliconValley/Horizon/5235 -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
day = new Date();
miVisit = day.getTime();
function clock() {
dayTwo = new Date();
hrNow = dayTwo.getHours();
mnNow = dayTwo.getMinutes();
scNow = dayTwo.getSeconds();
miNow = dayTwo.getTime();
if (hrNow == 0) {
hour = 12;
ap = " AM";
} else if(hrNow <= 11) {
ap = " AM";
hour = hrNow;
} else if(hrNow == 12) {
ap = " PM";
hour = 12;
} else if (hrNow >= 13) {
hour = (hrNow - 12);
ap = " PM";
}
if (hrNow >= 13) {
hour = hrNow - 12;
}
if (mnNow <= 9) {
min = "0" + mnNow;
}
else (min = mnNow)
if (scNow <= 9) {
secs = "0" + scNow;
} else {
secs = scNow;
}
time = hour + ":" + min + ":" + secs + ap;
document.form.button.value = time;
self.status = time;
setTimeout('clock()', 1000);
}
function timeInfo() {
milliSince = miNow;
milliNow = miNow - miVisit;
secsVisit = Math.round(milliNow / 1000);
minsVisit = Math.round((milliNow / 1000) / 60);
alert("There have been " + milliSince + " milliseconds since midnight, January 1, 1970. "
+ "You have spent " + milliNow + " of those milliseconds on this page. "
+ ".... About " + minsVisit + " minutes, and "
+ secsVisit + " seconds.");
}
document.write("<form name=\"form\">"
+ "<input type=button value=\"Click for info!\""
+ " name=button onClick=\"timeInfo()\"></form>");
onError = null;
clock();
// End -->
</SCRIPT>
<!-- Script Size: 1.72 KB -->
Did you use a script from this page?
Please give something back by linking to us.
We appreciate webmasters linking back.
To link to us, just cut the ad in the box below and paste it on your website. Thanks for your support!
<b>Free cut & paste scripts for your website.</b>
<a href="https://topmaxinfo.tripod.com/cutpaste.html
"target="_blank">
<small><small> Click Here</small></small></a>