PAGE 2
NOTE: If any of the codes below begin with */ // --></script> it means that this Advanced Editor (AE ) method must be used with it. In some cases, I have left my own working URLs in the code - merely substitute your URLs for mine.
Get Advanced Editor (AE) directions [Here]
Links to more CC&P code sites [Here]
Back to Page 1 [Here]
Go to Page 3
Blinking Status-Bar Message & Link (Click on the banner to see the link work):
Donated by Little Lad
Scrolling Message in Status-bar Window
See it work [Here] - 1st part goes in <body> tag & 2nd part goes into your <head> area, so use with the AE fix
*/ //-->
On-MouseOver Links (w/ message in status-bar)Example: [Krazy Kounters]
<a href="url of next page"onMouseOver="window.status='text to be displayed in status bar here'; return true"onMouseOut="window.status=''; return true">[Click Here]
Compositing Images Using Tables For Example: My City Councilman (The Crook):NO FLIES ON THIS LAD!
(Yeah! They won't land!)
Alex Padilla, L.A. City Councilman (and CRA Stooge )
Directions are in the code - copy it here:
<table background="/kdine4/ap/scrapbookFiles/importD31.jpg"border="2"width="200"height="296"><img src="/kdine4/gif/scrapbookFiles/importD21.gif"width="100"height="40"alt="flies on Councilman Alex Padilla-#1"> <img src="/kdine4/gif/scrapbookFiles/importD40.gif"width="100"height="40"alt="flies on Councilman Alex Padilla-#2">
Radio-Button Alerts Click the buttons to see exclusive alert window messages:
1:
2:
3:
<form>1: <input type="radio" onClick="alert('Message One')">
2: <input type="radio" onClick="alert('Message Two')">
3: <input type="radio" onClick="alert('Message Three')">
Check-Box Alerts Click the buttons to see exclusive alert window messages:
1.
2:
3:
<form>1. <input type="checkbox"name="check"onClick="alert('Message one')">
2: <input type="checkbox"name="check"onClick="alert('Message two')">
3: <input type="checkbox"name="check"onClick="alert('Message three')">
HELLO POP-UP MESSAGE [Click Here] to see this code in action
<script>{alert("Hello - put your message HERE")}
TEXT ACTIVATED MESSAGE [Click Here] to see this code in action
<script>function a() {alert("PLACE YOUR MESSAGE HERE")} [Click Here]
ALERT MENUSelect an option and click the button to see the alert message:
I'm hungry I'm thirsty I'm sleepy <form><select name="selector"><option value="So eat something">I'm hungry<option value="So drink something">I'm thirsty<option value="So go to bed">I'm sleepy</select> <INPUT TYPE="button"value="Go"onClick="alert(form.selector.options[form.selector.selectedIndex].value)"></FORM>
Javascript Right-Click Block
Used to keep PCs from copying your images
(not 100% secure since they can always source your page to see your image's URL you can also leave them a pop-up alert message.)
[Click Here] to see a better method.
Goes into your <head> area, so use with the AE fix
PASSWORD PROTECT - #1 (scrambled) [Click Here] to see this code in action
(The password is "sprung" )
NOTE: These password codes must be encrypted to protect them from source-viewers, as this one is...source the example page that it's on to see how it's done - (for msntv only, PCs will be locked out entirely) - It must be used with the AE Method:
*/ //--><script language="javascript"> var password=prompt('ENTER THE PASSWORD'); if(password=="sprung"){alert('You have entered the right password!! Welcome')location="/kdine/tools/index.html"}else {alert('BAD PASSWORD: ACCESS DENIED')location="http://community-2.webtv.net/kdine/pass/index.html"} </head>
PASSWORD PROTECT - #2 (scrambled) [Click Here] to see this code in action
(The password is "sprung" )
NOTE: These password codes must be encrypted to protect them from source-viewers, as this one is...source the example page that it's on to see how it's done - It must be used with the AE Method:
*/ //--></script><SCRIPT LANGUAGE="JavaScript">function password() {var testV=1; var pass1=prompt('Please Enter Your Password',''); while (testV < 3) {if (!pass1)history.go(-1); if (pass1=="sprung") {alert('ENTER'); window.open('/kdine/forms/index.html'); break; } testV+=1; var pass1=prompt('Access Denied - Password Incorrect, Please Try Again.','Password');} if (pass1!="password" & testV ==3) history.go(-1);return " ";}<body bgcolor="black"text="silver"><center>
<form>
</form>
Javascript Break-Out of Frames
What's it good for? EXAMPLE: This script is used on this page to break out of frames after taking either of the two Password-Protect demonstrations above. Without this "Break-out" script in this page's <HEAD> you would then return to this page within a frame, which would cause some of the other javascrpts on this page to malfunction.
However, the 2nd Password-Protect script sends the person into an i-frame, and this Break-Out script won't break you out of that.
(Since it goes into the HEAD, It must be used with the AE Method):
*/ //--><SCRIPT> function checkStatus() {page=self.location.href; if (page !=top.location.href) {top.location.href = page; return true; }}</head>
TYPE-WRITER SCRIPT (It must be used with the AE Method):
*/ //--><script>var m="Welcome to Quick Copy Codes...this is an example of typewriter script.............";end=m.length;var counter=0;/* Typewriter: go="" Marquee: go=" " */var go="";function movit(){counter=counter+1;go=go+"";if(counter==32+counter){counter=32+counter;go=""}document.form.input.value=go+m.substring(0,counter);if(counter==end){counter=0;go="";}timr=setTimeout("movit();",200);}</head><body bgcolor="black"text="silver"onLoad="movit()">
<form name="form"><textarea text="ffffff"cols="40"rows="4"borderimage=n bgcolor="black" readonly name="input" nohighlight></textarea> </form>
Courtesy of Art Camm's Useful Codes
Blinking Text (It's actually a Marquee)Ala-Boy's Marquee Builder ToolJaxRed's <Blink> Netscape tag tutorial.cwdjrx's javascript Blinking-link method (easy to use)
Copy it here (for more blinking letters, adjust the "width"):
<marquee behavior="alternate" align="top" direction="right" scrollamount="400" scrolldelay="400" width="11%"> Blink!¡
Get Truly Obnoxious
AND
USE
SEVERAL
MULTIPLE RANDOM MIDIS (Since this script goes into the <HEAD>, it must be used with the AE Method):
*/ // --><script>sngs=new Array("http://d21c.com/dolphinsdream/midis/cantalibre.mid","http://d21c.com/dolphinsdream/midis/comesail2.mid","http://d21c.com/dolphinsdream/midis/wolves.mid","http://d21c.com/dolphinsdream/midis/braveheart.mid");lnsngs=sngs.length;index=Math.round(Math.random()*lnsngs);document.write("");</head> Midis from Dolphin's Dream Linkable Midis
RECENTS JUMP-BUTTON
History
<form name="myHi"><select name="story"width="110"onClick="location.href=this.options[this.selectedIndex].value"><option>History<script>h=history.length;x=h-1;y=1; for(i=0;i'+y+'.'+history[x]);y++}</script></select></form> Posted by RWedge
Javascript PAGE UPDATE
Put this javascript in your page's <body> where you want the message to appear (font tags optional)
Copy it here:
Javascript TIME & DATE
Put this javascript in your page's <body> where you want the clock to appear:
Escati CGI Countdown Clock Countdown to 2003 from Southern California:
<!-------BEGIN COUNTDOWN CODE------->Countdown to 2003 from Southern California: <img src="http://escati.linkopp.net/cgi-bin/countdown.cgi?trgb=000000&srgb=00ff00&prgb=221100&cdt=2003;12;31;24;00;00&timezone=GMT-0800" border=0> ~ Time by Escati ~
Print This Page Print This Page
Click the above link to see this code in action (Don't worry, it won't print by just clicking the link)
<a href="javascript:window.print()">Print This Page
Automatically Updates Copyright Year Copyright © 2001- Your Website Name
Copyright © 2001- Your Website Name
Back to Page 1
Go to Page 3
Spam-Free Kounters