Results 1 to 6 of 6

Thread: hide url in status bar

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539

    Talking

    in all my asp pages, i want to hide the url so that it doesnt show up in the status bar

    snippet of could would be great thank you

  2. #2
    Guest
    Look at the source of a Warez page!!! Lol

    Erm...use some javascript to put a different string in the status bar of the browser when the mouse hovers over the like...think it's something like:

    <a href="http://www.mralston.co.uk" onmouseenter="javascript:window.status=('MRHP')">MRHP</a>

    It might not be onmouseenter tho...might be onmouseover or summit.

    Oh, yeah...an if when the mouse rolls over the link the whole page suddenly says something like [object] then you should put it in a proper javascript function and use a variable to accept the return value from window.status().

    Better still...Look at the source of a Warez page!!!

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    do you have one in perticular that i can look at?

    about the java thing
    that wont work hehe
    i dont want to edit all my link tags (WAY to many of them)
    so i was looking for a quick fix

  4. #4
    <a CLASS="MenuText" HREF="Contact.asp" onmouseout="window.status='Done';return true" onmouseover="window.status='Contact Information';return true" TITLE="Contact Information">Contact</a>

    Wham Bam Thank you man
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=
    *Morgan Cellular Technologies
    [email protected]
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=

  5. #5

    Uhh

    To avoid confusion, you don't need that <a class=Menutext part, you're just looking for the onmouseover and onmouseout
    and there's a nifty event too - onmousemove
    you can make some pretty screwed up stuff happen in the status bar with that one.

  6. #6
    Guest
    There are a few things you can do.

    1. Keep the time/date on the status bar

    Code:
    <html>
    <head>
    <SCRIPT>
    // This function displays the time in the status line.
    // Invoke it once to activate the clock; it will call itself from then on.
    function display_time_in_status_line()
    {
    var d = new Date();                 // month day, year hours:minutes:seconds
    var y =  d.getYear();              // get current year
    var h = d.getHours();              // extract hours: 0 to 23
    var m = d.getMinutes();            // extract minutes: 0 to 59
    var s = d.getSeconds();            // extract seconds: 0 to 59
    var mo = d.getMonth() + 1;             // extract months: January to December                  
    var da = d.getDate();              // extract days: 1 to 31
    var ampm = (h >= 12)?"PM":"AM";    // is it am or pm?
    if (h > 12) h -= 12;                // convert 24-hour format to 12-hour
    if (h == 0) h = 12;                // convert 0 o'clock to midnight
    if (m < 10) m = "0" + m;           // convert 0 minutes to 00 minutes, etc.
    var t = mo + '/' + da + '/' + y + ' ' + h + ':' + m +  ':' + s + ' ' + ampm;   // put it all together
    
    defaultStatus = t;                 // display it in the status line
    // arrange to do it again in 1 second.
    setTimeout("display_time_in_status_line()", 1000); // 1000 ms in 1 second
    }
    </SCRIPT>
    
    </head>
    
    <body onLoad="display_time_in_status_line();">
    </body></html>

    2. Keep scroll/shooting words continuously on the status bar

    Code:
    <html><head><script language="JavaScript">
    <!--
    
    // You may edit the message below.
    var startMsg = "Tripod rocks!    ";
    
    var str     = "";
    var msg     = "";
    var leftMsg = "";
    
    
    function setMessage()
    {
        if (msg == "")
        {
            str = " ";
            msg = startMsg;
            leftMsg = "";
        }
    
        if (str.length == 1)
        {
            while (msg.substring(0, 1) == " ")
            {
                leftMsg = leftMsg + str;
                str = msg.substring(0, 1);
                msg = msg.substring(1, msg.length);
            }
    
            leftMsg = leftMsg + str;
            str = msg.substring(0, 1);
            msg = msg.substring(1, msg.length);
    
            for (var ii = 0; ii < 120; ii++)
            {
               str = " " + str;
            }
        }
        else
            str = str.substring(10, str.length);
    
        window.status = leftMsg + str;
    // This editable value (1000 = 1 second) 
    // corresponds to the speed of the shooting
    // message.
        timeout = window.setTimeout('setMessage()',100);
    
    }
    // -->
    </script>
    </head>
    <!--Update the BODY tag for the timer function.-->
    
    <!-- You may edit the BODY color. -->
    <body bgcolor="ffffff" onload="timeout = window.setTimeout('setMessage()',500);">
    </body></html>

    3. Continously scroll words on the status bar

    Code:
    <html><head>
    <script language="JavaScript">
    
    <!--
    // You may edit the message below.
    var statBarMsg = "This message appears in the status bar ..... " +
                     "It will repeat continuously while the page is viewed ....." +
                   
                     "good, right?    " ;
    
    function startStatusScroller()
    {
        window.status = statBarMsg;
        statBarMsg = statBarMsg.substring(1, statBarMsg.length) + statBarMsg.substring(0, 1)
        setTimeout("startStatusScroller()", 150)
    }
    //-->
    </SCRIPT>
    </head>
    
    <body onLoad="startStatusScroller();">
    </body></html>

    4. Keeps words on status bar no matter what

    Code:
    <html><head>
    <script language="JavaScript">
    
    var boodschap = 'Status bar Text'; 
    function dgstatus()
    {
          window.status = boodschap;
     timerID= setTimeout("dgstatus()", 60);
    }
    
    </script>
    <script Language="JavaScript">
    
    <!--
    dgstatus();
    //-->
    
    </script>
    </head>
    
    <body>
    </body></html>

    These are just a few suggestions that might be helpful .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width