How to show or write text on status bar at browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xpcer
    New Member
    • Jul 2006
    • 51

    How to show or write text on status bar at browser

    hi friends, can anyone tell me, how to write text on status bar at browser, thanks before
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    a. don't, not all browser let you do it anyway so if the information is important it will need to be elsewhere on the page and if it is not imortant why over write the status bar which has important data.

    b. If you must then it needs to be done in javascript, you will have to transfer your data from php to javascript

    [html]
    <script>
    var dataFromPhp = "<?php echo $dataToSendToJa vascript; ?>";

    window.status = dataFromPhp;
    [/html]

    Comment

    • xpcer
      New Member
      • Jul 2006
      • 51

      #3
      Originally posted by Banfa
      a. don't, not all browser let you do it anyway so if the information is important it will need to be elsewhere on the page and if it is not imortant why over write the status bar which has important data.

      b. If you must then it needs to be done in javascript, you will have to transfer your data from php to javascript

      [html]
      <script>
      var dataFromPhp = "<?php echo $dataToSendToJa vascript; ?>";

      window.status = dataFromPhp;
      [/html]
      thanks mr. Banfa

      Comment

      Working...