By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

How to show or write text on status bar at browser

P: 51
hi friends, can anyone tell me, how to write text on status bar at browser, thanks before
Sep 17 '06 #1
Share this Question
Share on Google+
2 Replies


Banfa
Expert Mod 5K+
P: 8,916
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 $dataToSendToJavascript; ?>";

window.status = dataFromPhp;
[/html]
Sep 18 '06 #2

P: 51
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 $dataToSendToJavascript; ?>";

window.status = dataFromPhp;
[/html]
thanks mr. Banfa
Sep 19 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.