GotFusion.com  Where your journey begins
Showcase your website at Fusion GalleriesNetObjects Fusion 7 Websites Portal

 


 

Are you tired of the same old URL status bar message?

 Want to put something interesting on the status bar?

This is a simple JavaScript and easy to do with Fusion.  Copy and paste the script below into notepad and change the message between the quotes to say what ever you would like. Mouse over this link to see

Important: Make sure that this script is one continuous line with no line breaks

onMouseOver ="window.defaultStatus=' '; window.status=' Hi everybody you just put your pointer over this link' ; return true"

Then to get this onto your page you:

If you do not want to show anything when the visitor moves their pointer over a link then enter nothing between the single quotes after window.status=' '. If you do this there will be nothing displayed on the status bar. MouseOver this link and look at the status bar below.

If you want to have a default status bar message other than the normal blank (nothing) enter another message in between the first set of quotes where it says defaultStatus=' '.  To see an example of this visit my copyright tutorial page and look at the default status bar message there.

If you want to have a site wide default status bar message Copy and paste the script below into notepad and change the message between the quotes to say what ever you wish. If you use a default message such as the one below you must not use the "window.defaultStats=' ' ; part of your onMouseOver functions otherwise the default will be set to blank not the default set with the onLoad statement, instead use the example further down that returns the default status message.

onLoad="window.defaultStatus='This will be your default status bar message when ever there is no mouseOvers';"

Copy and paste the onLoad script to the body statement by clicking on the HTML button in the MasterBorder properties palette and pasting it to the center tab (Inside Body Tag).

If you use a default status bar message as explained above you will want to alter your onMouseOver event to call the default message and not blank the status bar as shown in the first example.  Use this coding instead of the first one

onMouseOver ="window.defaultStatus=window.defaultStatus; window.status=' Hi everybody you just put your pointer over this link' ; return true"

Note: If you need to use an apostrophe ' in your status message or in any text shown within JavaScript you MUST escape that with the forward slash character \ to tell the script that it is not a single quote. Example: turtle\'s tutorial will show as turtle's tutorial. Without the escape marker the script will return errors

If you already have an onLoad statement or you use components that write one for you, go to the CoolMaps site and down load their OnLoader component (it is a free component from CoolMaps). Enable the component in the Publish components option box from publish view. This component will combine all of the individual onLoad statements into a single onLoad function.

View the PREVIOUS page

Return to the TOP of this page

View the NEXT page in this tutorial


|  Fusion  |  Web Design  |  Hosting  |  Resources  |  gotFusion Store  | 

Problems with this page?  

All content copyright © 2002, 2003 gotFusion LLC.  The name gotFusion and the gotFusion ® logo are registered trademarks of gotFusion LLC
Copyright, legal notice & privacy statement