Interactive button problems FP-2003

S

Steven Thompson

I've published a four page standard site using tables to
separate areas much like a frames page. Directly under my
header I have a table 750 pixels wide that includes a
backgroung picture and four interactive buttons (see
http://www.airwerx.com).

When I first attempted to insert these buttons the
program provided an error indicating I couldn't place
these buttons in this table. I then inserted them at a
temporary location in a larger table and was able to cut
and paste them where I wanted them to go.

The buttons look and operate great at any resolution in
FP. The buttons don't operate correctly once published to
my web server (Apache w/extensions).

Any ideas?

I'd also like to figure away to remove what appears to be
a spacer file between my two lower tables. My next test
is to eliminate the fourth table (lower right)and create
two cells within the lower left table making it 750
pixels wide. I've delayed doing this because I'd like the
top two tables and the lower left table to not reload
when secondary pages are requested into the lower right
table. Currently the lower left table reloads and is not
apart of the top border which functions correctly with
the exception of the button issue described above.

Sincerely,

Steven Thompson
 
T

Tim

Steve,
for what its worth, your rollover images don't seem to exist.
eg button31.gif can't be loaded into my browser so your buttons look fine
UNTIL I rollover them then I get the red X. The link still works tho'.
I note the picture link is in the root folder, not an "images" folder. Is
that where you expect them to be?
I also looked for your button in the images folder but no ,luck.
Suggest you republish the images at least
good luck
Tack
 
G

Guest

Thanks Bill and Tim,

I simply moved the buttons out of the top border and its
working great. Its not what I'd planned but perhaps
Microsoft can address this issue in a future SP. For some
unknown reason FP-2003 will not allow interactive buttons
to be placed within the top border.

Happy New Year! Thanks again for leading me in the right
direction...

Steven Thompson
 
R

Ronx

(Still) Using FP2003 Beta2 TRF. Retail version may differ.

Actually you can place interactive buttons in shared borders, provided you
accept two restrictions:

1) You must edit the _border pages directly. Set up site options to display
hidden folders. Then open _borders/top.htm and edit the page.

2) Every page using the _borders MUST be located within the _borders folder.
Some diehards<grin> will maintain that this is a tad impractical and bad
practice, but it works.

The reason you cannot use interactive buttons in _borders in the normal way
is that FP cannot manage links contained in JavaScript. In the case of
Interactive buttons these links are to the buttons in the function calls in
the onmouseover, onmouseout, onmousedown events, which will always have a
relative path from the _borders folder to wherever the buttons are located.
(Thinking about it - haven't tried it - the pages could be all located in
folders one level down from the root, if the buttons are located in the
images folder - not the _borders folder, and not a folder containing
pages.).

I have found that FP (2003 Beta2 TRF) will recreate the image swap etc.
JavaScript correctly in the <head> section of all pages using shared_borders
and include pages constructed in this way - though the pre-load JavaScript
in the <body> tag was only recreated in most pages - not all.
 
S

Stefan B Rusynko

That's not a practical approach and won't work

The reason the Interactive Buttons don't work in Shared borders or Include Pages is that FP generates the preload scripts as a part
of the BODY tag and in the HEAD section, but Shared Borders and Include pages only include the contents Inside of the BODY tags - so
the links are missing on the main pages

The correct way to use Interactive Buttons is to not use Include Pages or Shared Borders, but instead create a Dynamic Web Template
page and apply that to all your pages
--




| (Still) Using FP2003 Beta2 TRF. Retail version may differ.
|
| Actually you can place interactive buttons in shared borders, provided you
| accept two restrictions:
|
| 1) You must edit the _border pages directly. Set up site options to display
| hidden folders. Then open _borders/top.htm and edit the page.
|
| 2) Every page using the _borders MUST be located within the _borders folder.
| Some diehards<grin> will maintain that this is a tad impractical and bad
| practice, but it works.
|
| The reason you cannot use interactive buttons in _borders in the normal way
| is that FP cannot manage links contained in JavaScript. In the case of
| Interactive buttons these links are to the buttons in the function calls in
| the onmouseover, onmouseout, onmousedown events, which will always have a
| relative path from the _borders folder to wherever the buttons are located.
| (Thinking about it - haven't tried it - the pages could be all located in
| folders one level down from the root, if the buttons are located in the
| images folder - not the _borders folder, and not a folder containing
| pages.).
|
| I have found that FP (2003 Beta2 TRF) will recreate the image swap etc.
| JavaScript correctly in the <head> section of all pages using shared_borders
| and include pages constructed in this way - though the pre-load JavaScript
| in the <body> tag was only recreated in most pages - not all.
|
| --
| Ron
|
| Reply only to group - all emails will be deleted unread.
|
|
| | > Thanks Bill and Tim,
| >
| > I simply moved the buttons out of the top border and its
| > working great. Its not what I'd planned but perhaps
| > Microsoft can address this issue in a future SP. For some
| > unknown reason FP-2003 will not allow interactive buttons
| > to be placed within the top border.
| >
| > Happy New Year! Thanks again for leading me in the right
| > direction...
| >
| > Steven Thompson
| >
| > >-----Original Message-----
| > >Your button rollover images are in the "_borders/"
| > folder yet your script is
| > >calling them from the root.
| > >
| > >--
| > >Have Fun Bill
| > >
| > >RealDraw Cafe
| > >http://realdrawcafe.com
| > >MicrosoftGraphics Users Group
| > >http://microsoftgraphics.com
| > >
| > >
| > message
| > >| > >> I've published a four page standard site using tables
| > to
| > >> separate areas much like a frames page. Directly under
| > my
| > >> header I have a table 750 pixels wide that includes a
| > >> backgroung picture and four interactive buttons (see
| > >> http://www.airwerx.com).
| > >>
| > >> When I first attempted to insert these buttons the
| > >> program provided an error indicating I couldn't place
| > >> these buttons in this table. I then inserted them at a
| > >> temporary location in a larger table and was able to
| > cut
| > >> and paste them where I wanted them to go.
| > >>
| > >> The buttons look and operate great at any resolution in
| > >> FP. The buttons don't operate correctly once published
| > to
| > >> my web server (Apache w/extensions).
| > >>
| > >> Any ideas?
| > >>
| > >> I'd also like to figure away to remove what appears to
| > be
| > >> a spacer file between my two lower tables. My next test
| > >> is to eliminate the fourth table (lower right)and
| > create
| > >> two cells within the lower left table making it 750
| > >> pixels wide. I've delayed doing this because I'd like
| > the
| > >> top two tables and the lower left table to not reload
| > >> when secondary pages are requested into the lower right
| > >> table. Currently the lower left table reloads and is
| > not
| > >> apart of the top border which functions correctly with
| > >> the exception of the button issue described above.
| > >>
| > >> Sincerely,
| > >>
| > >> Steven Thompson
| > >
| > >
| > >.
| > >
|
|
 
S

Stefan B Rusynko

The reason the Interactive Buttons don't work in Shared borders or Include Pages is that FP generates the preload scripts as a part
of the BODY tag and in the HEAD section, but Shared Borders and Include pages only include the contents Inside of the BODY tags - so
the links are missing on the main pages

The recommended way to use Interactive Buttons is to not use Include Pages or Shared Borders, but instead create a Dynamic Web
Template page and apply that to all your pages


--




| Thanks Bill and Tim,
|
| I simply moved the buttons out of the top border and its
| working great. Its not what I'd planned but perhaps
| Microsoft can address this issue in a future SP. For some
| unknown reason FP-2003 will not allow interactive buttons
| to be placed within the top border.
|
| Happy New Year! Thanks again for leading me in the right
| direction...
|
| Steven Thompson
|
| >-----Original Message-----
| >Your button rollover images are in the "_borders/"
| folder yet your script is
| >calling them from the root.
| >
| >--
| >Have Fun Bill
| >
| >RealDraw Cafe
| >http://realdrawcafe.com
| >MicrosoftGraphics Users Group
| >http://microsoftgraphics.com
| >
| >
| message
| >| >> I've published a four page standard site using tables
| to
| >> separate areas much like a frames page. Directly under
| my
| >> header I have a table 750 pixels wide that includes a
| >> backgroung picture and four interactive buttons (see
| >> http://www.airwerx.com).
| >>
| >> When I first attempted to insert these buttons the
| >> program provided an error indicating I couldn't place
| >> these buttons in this table. I then inserted them at a
| >> temporary location in a larger table and was able to
| cut
| >> and paste them where I wanted them to go.
| >>
| >> The buttons look and operate great at any resolution in
| >> FP. The buttons don't operate correctly once published
| to
| >> my web server (Apache w/extensions).
| >>
| >> Any ideas?
| >>
| >> I'd also like to figure away to remove what appears to
| be
| >> a spacer file between my two lower tables. My next test
| >> is to eliminate the fourth table (lower right)and
| create
| >> two cells within the lower left table making it 750
| >> pixels wide. I've delayed doing this because I'd like
| the
| >> top two tables and the lower left table to not reload
| >> when secondary pages are requested into the lower right
| >> table. Currently the lower left table reloads and is
| not
| >> apart of the top border which functions correctly with
| >> the exception of the button issue described above.
| >>
| >> Sincerely,
| >>
| >> Steven Thompson
| >
| >
| >.
| >
 
R

Ronx

See inline, but bear in mind my experiences are limited to the Beta2 TRF.
The RTM versions may have "corrected" this functionality, in which case my
arguments are meaningless.

--
Ron

Reply only to group - all emails will be deleted unread.


Stefan B Rusynko said:
That's not a practical approach Agreed

and won't work
It does work. See www.rxs-enterprises.com/tests/buttons/
The reason the Interactive Buttons don't work in Shared borders or Include
Pages is that FP generates the preload scripts as a part
of the BODY tag and in the HEAD section, but Shared Borders and Include
pages only include the contents Inside of the BODY tags - so
the links are missing on the main pages
Assume you mean scripts are missing ? or links are broken?

However, if the scripts are generated by FrontPage 2003 behaviours, they
_are_ recreated on all the pages that use them, regardless if shared
borders or include pages are involved or not. Any links contained within
these scripts may be broken, unless care is taken to ensure the relative
paths are not changed.
The correct way to use Interactive Buttons is to not use Include Pages or
Shared Borders, but instead create a Dynamic Web Template
page and apply that to all your pages

Agreed, but updating a large Server based web using a DWT can be tiresome
(unless I can find that work-around for this that was mentioned here a few
weeks ago.)
 
S

Steven Thompson

Thank you everyone :cool:

The level of experience and support for FP is second to
none. I sincerely appreciate all the help you've provided
here.

Steven Thompson
Ford, WA.
-----Original Message-----
See inline, but bear in mind my experiences are limited to the Beta2 TRF.
The RTM versions may have "corrected" this
functionality, in which case my
arguments are meaningless.

--
Ron

Reply only to group - all emails will be deleted unread.


That's not a practical approach Agreed

and won't work
It does work. See www.rxs-enterprises.com/tests/buttons/
The reason the Interactive Buttons don't work in
Shared borders or Include
Pages is that FP generates the preload scripts as a part
of the BODY tag and in the HEAD section, but Shared
Borders and Include
pages only include the contents Inside of the BODY tags - so
the links are missing on the main pages
Assume you mean scripts are missing ? or links are broken?

However, if the scripts are generated by FrontPage 2003 behaviours, they
_are_ recreated on all the pages that use them, regardless if shared
borders or include pages are involved or not. Any links contained within
these scripts may be broken, unless care is taken to ensure the relative
paths are not changed.
The correct way to use Interactive Buttons is to not
use Include Pages or
Shared Borders, but instead create a Dynamic Web Template
page and apply that to all your pages

Agreed, but updating a large Server based web using a DWT can be tiresome
(unless I can find that work-around for this that was mentioned here a few
weeks ago.)
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


| (Still) Using FP2003 Beta2 TRF. Retail version may differ.
|
| Actually you can place interactive buttons in shared
borders, provided
you
| accept two restrictions:
|
| 1) You must edit the _border pages directly. Set up
site options to
display
| hidden folders. Then open _borders/top.htm and edit the page.
|
| 2) Every page using the _borders MUST be located
within the _borders
folder.
| Some diehards<grin> will maintain that this is a tad impractical and bad
| practice, but it works.
|
| The reason you cannot use interactive buttons in
_borders in the normal
way
| is that FP cannot manage links contained in JavaScript. In the case of
| Interactive buttons these links are to the buttons
in the function calls
in
| the onmouseover, onmouseout, onmousedown events,
which will always have
a
| relative path from the _borders folder to wherever
the buttons are
located.
| (Thinking about it - haven't tried it - the pages
could be all located
in
| folders one level down from the root, if the buttons are located in the
| images folder - not the _borders folder, and not a folder containing
| pages.).
|
| I have found that FP (2003 Beta2 TRF) will recreate the image swap etc.
| JavaScript correctly in the <head> section of all
pages using
shared_borders
| and include pages constructed in this way - though
the pre-load
JavaScript
| in the <body> tag was only recreated in most pages - not all.
|
| --
| Ron
|
| Reply only to group - all emails will be deleted unread.
|
|
| | > Thanks Bill and Tim,
| >
| > I simply moved the buttons out of the top border and its
| > working great. Its not what I'd planned but perhaps
| > Microsoft can address this issue in a future SP. For some
| > unknown reason FP-2003 will not allow interactive buttons
| > to be placed within the top border.
| >
| > Happy New Year! Thanks again for leading me in the right
| > direction...
| >
| > Steven Thompson
| >
| > >-----Original Message-----
| > >Your button rollover images are in the "_borders/"
| > folder yet your script is
| > >calling them from the root.
| > >
| > >--
| > >Have Fun Bill
| > >
| > >RealDraw Cafe
| > >http://realdrawcafe.com
| > >MicrosoftGraphics Users Group
| > >http://microsoftgraphics.com
| > >
| > >
| > message
| > >| > >> I've published a four page standard site using tables
| > to
| > >> separate areas much like a frames page. Directly under
| > my
| > >> header I have a table 750 pixels wide that includes a
| > >> backgroung picture and four interactive buttons (see
| > >> http://www.airwerx.com).
| > >>
| > >> When I first attempted to insert these buttons the
| > >> program provided an error indicating I couldn't place
| > >> these buttons in this table. I then inserted them at a
| > >> temporary location in a larger table and was able to
| > cut
| > >> and paste them where I wanted them to go.
| > >>
| > >> The buttons look and operate great at any resolution in
| > >> FP. The buttons don't operate correctly once published
| > to
| > >> my web server (Apache w/extensions).
| > >>
| > >> Any ideas?
| > >>
| > >> I'd also like to figure away to remove what appears to
| > be
| > >> a spacer file between my two lower tables. My next test
| > >> is to eliminate the fourth table (lower right) and
| > create
| > >> two cells within the lower left table making it 750
| > >> pixels wide. I've delayed doing this because I'd like
| > the
| > >> top two tables and the lower left table to not reload
| > >> when secondary pages are requested into the lower right
| > >> table. Currently the lower left table reloads and is
| > not
| > >> apart of the top border which functions correctly with
| > >> the exception of the button issue described above.
| > >>
| > >> Sincerely,
| > >>
| > >> Steven Thompson
| > >
| > >
| > >.
| > >
|
|


.
 

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