iLTC Home
Bookmark iLTC!
iLTC Google Boards

Google Groups
Receive The Code in Email!



Categories

Perl
  • Perl Tutorials Beginners

    Javascript
  • Javascript Tutorials
  • Javascript Tutorials Beginners

    HTML
  • HTML Tutorials



  • Perl with cheese...
    123,742

    iLoveTheCode.com
    HTML > HTML Tutorials How To Easy > HTML Status

    HTML Status



    There are a couple ways to change the status bar. First we'll do it by writing a function.

    function Hiya() {
    window.status="hiya dog";
    }
    function Hiya2() {
    window.status="bya dog";
    }

    <a onMouseover=Hiya() onMouseout=Hiya2()>Put your cursor here</a>


    -We create a function and name it Hiya because we like that name.
    -We use Javascript's built-in window object and its status property.
    -We say that is equal to "hiya dog"
    -We create a nearly identical function, naming it Hiya2 and just change what it says.
    -We use the built-in Javascript onMouseover and Javascript onMouseout to call our functions.


    If you want to make a status mesage stick in Internet Explorer for Windows:

    window.defaultStatus="Why all the dogs?";

    For Safari on Mac this only shows when the window loads.

    And unfortunately, none of this works on the current Firefox. Unless you can convince your Firefox users to jump through the hoop of altering their settings... sure.


    <script type="text/javascript">
    <!--

    window.defaultStatus="Why all the dogs?";

    function Hiya() {
    window.status="hiya dog";
    }
    function Hiya2() {
    window.status="bya dog";
    }

    -->
    </script>

    <a onMouseover=Hiya() onMouseout=Hiya2()>Put your cursor here</a>



    Resources:
    HTML Tutorials
    Frames in HTML
    Link in HTML
    Title Tag in HTML

    The Classic BareBones Guide to HTML
    W3C's Official HTML 4.01 documentation

    Tags in HTML
    Color Chart in HTML
    HTML Codes



    Previous Article: HTML Codes
    Next Article: HTML Link





    Head First HTML with CSS...Head First HTML with CSS & XHTML

    Eric Freeman, Elis...

    New $23.99

    CSS MasteryCSS Mastery

    Andy Budd, Simon C...

    New $23.85

    HTML & XHTMLHTML & XHTML

    Chuck Musciano, Bi...

    New $29.99

    CSSCSS

    Eric Meyer

    New $29.69

    CSSCSS

    David McFarland

    New $23.09

    New Perspectives on Crea...New Perspectives on Creating Web Pag...

    Patrick Carey

    New $69.26

    DojoDojo

    Matthew A. Russell...

    New $26.39

    JavaScriptJavaScript

    David Flanagan

    New $31.49

    Creating Web SitesCreating Web Sites

    Matthew MacDonald

    New $19.77


    Of Interest:
  • Redirect to a Different URL in Perl
  • Putting Two Strings Together, Concatenate
  • Exit a Script or Subroutine in Perl
  • And, Or, Equal, Not Equal, Greater Than, Less Than in Perl
  • Javascript Pop - Use Pop to Remove Items from the End of an Array in Javascript
  • Javascript Reverse - Use Reverse on Items in an Array in Javascript
  • Javascript Concat - Use Concat to Join Two Arrays in Javascript
  • Javascript Push - Use Push on an Array in Javascript
  • HTML Font Code
  • Make a Line Return Using HTML
  • HTML Color Chart
  • HTML Status

  • More Articles:
  • To Sort an Array in Perl
  • Renaming a File with Perl's RENAME Function
  • Add to the Beginning of an Array with Unshift in Perl
  • Use chmod in Perl
  • Javascript Change Font Size
  • Javascript Change Fonts
  • Javascript Change Background Colors
  • onClick Javascript
  • Increment a Variable in Javascript
  • Close Window with window.close in Javascript
  • Splitting an Array using Javascript
  • Use onLoad to Call More than One Function with Javascript
  • HTML Font Code
  • HTML Codes
  • HTML Image
  • Make Strikethrough Text Using HTML

  • Search iLTC w/ Google





    Recent Articles

  • Javascript Focus Form Field
  • Javascript Lowercase Text
  • Javascript Uppercase Text
  • Javascript Superscript Text
  • Javascript Subscript Text
  • Make Text Blink Using Javascript
  • Make a String into a Link in Javascript
  • Javascript Italics Text
  • Javascript Bold Text
  • Javascript Redirect
  • HTML Frames
  • HTML Color Chart
  • HTML Link
  • Javascript Status Bar








  • Perl Programming - Javascript Programming - Maybe Some PHP - Free Scripts - ILoveTheCode
    All Content © 2006 iLoveTheCode.com


    Contact Chris | About this Site


    420,503
    Counter by iLoveTheCode.com


    Last Modified: Friday, 23-Jun-2006 07:23:14 EDT