joie27 Posted September 19, 2006 Share Posted September 19, 2006 do you know how to display an error msg in the status bar instead of using msgbox..tnx.. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted September 19, 2006 Share Posted September 19, 2006 Use window.statusEg:[code]<a href="javascript:void(0)" onMouseOver="window.status='Hello!'; return true" onMouseOut="window.status=''">Change Status Bar text!</a>[/code]However this isnt the a good way to display errors not many people take any notice of the status bar. Also most modern browsers dont allow for the staus bar text to be changed by defualt, however the user can change this by editing the browsers settings. For example in FF you need to goto Tools > Options > Content > Advanced button to the right of 'enable javascript' > Tick 'Change Status Bar Text'. In for FF to allow javascript to change the status bar text. Quote Link to comment Share on other sites More sharing options...
onlyican Posted September 19, 2006 Share Posted September 19, 2006 I cant remember the last time I looked at the status bar.I might check it if a site is blank, I will check if its loading or done, thats it.but that is rare, as there aint many Blank website pages out there Quote Link to comment Share on other sites More sharing options...
fenway Posted September 20, 2006 Share Posted September 20, 2006 However, this is an excellent way of debugging scripts without interfering with run-times. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.