Interactive buttons

D

Denny

I'm trying to replace hover buttons in a left shared
border designed in FP00 with interactive buttons from
FP03. When I place the cursor in the left shared border
and click on the components button for the interactive
button it's grayed out and not available. Can an
interactive button be used in a shared border?

Thanks a bunch!
 
J

John Jansen \(MSFT\)

Hi Denny,

That is correct, interactive buttons are not supported in Shared Borders. I
would recommend using Dynamic Web Templates instead of Shared Borders.

The reason they are not supported is because the jscript does not get
written to the shared border, but rather to the page that contains the
shared border -- so they only function properly on the page where the
initial shared border was attached.

I hope that helps you out.

-John
 
J

Jim Buyens

-----Original Message-----
I'm trying to replace hover buttons in a left shared
border designed in FP00 with interactive buttons from
FP03. When I place the cursor in the left shared border
and click on the components button for the interactive
button it's grayed out and not available. Can an
interactive button be used in a shared border?

It would seem not.

Interactive Buttons use JavaScript located in the <head>
section of the Web page, and FrontPage doesn't migrate
<head> content from shared borders into pages that use
them. So, the Interactive Buttons wouldn't work.

To work around this limitation, use Dynamic Web Templates
rather than Shared Borders.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
R

Ronx

I am using the FP2003 beta2 TR, this may not apply to the retail version.
Edit the shared border files directly, (to see the _borders folder do
Tools - Site Settings - Advanced Tag and tick the box "show hidden files
and folders") not the borders in other pages. Interactive Buttons will be
available, and the JavaScript is carried onto all pages that use the border.
However, there is a bug - If you place interactive buttons in more than one
shared border, the button id's in the finished pages will be duplicated,
with the effect that hovering over one button, will "rollover" another.
(Probably why the menu item is not available in pages using shared borders)

HTH
 
B

Bill Somogyi

Denny:
Can an interactive button be used in a shared border?

I agree with the above post you should use the DWT template feature but if
you have a large site with shared borders already a major feature of the
site and don't want to redisign it there is a work around using the include
page feature.

1) Open up a blank new page with no theme or borders attached to it.
2) Insert your Interactive Buttons the way you want them into this page.
3) In Code view select the script in the head section.

It'll start with this Line: <script language="JavaScript">
And end with this line: </script>

Select the complete script inclucding the lines I have listed above and drag
it into the body section of the page right under the openeing body tag. The
body tag will look something like this: <body onload="FP_preloadImgs (list
of your image)">
4) Now save the page and name it something like lnav.htm.
5) Open up a page that you have your Left Shared Border on, delete your
hover buttons and the go to (Insert / Web Component) Select "Included
Content" in the left window and then "Page" in the right window.
6) Hit the Finish button and then just browse to the lnav.htm page you just
created.

I post this as an FYI and just a work around if you need it but highly
suggest you take a look at the Dynamic Web Template feature John and Jim
mention above. There are a great new tool in FP.

Have Fun Bill
--
RealDraw Cafe
http://realdrawcafe.com
MicrosoftGraphics Users Group
http://microsoftgraphics.com

"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top