Webbots - what language?

D

Dan E

Could someone please tell me what language webbots/Web components use (FP
2003)? I mean the code generated inside the <!--webbot bot.... --> bits.

TIA

Dan
 
C

Chris Leeds, MVP-FrontPage

there's a lot of stuff that can be found inside a webbot tag. which one are
you looking at?

mostly it's stuff that FrontPage reads or it's server extensions deal with.
sometimes what you see in code view is different than what you'll see if you
view the source of the page with a browser.

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
T

Tom Pepper Willett

Some of it is javascript.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| there's a lot of stuff that can be found inside a webbot tag. which one
are
| you looking at?
|
| mostly it's stuff that FrontPage reads or it's server extensions deal
with.
| sometimes what you see in code view is different than what you'll see if
you
| view the source of the page with a browser.
|
| --
| Chris Leeds,
| Microsoft MVP-FrontPage
|
| ContentSeed: great tool for web masters,
| a fantastic convenience for site owners.
| http://contentseed.com/
| --
| | > Could someone please tell me what language webbots/Web components use
(FP
| > 2003)? I mean the code generated inside the <!--webbot bot.... -->
bits.
| >
| > TIA
| >
| > Dan
| >
| > --
| > Dan E
| > webbie(removethis)@preferredcountry.com
| >
| >
|
|
 
D

Dan E

Chris and Tom - I'm using an HTML style from near the end of the Style tab
that comes up when making a new Link Bar with custom links - it's the one
called "An HTML style where each link is separated by a vertical line.", and
I'm using it for a simple vertical nav bar. It appears that I can change
some of the characteristics (there's a style= in the webbot code that sets
the text-decoration, so I can change that), but I'm stymied trying to
control text color. Since this style doesn't appear in the Themes, I can't
get at it that way, and setting the color, weight etc. outside the webbot
doesn't work. ANY help greatly appreciated - the style does pretty well
exactly what I want for this link bar, except for color, weight, font and
size.

TIA,

Dan
 
S

Stefan B Rusynko

You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template


--




| Chris and Tom - I'm using an HTML style from near the end of the Style tab
| that comes up when making a new Link Bar with custom links - it's the one
| called "An HTML style where each link is separated by a vertical line.", and
| I'm using it for a simple vertical nav bar. It appears that I can change
| some of the characteristics (there's a style= in the webbot code that sets
| the text-decoration, so I can change that), but I'm stymied trying to
| control text color. Since this style doesn't appear in the Themes, I can't
| get at it that way, and setting the color, weight etc. outside the webbot
| doesn't work. ANY help greatly appreciated - the style does pretty well
| exactly what I want for this link bar, except for color, weight, font and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag. which one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions deal
| > with.
| > sometimes what you see in code view is different than what you'll see if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| > http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components use (FP
| >> 2003)? I mean the code generated inside the <!--webbot bot.... --> bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.com
| >>
| >>
| >
| >
|
|
 
D

Dan E

Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini, then,
in the original, took a copy of [Bars], which is the one I was using,
declared it to be [DanBars], changed the NAME to DanBars, edited the STYLE=
part, saved it, opened FP2003, opened st11.dwt (the dwt using Bars), edited
the link bar with custom links to use the style DanBars (which now existed
in the available styles), closed FP, re-opened it and opened st11.dwt, and
behold, the code inside the <!webbot...> for that bar was no different from
the previous version of the code, except that, at the end, it had
S-Bar="DanBars" -->. So I don't know what happened/happens in between the
bot reading the ini and squirting code into the page code. Just in case you
can help, here is the .ini entry for DanBars, also the code generated by the
webbot:-

[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="&nbsp;|&nbsp;"
V-Separator="<br>"
Preview="bars.gif"

<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;{text-decoration:
none;}&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#"
S-Btn-Sep="&lt;br&gt;" S-Bar="DanBars" -->

I do hope you (or someone) can help.

TIA,

Dan
 
R

Ronx

Try this:

In head section of page (or external style sheet)

<style>
..nav a{text-decoration: none;
color: #000080;
font: 12px Arial,Helvetica;
letter-spacing: 0px;
}
</style>

In the body of the page

<div class="nav"> <!-- navigation bar goes here --> </div>

<div can be replaced by <span

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Dan E said:
Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini, then,
in the original, took a copy of [Bars], which is the one I was using,
declared it to be [DanBars], changed the NAME to DanBars, edited the
STYLE= part, saved it, opened FP2003, opened st11.dwt (the dwt using
Bars), edited the link bar with custom links to use the style DanBars
(which now existed in the available styles), closed FP, re-opened it and
opened st11.dwt, and behold, the code inside the <!webbot...> for that bar
was no different from the previous version of the code, except that, at
the end, it had S-Bar="DanBars" -->. So I don't know what
happened/happens in between the bot reading the ini and squirting code
into the page code. Just in case you can help, here is the .ini entry for
DanBars, also the code generated by the webbot:-

[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="&nbsp;|&nbsp;"
V-Separator="<br>"
Preview="bars.gif"

<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;{text-decoration:
none;}&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#"
S-Btn-Sep="&lt;br&gt;" S-Bar="DanBars" -->

I do hope you (or someone) can help.

TIA,

Dan

Stefan B Rusynko said:
You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template


--




| Chris and Tom - I'm using an HTML style from near the end of the Style
tab
| that comes up when making a new Link Bar with custom links - it's the
one
| called "An HTML style where each link is separated by a vertical
line.", and
| I'm using it for a simple vertical nav bar. It appears that I can
change
| some of the characteristics (there's a style= in the webbot code that
sets
| the text-decoration, so I can change that), but I'm stymied trying to
| control text color. Since this style doesn't appear in the Themes, I
can't
| get at it that way, and setting the color, weight etc. outside the
webbot
| doesn't work. ANY help greatly appreciated - the style does pretty
well
| exactly what I want for this link bar, except for color, weight, font
and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag. which
one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions deal
| > with.
| > sometimes what you see in code view is different than what you'll see
if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| > http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components
use (FP
| >> 2003)? I mean the code generated inside the <!--webbot bot.... -->
bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.com
| >>
| >>
| >
| >
|
|
 
D

Dan E

Ron - before I try this - do you mean insert the existing webbot CODE
immediately after the <div class="nav">, OR - insert a new link bar through
Link bar custom links|Link bar properties etc., then make sure the code is
where you indicate? I already use an external style sheet, so the style is
no problem.

TIA,

Dan
Ronx said:
Try this:

In head section of page (or external style sheet)

<style>
.nav a{text-decoration: none;
color: #000080;
font: 12px Arial,Helvetica;
letter-spacing: 0px;
}
</style>

In the body of the page

<div class="nav"> <!-- navigation bar goes here --> </div>

<div can be replaced by <span

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Dan E said:
Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini,
then, in the original, took a copy of [Bars], which is the one I was
using, declared it to be [DanBars], changed the NAME to DanBars, edited
the STYLE= part, saved it, opened FP2003, opened st11.dwt (the dwt using
Bars), edited the link bar with custom links to use the style DanBars
(which now existed in the available styles), closed FP, re-opened it and
opened st11.dwt, and behold, the code inside the <!webbot...> for that
bar was no different from the previous version of the code, except that,
at the end, it had S-Bar="DanBars" -->. So I don't know what
happened/happens in between the bot reading the ini and squirting code
into the page code. Just in case you can help, here is the .ini entry
for DanBars, also the code generated by the webbot:-

[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical
line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="&nbsp;|&nbsp;"
V-Separator="<br>"
Preview="bars.gif"

<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;{text-decoration:
none;}&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#"
S-Btn-Sep="&lt;br&gt;" S-Bar="DanBars" -->

I do hope you (or someone) can help.

TIA,

Dan

Stefan B Rusynko said:
You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template


--




| Chris and Tom - I'm using an HTML style from near the end of the Style
tab
| that comes up when making a new Link Bar with custom links - it's the
one
| called "An HTML style where each link is separated by a vertical
line.", and
| I'm using it for a simple vertical nav bar. It appears that I can
change
| some of the characteristics (there's a style= in the webbot code that
sets
| the text-decoration, so I can change that), but I'm stymied trying to
| control text color. Since this style doesn't appear in the Themes, I
can't
| get at it that way, and setting the color, weight etc. outside the
webbot
| doesn't work. ANY help greatly appreciated - the style does pretty
well
| exactly what I want for this link bar, except for color, weight, font
and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag. which
one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions
deal
| > with.
| > sometimes what you see in code view is different than what you'll
see if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| > http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components
use (FP
| >> 2003)? I mean the code generated inside the <!--webbot bot.... -->
bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.com
| >>
| >>
| >
| >
|
|
 
D

Dan E

Ron - tried it and it worked like a charm! Many thanks. A follow-up - how
do I incorporate a:hover in the style so that, in the bot, the hovered link
changes color (to red, say)? I already have, earlier in the external style
sheet, an a:hover part -

a:hover {
color: Red;
text-decoration: underline;
}
but the bot now doesn't show red text when I hover.

TIA,

Dan
Ronx said:
Try this:

In head section of page (or external style sheet)

<style>
.nav a{text-decoration: none;
color: #000080;
font: 12px Arial,Helvetica;
letter-spacing: 0px;
}
</style>

In the body of the page

<div class="nav"> <!-- navigation bar goes here --> </div>

<div can be replaced by <span

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Dan E said:
Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini,
then, in the original, took a copy of [Bars], which is the one I was
using, declared it to be [DanBars], changed the NAME to DanBars, edited
the STYLE= part, saved it, opened FP2003, opened st11.dwt (the dwt using
Bars), edited the link bar with custom links to use the style DanBars
(which now existed in the available styles), closed FP, re-opened it and
opened st11.dwt, and behold, the code inside the <!webbot...> for that
bar was no different from the previous version of the code, except that,
at the end, it had S-Bar="DanBars" -->. So I don't know what
happened/happens in between the bot reading the ini and squirting code
into the page code. Just in case you can help, here is the .ini entry
for DanBars, also the code generated by the webbot:-

[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical
line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="&nbsp;|&nbsp;"
V-Separator="<br>"
Preview="bars.gif"

<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;{text-decoration:
none;}&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#"
S-Btn-Sep="&lt;br&gt;" S-Bar="DanBars" -->

I do hope you (or someone) can help.

TIA,

Dan

Stefan B Rusynko said:
You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template


--




| Chris and Tom - I'm using an HTML style from near the end of the Style
tab
| that comes up when making a new Link Bar with custom links - it's the
one
| called "An HTML style where each link is separated by a vertical
line.", and
| I'm using it for a simple vertical nav bar. It appears that I can
change
| some of the characteristics (there's a style= in the webbot code that
sets
| the text-decoration, so I can change that), but I'm stymied trying to
| control text color. Since this style doesn't appear in the Themes, I
can't
| get at it that way, and setting the color, weight etc. outside the
webbot
| doesn't work. ANY help greatly appreciated - the style does pretty
well
| exactly what I want for this link bar, except for color, weight, font
and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag. which
one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions
deal
| > with.
| > sometimes what you see in code view is different than what you'll
see if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| > http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components
use (FP
| >> 2003)? I mean the code generated inside the <!--webbot bot.... -->
bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.com
| >>
| >>
| >
| >
|
|
 
R

Ronx

In your existing style sheet either:

change

a:hover {

to

a:hover, .nav a:hover {

This uses your existing style for the nav bar

OR

add a new style:

..nav a:hover {color: red;}

Note that whichever choice you make, .nav a { styles
must appear in the style sheet *before* the a:hover styles.

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Dan E said:
Ron - tried it and it worked like a charm! Many thanks. A follow-up - how
do I incorporate a:hover in the style so that, in the bot, the hovered
link changes color (to red, say)? I already have, earlier in the external
style sheet, an a:hover part -

a:hover {
color: Red;
text-decoration: underline;
}
but the bot now doesn't show red text when I hover.

TIA,

Dan
Ronx said:
Try this:

In head section of page (or external style sheet)

<style>
.nav a{text-decoration: none;
color: #000080;
font: 12px Arial,Helvetica;
letter-spacing: 0px;
}
</style>

In the body of the page

<div class="nav"> <!-- navigation bar goes here --> </div>

<div can be replaced by <span

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Dan E said:
Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini,
then, in the original, took a copy of [Bars], which is the one I was
using, declared it to be [DanBars], changed the NAME to DanBars, edited
the STYLE= part, saved it, opened FP2003, opened st11.dwt (the dwt using
Bars), edited the link bar with custom links to use the style DanBars
(which now existed in the available styles), closed FP, re-opened it and
opened st11.dwt, and behold, the code inside the <!webbot...> for that
bar was no different from the previous version of the code, except that,
at the end, it had S-Bar="DanBars" -->. So I don't know what
happened/happens in between the bot reading the ini and squirting code
into the page code. Just in case you can help, here is the .ini entry
for DanBars, also the code generated by the webbot:-

[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical
line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="&nbsp;|&nbsp;"
V-Separator="<br>"
Preview="bars.gif"

<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;{text-decoration:
none;}&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#"
S-Btn-Sep="&lt;br&gt;" S-Bar="DanBars" -->

I do hope you (or someone) can help.

TIA,

Dan

You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template


--




| Chris and Tom - I'm using an HTML style from near the end of the
Style tab
| that comes up when making a new Link Bar with custom links - it's the
one
| called "An HTML style where each link is separated by a vertical
line.", and
| I'm using it for a simple vertical nav bar. It appears that I can
change
| some of the characteristics (there's a style= in the webbot code that
sets
| the text-decoration, so I can change that), but I'm stymied trying to
| control text color. Since this style doesn't appear in the Themes, I
can't
| get at it that way, and setting the color, weight etc. outside the
webbot
| doesn't work. ANY help greatly appreciated - the style does pretty
well
| exactly what I want for this link bar, except for color, weight, font
and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag.
which one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions
deal
| > with.
| > sometimes what you see in code view is different than what you'll
see if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| > http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components
use (FP
| >> 2003)? I mean the code generated inside the <!--webbot
bot.... --> bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.com
| >>
| >>
| >
| >
|
|
 
D

Dan E

Many thanks, Ron - that's working well, though I'm having some teething
troubles. Can that method be generalised to have a hover color change in
FP2003 Themes, where there doesn't seem to be any way to change the text
color for hover in vertical navigation link bars?

TIA,

Dan
Ronx said:
In your existing style sheet either:

change

a:hover {

to

a:hover, .nav a:hover {

This uses your existing style for the nav bar

OR

add a new style:

.nav a:hover {color: red;}

Note that whichever choice you make, .nav a { styles
must appear in the style sheet *before* the a:hover styles.

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Dan E said:
Ron - tried it and it worked like a charm! Many thanks. A follow-up -
how do I incorporate a:hover in the style so that, in the bot, the
hovered link changes color (to red, say)? I already have, earlier in the
external style sheet, an a:hover part -

a:hover {
color: Red;
text-decoration: underline;
}
but the bot now doesn't show red text when I hover.

TIA,

Dan
Ronx said:
Try this:

In head section of page (or external style sheet)

<style>
.nav a{text-decoration: none;
color: #000080;
font: 12px Arial,Helvetica;
letter-spacing: 0px;
}
</style>

In the body of the page

<div class="nav"> <!-- navigation bar goes here --> </div>

<div can be replaced by <span

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini,
then, in the original, took a copy of [Bars], which is the one I was
using, declared it to be [DanBars], changed the NAME to DanBars, edited
the STYLE= part, saved it, opened FP2003, opened st11.dwt (the dwt
using Bars), edited the link bar with custom links to use the style
DanBars (which now existed in the available styles), closed FP,
re-opened it and opened st11.dwt, and behold, the code inside the
<!webbot...> for that bar was no different from the previous version of
the code, except that, at the end, it had S-Bar="DanBars" -->. So I
don't know what happened/happens in between the bot reading the ini and
squirting code into the page code. Just in case you can help, here is
the .ini entry for DanBars, also the code generated by the webbot:-

[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical
line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="&nbsp;|&nbsp;"
V-Separator="<br>"
Preview="bars.gif"

<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="&lt;A HREF=&quot;#URL#&quot;
TARGET=&quot;#TARGET#&quot; STYLE=&quot;{text-decoration:
none;}&quot;&gt;#LABEL#&lt;/A&gt;" S-Btn-Sel="#LABEL#"
S-Btn-Sep="&lt;br&gt;" S-Bar="DanBars" -->

I do hope you (or someone) can help.

TIA,

Dan

You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template


--




| Chris and Tom - I'm using an HTML style from near the end of the
Style tab
| that comes up when making a new Link Bar with custom links - it's
the one
| called "An HTML style where each link is separated by a vertical
line.", and
| I'm using it for a simple vertical nav bar. It appears that I can
change
| some of the characteristics (there's a style= in the webbot code
that sets
| the text-decoration, so I can change that), but I'm stymied trying
to
| control text color. Since this style doesn't appear in the Themes,
I can't
| get at it that way, and setting the color, weight etc. outside the
webbot
| doesn't work. ANY help greatly appreciated - the style does pretty
well
| exactly what I want for this link bar, except for color, weight,
font and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag.
which one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions
deal
| > with.
| > sometimes what you see in code view is different than what you'll
see if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| > http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components
use (FP
| >> 2003)? I mean the code generated inside the <!--webbot
bot.... --> bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.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