what is this script ?

Discussion in 'Scripts' started by Kerunai, Nov 18, 2007.

  1. #1
    <SCRIPT>
    <!--
    function scrollit(seed) {
    var m1 = "Welcome to Turn Key Hedge Funds, Inc. ....";
    var m2 = " ";
    var m3 = "The Ultimate Source for Starting a Hedge Fund ....";
    var m4 = "Registration, Compliance, Regulation and Administration ....";
    var msg=m1+m2+m3+m4;
    var out = " ";
    var c = 1;
    if (seed > 100) {
    seed--;
    cmd="scrollit("+seed+")";
    timerTwo=window.setTimeout(cmd,100);
    }
    else if (seed <= 100 && seed > 0) {
    for (c=0 ; c < seed ; c++) {
    out+=" ";
    }
    out+=msg;
    seed--;
    window.status=out;
    cmd="scrollit("+seed+")";
    timerTwo=window.setTimeout(cmd,100);
    }
    else if (seed <= 0) {
    if (-seed < msg.length) {
    out+=msg.substring(-seed,msg.length);
    seed--;
    window.status=out;
    cmd="scrollit("+seed+")";
    timerTwo=window.setTimeout(cmd,100);
    }
    else {
    window.status=" ";
    timerTwo=window.setTimeout("scrollit(100)",75);
    }
    }
    }
    //-->
    </SCRIPT>


    thanks lol ..
     
    Kerunai, Nov 18, 2007 IP
  2. redlorry919

    redlorry919 Peon

    Messages:
    384
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Looks like a javascript news scroller...
     
    redlorry919, Nov 20, 2007 IP
  3. HPA

    HPA Notable Member

    Messages:
    1,335
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    205
    #3
    It a hover news script, meaning that it will do some funtionality, on mouse hover.

    Sorry, but I'm not an expert in java department, I am only familiar with basics.
     
    HPA, Nov 21, 2007 IP
  4. whitelion

    whitelion Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    where did you found it?
     
    whitelion, Nov 30, 2007 IP