How to put a NavBars into a DWT

  • Thread starter Birk Binnard (birkb
  • Start date
B

Birk Binnard (birkb

I've got FP2003 and tried converting a group of pages that use a Shared
Border with a Navigation Bar to using a Dynamic Web Template. When I preview
these new pages in FP or in a local browser window the pages appear fine: the
nav links are nice graphical buttons wtih rollover effects.

But after publishing my pages to my FP Webserver the nav links in the pages
that use the DWT are simply text. So I'm wondering if there is some problem
with DWT's that I need to fix.

I read somewhere that FP does not handle JAVA scripts properly when they get
put in subfolders, so I moved the DWT to my web's root directory. This did
not help.

Here's a sample URL that shows the problem:
http://www.birkbinnard.com/recipes/deserts.htm
 
R

Ronx

Open the remote (online) web and run Tools->Recalculate Hyperlinks
If this makes no difference, then open the DWT in the online web, and
remove the navigation bar. Save the page, then add the navigation bar
back, reapplying the style.
Then save the DWT, and recalculate hyperlinks again.

The text links sometimes appear instead of graphical links because the
theme elements required are not uploaded when the web is published.
Reapplying the navigation bar and style *should* upload the theme.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"Birk Binnard ([email protected])" <Birk Binnard
([email protected])@discussions.microsoft.com> wrote in message
news:[email protected]...
 
B

Birk Binnard (birkb

Thanks for the suggestion, but it did not work. I had tried recalculating
hyperlinks on the remote site before and that didn;t help the problem. So I
was hopeful that following your 2nd suggestion woudl work. But after
deleting, saving, and replacing the navbar inthe DWT page and then
recalculating hyperlinks there is still no change in the remote site's pages
that use teh DWT.

What I did notice is that the source HTML for the remote pages is missing a
whole bunch of JAVA code that is present in the source for the same pages on
my local PC. I'm sure the absence of this code is what's causing the
problem, but I have no idea why the code is missing.

Here are the first few lines of the code:

// --></script><script language="JavaScript"><!--
if(MSFPhover) {
MSFPnav1n=MSFPpreload("../_derived/up_cmp_DeepBlue110_vbtn.gif");
MSFPnav1h=MSFPpreload("../_derived/up_cmp_DeepBlue110_vbtn_a.gif"); }
// --></script><a href="index.htm" language="JavaScript"
onmouseover="if(MSFPhover) document['MSFPnav1'].src=MSFPnav1h.src"
onmouseout="if(MSFPhover) document['MSFPnav1'].src=MSFPnav1n.src"><img

I looked in the _derived folder on my webserver to see if the referenced
GIF images are there, and they are. So it's got to be the missing JAVA code
that's causing the problem, yes?

Birk Binnard
 
S

Stefan B Rusynko

In the online site try applying your theme (DeepBlue) to your DWT page




| Thanks for the suggestion, but it did not work. I had tried recalculating
| hyperlinks on the remote site before and that didn;t help the problem. So I
| was hopeful that following your 2nd suggestion woudl work. But after
| deleting, saving, and replacing the navbar inthe DWT page and then
| recalculating hyperlinks there is still no change in the remote site's pages
| that use teh DWT.
|
| What I did notice is that the source HTML for the remote pages is missing a
| whole bunch of JAVA code that is present in the source for the same pages on
| my local PC. I'm sure the absence of this code is what's causing the
| problem, but I have no idea why the code is missing.
|
| Here are the first few lines of the code:
|
| // --></script><script language="JavaScript"><!--
| if(MSFPhover) {
| MSFPnav1n=MSFPpreload("../_derived/up_cmp_DeepBlue110_vbtn.gif");
| MSFPnav1h=MSFPpreload("../_derived/up_cmp_DeepBlue110_vbtn_a.gif"); }
| // --></script><a href="index.htm" language="JavaScript"
| onmouseover="if(MSFPhover) document['MSFPnav1'].src=MSFPnav1h.src"
| onmouseout="if(MSFPhover) document['MSFPnav1'].src=MSFPnav1n.src"><img
|
| I looked in the _derived folder on my webserver to see if the referenced
| GIF images are there, and they are. So it's got to be the missing JAVA code
| that's causing the problem, yes?
|
| Birk Binnard
 
B

Birk Binnard

Interesting effect, but still not correct. Here's what I did:

1. Applied the Deep Blue theme to my remote DWT page. Doing this had no
effect on the website at all (because doing this does not update that
pages that use the DWT.)

2. I made a trivial change to the remote site DWT hoping this would
force an update to the 17 pages that use it. It did not, so there was
still no change in the website.

3. I closed the remote website, opened my local one, and applied the
DeepBlue theme to the DWT. Then I made a trivial edit change in the DWT
and saved it. This forced all the associated web pages to be updated.
Then I published the website.

Now the pages that use the DWT have a blue background (meaning they did
inherit the DWT theme info) but the navbar is still text only.

Am I the only person who is trying to do this? It's hard to believe
others have not run into this same problem. But I can find nothing on
it inthe MS Knowledge Base.
 
T

Thomas A. Rowe

When you use DWTs, they will only auto update on your local disk-based web, they will not auto
update on server-based web under the FP Extensions.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
B

Birk Binnard

Just on a whim I tried applying a totally different Theme to me DWT
file. I made sure all the associated web pages got updated, and then I
published. Much to my surprise everything now works OK.

I have no idea why I had the previously described problems.
 

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