FP2003 Search Web Component

D

deacon

Is there any way to modify the font or font colors of the "Search for text"
when using the search component in FP2003? Also, is there any way to change
the "start search" and "reset" buttons to some sort of custom button?
 
T

Tom Pepper Willett

No, sorry.
--
===
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/
===
| Is there any way to modify the font or font colors of the "Search for
text"
| when using the search component in FP2003? Also, is there any way to
change
| the "start search" and "reset" buttons to some sort of custom button?
 
J

Jim Buyens

Save and close the page, then right-click it in the
Folder list and open it as text. Delete the two
<!--webbot bot="Search" ...> tags, save the page,
reopen it as HTML, and have your way with it.

Be aware, however, that FrontPage will no longer self-adjust your search
settings when you publish or relocate your site.

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

Jim Buyens

It means that if you try this and get it working, then publish the site to
another server, it may not work on the second server because paths or
settings on each server are different.

After you do this, you see, FrontPage no longer "knows" that the HTML is a
Web Search component. So, for example, a Recalculate Hyperlinks won't fix it
in cases where Recalculate Hyperlinks *would* fix an unmodiified Web Search
component.

I mean, this *isn't* as supported practice.

The supported practices are:

How to query Index Server data by using ASP in FrontPage 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;825487

HOW TO: Use an ASP.NET Application to Query an Indexing Service Catalog by
Using Visual Basic .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;820105

HOW TO: Use an ASP.NET Application to Query an Indexing Service Catalog by
Using Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;820983

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

deacon

Thanks Jim, I am hosted on a Linux Server so I think the ASP stuff is out. I
worked around it by putting the search component in a table and surrounded
the buttons with a lighter background color so that the "Search for:" text
shows up better. It's not perfect but at least people can read it now. I
think the only two colors MS knows are grey and black :) Once again, thanks
for your help.
 
S

Stefan B Rusynko

I wouldn't apply style to the TD
The search renders in a browser as
<p><input type="text" name="search" size="20"></p>
<p><input type="submit" value="Search"> <input type="reset" value="Reset"></p>

Create a style for input (for the buttons)
You can make some pretty ugly (and probably not universally suppprted) styles
Try this
input {
border: thick groove red;
background-color: Aqua;
color: Black;
font-weight: bold;
text-align: center;
margin: 5px 10px 5px 10px;
width: 200px;
border-color: Blue Black Fuchsia Green;
border-style: double double double double;
border-left-width: thick;
border-right-width: thick;
border-top-width: thick;
font-style: normal;
font: "MS Sans Serif", Geneva, sans-serif;
letter-spacing: 5px;
}

I just like to add the following meta tag in the head section to allow it to look like the users windows settings
<meta http-equiv="MSThemeCompatible" content="Yes">




| Staying within the limits imposed by the search bot, see
| www.rxs-enterprises.org/tests/search_form.htm
|
| --
| Ron Symonds (Microsoft MVP - FrontPage)
| Reply only to group - emails will be deleted unread.
|
|
| | > Is there any way to modify the font or font colors of the "Search for
| > text"
| > when using the search component in FP2003? Also, is there any way to
| > change
| > the "start search" and "reset" buttons to some sort of custom button?
|
|
 
D

deacon

Thanks for all the input. I can see right off that blue black fuchsia green
does make the the ugliest button I have ever seen :) Also thanks to Ronx
for his link. Lots for me to do now.
 

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