Showing posts with label Works in IE. Show all posts
Showing posts with label Works in IE. Show all posts

Text in status bar SAMPLE - 4

<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>

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 - 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>

Text in status bar SAMPLE- 1

<!-- Text in status bar SAMPLE- 1 -->
<!-- Start of Status Blinker -->
<!-- This will put a blinking status bar message in your webpage.
    Important:  There are two parts to this script, one goes
    in between the HEAD tags and one goes in the BODY tag.
-->
<script>
var yourwords = "freecodesonly.blogspot.com";
var speed = 300;
var control = 1;
function flash()
{
  if (control == 1)
    {
      window.status=yourwords;
      control=0;
    } 
  else
    {
      window.status="";
      control=1;
    }
  setTimeout("flash()",speed);
}
</script>
<!--You can control the speed of the flashing in this script.
You just need to change the speed number 300. Bigger the number the slower it goes.-->
<!-- From this part on up goes in between the HEAD tags -->


<body onLoad="flash()">

<!-- End of Status Blinker -->

Moving internet explorer window

<!-- Moving internet explorer window -->
 <!-- START CODE Powered javascript code by WWW.javakhafan.7p.COM-->

<meta http-equiv="Content-Language" content="en-us">
<script language="Javascript" type="text/javascript">
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {

parent.moveBy(-i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,-i);
parent.moveBy(i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,i);
         }
      }
   }


}
//  End -->

<!--
shake(1);
//-->
 </SCRIPT>

Text around mouse pointer

<!-- Texts around mouse -->

<!-- START OF Mouse Cursor Text Trailer DHTML -->


<!-- SUMMARY BRIEF

    This DHTML script will make a text message follow
    your cursor around the screen. You can change the
    message to say whatever you want.

    You can change the font face, color and size in
    the .trailersytle tag below. You can change the message
    in the javascript below that. Just look for the
    comment that says "Insert your personal message below."

-->


<!-- Put this portion of the script inside of your <HEAD> tag -->


<style>
.trailerstyle {
    position: absolute;
    visibility: visible;
    top: -50px;
    font-size: 12px;
    font-family: Arial,Helvetica,Verdana;
          font-weight: bold;
    color: #000000;
}
</style>

<script>
<!--

var x,y
var step=20
var flag=0

// Insert your personal message below.
// Important: Do NOT remove the space at the end of the sentence!!!

var message=" YOUR TEXT MESSAGE HERE "
message=message.split("")

var xpos=new Array()
for (i=0;i<=message.length-1;i++) {
    xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=message.length-1;i++) {
    ypos[i]=-50
}

function handlerMM(e){
    x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
    y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
    flag=1
}

function mousetrailer() {
    if (flag==1 && document.all) {
        for (i=message.length-1; i>=1; i--) {
               xpos[i]=xpos[i-1]+step
            ypos[i]=ypos[i-1]
        }
        xpos[0]=x+step
        ypos[0]=y
   
        for (i=0; i<message.length-1; i++) {
            var thisspan = eval("span"+(i)+".style")
            thisspan.posLeft=xpos[i]
            thisspan.posTop=ypos[i]
        }
    }
   
    else if (flag==1 && document.layers) {
        for (i=message.length-1; i>=1; i--) {
               xpos[i]=xpos[i-1]+step
            ypos[i]=ypos[i-1]
        }
        xpos[0]=x+step
        ypos[0]=y
   
        for (i=0; i<message.length-1; i++) {
            var thisspan = eval("document.span"+i)
            thisspan.left=xpos[i]
            thisspan.top=ypos[i]
        }
    }
        var timer=setTimeout("mousetrailer()",30)
}

//-->
</script>


<!-- Put this code inside of your <BODY> tag. -->


<script>
<!--

for (i=0;i<=message.length-1;i++) {
    document.write("<span id='span"+i+"' class='trailerstyle'>")
    document.write(message[i])
    document.write("</span>")
}

if (document.layers){
    document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;

//-->
</script>


<!-- Lastly, insert the following into the <BODY> tag, itself, just like the example that follows. -->


<body onLoad="mousetrailer()" style="width:100%;overflow-x:hidden;overflow-y:scroll">


<!-- END OF Mouse Cursor Text Trailer DHTML -->

Nice text effect (Works in IE)

<!-- Nice text effect -->
<meta http-equiv="Content-Language" content="en-us">
<h2>
<script language="JavaScript1.2">

/*
Neon Lights Text
By JavaScript  (http://learniran.com)
Over 500+ free scripts here!
*/

var message="Welcome to my weblog!"
var neonbasecolor="gray"
var neontextcolor="yellow"
var flashspeed=100  //in milliseconds

///No need to edit below this line/////

var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')

//cache reference to neonlight array
var tempref=document.all.neonlight
}
else
document.write(message)

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
tempref[n].style.color=neontextcolor

if (n<tempref.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}

function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
beginneon()


</script>
</h2>

</body>
</html>