Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permanent browser message 2

Status
Not open for further replies.

gms27

Technical User
Aug 19, 2005
27
PT
Hi there!

I would like to know how can i put a permanent message in the bottom of the browser (where it shows the hyperlink when placing the mouse's arrow over a link or button) using Dreamweaver mx 2004.

I hope you can help me.

Thanks
 
Put this in the head of your site.

Code:
<script language="Javascript">
window.defaultStatus="Message goes here!"
</script>

Rob
 
thanks TamedTech!

You've saved the day! ;)
 
gms27, you might want to take note that the code will not work in Firefox. IE gives javascript control over certain aspects of the browser (status bar message and scrollbar colors for example) that other browser will not. If you are developing for a fixed audience (on an intranet for example) then it will not be an issue, but it is something you may want to consider as you develop your pages.

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
Thanks for the valuable information kaht. :)
Isn't there a way to make a simillar thing on firefox browsers?

Cheers
 
Isn't there a way to make a simillar thing on firefox browsers?

Nope, the status bar is off limits.

The only type of status bar configuration you can affect in Firefox is opening a new window with the status bar turned off. (using a window.open command and passing the appropriate parameter)

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
Hmm.... after browsing around in the menus I found that you can do the following (in FF 1.5, might be different for other versions of FF)

Tools > Options > Content (tab) > Advanced (on the enable javascript line) > "Change Status Bar Text"

This value is unchecked by default, so if a user does not check the box (which they probably won't, users often use factory settings) then the status bar is off limits.

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
I was just reading over some of the specs for IE7 Beta 2 earlier and I noticed the very last bulleted item on this page:
It appears that modifying the status bar for IE7 will by default be turned off the same way it is for firefox.

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top