If you are going to use it more than once, you could create your own Behavior (w/ the correction)
See
http://msdn.microsoft.com/library/d..._fp2003_ta/html/odc_fpCustomizingSnippets.asp
| Thanks for the hack Jon - great tip! Y
| ea, this is just one of those features that never get used in real-world
| situations.
|
| Thanks,
| /garo
|
|
|
| | > Garo,
| > Just tested this (never used this behavior before) and you're right as it
| > stands the FP script will not work in the situation you described. To make
| > it work follow these steps.
| > 1/ insert your image
| > 2/click your image and hit Ctrl + k to hyperlink it
| > 3/ type "javascript:;" without the quotes into the dialog
| > 4/ hit format - behaviors - set text - set text of status bar - type
| message
| > hit OK
| > 5/ Click on events - at the end of the list you'll see Events for a -
| choose
| > (mouseover)
| > 6/ flip to html view and you'll see this code
| > <a href="javascript:;" onmouseover="FP_setStatusBarText('test message');">
| > <img border="0" src="vbg.gif" width="162" height="48"></a></p>
| >
| > that will not work. Modify it to look like this
| > <a href="javascript:;" onmouseover="FP_setStatusBarText('test message');
| > return true">
| > <img border="0" src="vbg.gif" width="162" height="48"></a></p>
| >
| > Now it works. You'll probably want to add an onmouseout event to remove
| the
| > message. Clearly this is an error in the FP script - I agree it's lame.
| It's
| > probably a measure of how few people use this behavior that this error has
| > not been reported in the group before.
| >
| >
| >
| >
| > --
| > Cheers,
| > Jon
| > Microsoft MVP - FP
| >
| > | > > Personally, I do use either method.
| > >
| > > --
| > > ==============================================
| > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > WEBMASTER Resources(tm)
| > >
| > > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > > ==============================================
| > > To assist you in getting the best answers for FrontPage support see:
| > >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| > >
| > | > > > Thanks for the JavaScript tip - it works, but with a Page Error in the
| > > > Status Bar. I can live with that for now.
| > > >
| > > > So, I assume you have not gotten the native Set Text of Status Bar JS
| > code
| > > > to work successfully within FrontPage 2003?
| > > >
| > > > /garo
| > > >
| > > >
| > > >
| > > >
| > > >
| > > > | > > > > You need to do a search in your IE address bar:
| > > > >
| > > > > ? JavaScript Status Bar script
| > > > >
| > > > > For a dummy link, try:
| > > > >
| > > > > javascript:void()
| > > > >
| > > > > --
| > > > > ==============================================
| > > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > > > WEBMASTER Resources(tm)
| > > > >
| > > > > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > > > > ==============================================
| > > > > To assist you in getting the best answers for FrontPage support see:
| > > > >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > > >
| > > > | > > > > > Has anyone gotten this Behavior to work properly - ever?
| > > > > >
| > > > > > I've attached the behavior to an image (with a rollover) with the
| > Event
| > > > set
| > > > > > to onMouseOver. However, when I move over the image, the URL to
| the
| > > > linked
| > > > > > page appears, not the text in the status bar. That only appears
| > after
| > > > > > onMouseOut, which is incorrect. The URL shouldn't appear at all
| and
| > the
| > > > > > status bar text that I want should appear onMouseOver. After
| > onMouseOut
| > > > the
| > > > > > text in the status bar never goes away - sheesh!
| > > > > >
| > > > > > Also, will FrontPage support dummy/nowhere links? I want to get
| the
| > > > finger
| > > > > > for a rollover image (that has not real URL) that will open a new
| > > > browser
| > > > > > window, but can't seem to find a way to make that happen.
| > > > > >
| > > > > > Any help would be greatly appreciated!
| > > > > > Thanks,
| > > > > > /garo
| > > > > >
| > > > > >
| > > > >
| > > > >
| > > >
| > > >
| > >
| > >
| >
| >
|
|