<html>
<!-- Text in status bar SAMPLE - 4 -->
<!-- DESCRIPTION: This will make your text bounce in the status bar of the browser.
INSTRUCTIONS: Place this script in the HEAD tags of your webpage. Then place the text you want to be bounced in the area that
says, "YOUR MESSAGE HERE".
FUNCTIONALITY: Works in both Netscape & IE.
-->
<script language="javascript" type="text/javascript">
//Modified by CoffeeCup Software
//This code is Copyright CoffeeCup Software
//all rights reserved. License is granted to a single user to
//reuse this code on a personal or business Web Site.
var yourtext = "* PUT YOUR MESSAGE HERE! *";
var wedge1=" ";
var wedge2=" ";
var message1=wedge1+yourtext+wedge2;
var dir = "lside";
var speed = 50;
function bouncey() {
if (dir == "lside") {
message2=message1.substring(2,message1.length)+" ";
window.status=message2;
setTimeout("bouncey();",speed);
message1=message2;
if (message1.substring(0,1) == "*") {
dir="rside";
}
}
else {
message2=" "+message1.substring(0,message1.length-2);
window.status=message2;
setTimeout("bouncey();",speed);
message1=message2;
if (message1.substring(message1.length-1,message1.length) == "*") {
dir="lside";
}
}
}
// -- End Hiding Here -->
</SCRIPT>
<body onLoad="bouncey()">
</html>
Showing posts with label Netscape. Show all posts
Showing posts with label Netscape. Show all posts
Text in status bar SAMPLE - 3
<html>
<!-- Text in status bar SAMPLE - 3 -->
<!-- Start of Typing Text Script -->
<!-- one letter at a time in the Status bar -->
<!-- Instructions: Just put this script anywhere on your webpage and you will have the typewriter effect on your messages displayed in the tatus bar.
To change the speed of your banner increase or decrease the value for 'var speed'.
(P.S.: decreasing this value increases the speed of your banner.)
To change the pause between each message change the value for 'var pause'. (Note: increase value to increase pause.)
-->
<!-- Script supplied with CoffeeCup HTML Editor -->
<script language="javascript" type="text/javascript">
var speed = 130
var pause = 1003
var timerID = null
var texttype = false
var ar = new Array()
ar[0] = "I love Javascript message 1"
ar[1] = "I love my india message 2!"
ar[2] = "I love HTML message 1"
var msgnow = 0
var offset = 0
function stopBanner() {
if (texttype)
clearTimeout(timerID)
texttype = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[msgnow]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
texttype = true
} else {
offset = 0
msgnow++
if (msgnow == ar.length)
msgnow = 0
timerID = setTimeout("showBanner()", pause)
texttype = true
}
}
</SCRIPT>
</HEAD>
<BODY onLoad="startBanner()">
</BODY>
</HTML>
<!-- END OF SCRIPT -->
<!/SCRIPT>
</html>
<!-- Text in status bar SAMPLE - 3 -->
<!-- Start of Typing Text Script -->
<!-- one letter at a time in the Status bar -->
<!-- Instructions: Just put this script anywhere on your webpage and you will have the typewriter effect on your messages displayed in the tatus bar.
To change the speed of your banner increase or decrease the value for 'var speed'.
(P.S.: decreasing this value increases the speed of your banner.)
To change the pause between each message change the value for 'var pause'. (Note: increase value to increase pause.)
-->
<!-- Script supplied with CoffeeCup HTML Editor -->
<script language="javascript" type="text/javascript">
var speed = 130
var pause = 1003
var timerID = null
var texttype = false
var ar = new Array()
ar[0] = "I love Javascript message 1"
ar[1] = "I love my india message 2!"
ar[2] = "I love HTML message 1"
var msgnow = 0
var offset = 0
function stopBanner() {
if (texttype)
clearTimeout(timerID)
texttype = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[msgnow]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
texttype = true
} else {
offset = 0
msgnow++
if (msgnow == ar.length)
msgnow = 0
timerID = setTimeout("showBanner()", pause)
texttype = true
}
}
</SCRIPT>
</HEAD>
<BODY onLoad="startBanner()">
</BODY>
</HTML>
<!-- END OF SCRIPT -->
<!/SCRIPT>
</html>
Text in status bar SAMPLE - 2
<!-- Text in status bar SAMPLE - 2 -->
<!-- Start of Typing Text Script -->
<!-- This types one letter at a time in the Status bar -->
<!-- Instructions: Just put this script anywhere on your webpage
and you will have the typewriter effect on your messages
displayed in the status bar.
To change the speed of your banner increase or decrease the
value for 'var speed'.
(Note: decreasing this value increases the speed of your banner.)
To change the pause between each message change the value
for 'var pause'.
(Note: increase value to increase pause.)
-->
<!-- Script supplied with CoffeeCup HTML Editor -->
<script language="javascript" type="text/javascript">
var speed = 100
var pause = 1000
var timerID = null
var texttype = false
var ar = new Array()
ar[0] = "This is the Typing Text Javascript"
ar[1] = "CoffeeCup Software is cool!"
ar[2] = "El HTML Editor++ es muy bueno!"
var msgnow = 0
var offset = 0
function stopBanner() {
if (texttype)
clearTimeout(timerID)
texttype = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[msgnow]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
texttype = true
} else {
offset = 0
msgnow++
if (msgnow == ar.length)
msgnow = 0
timerID = setTimeout("showBanner()", pause)
texttype = true
}
}
</SCRIPT>
</HEAD>
<BODY onLoad="startBanner()">
</BODY>
</HTML>
<!-- END OF SCRIPT -->
<!/SCRIPT>
<!-- Start of Typing Text Script -->
<!-- This types one letter at a time in the Status bar -->
<!-- Instructions: Just put this script anywhere on your webpage
and you will have the typewriter effect on your messages
displayed in the status bar.
To change the speed of your banner increase or decrease the
value for 'var speed'.
(Note: decreasing this value increases the speed of your banner.)
To change the pause between each message change the value
for 'var pause'.
(Note: increase value to increase pause.)
-->
<!-- Script supplied with CoffeeCup HTML Editor -->
<script language="javascript" type="text/javascript">
var speed = 100
var pause = 1000
var timerID = null
var texttype = false
var ar = new Array()
ar[0] = "This is the Typing Text Javascript"
ar[1] = "CoffeeCup Software is cool!"
ar[2] = "El HTML Editor++ es muy bueno!"
var msgnow = 0
var offset = 0
function stopBanner() {
if (texttype)
clearTimeout(timerID)
texttype = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[msgnow]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
texttype = true
} else {
offset = 0
msgnow++
if (msgnow == ar.length)
msgnow = 0
timerID = setTimeout("showBanner()", pause)
texttype = true
}
}
</SCRIPT>
</HEAD>
<BODY onLoad="startBanner()">
</BODY>
</HTML>
<!-- END OF SCRIPT -->
<!/SCRIPT>
Subscribe to:
Posts (Atom)