PC Review


Reply
Thread Tools Rate Thread

How do I change the colour of a table when I put my mouse over it?

 
 
Testing testing one two
Guest
Posts: n/a
 
      17th Jun 2004
As above.

I like the way these buttons work http://www.5prime.com/2003/en/index.html
how do I do it?

Cheers
John


 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a
 
      17th Jun 2004
By using CSS creating a class for the A tag, creating the hover attribute within the class
and then assigning the class to the a
Here's the css from the page:

A.clMain:hover
{
COLOR: #003366;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 11px;
FONT-WEIGHT: bold;
TEXT-DECORATION: underline
}

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer

"Testing testing one two" <(E-Mail Removed)> wrote in message
news:casdql$lq5$(E-Mail Removed)...
> As above.
>
> I like the way these buttons work http://www.5prime.com/2003/en/index.html
> how do I do it?
>
> Cheers
> John
>
>



 
Reply With Quote
 
MD Websunlimited
Guest
Posts: n/a
 
      17th Jun 2004
Hi John,

Those "buttons" are text within a table using CSS to change the style of the cell. You can accomplish this by hand or use a tool
such as J-Bots CSS Link Bar Menu Maker
http://www.websunlimited.com/order/P...u/css_menu.htm

Note the menu used on the WU site are created using the above.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
J-Bots Plus 2002 87 components for FrontPage
http://www.websunlimited.com/order/P...p_help_dir.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible



"Testing testing one two" <(E-Mail Removed)> wrote in message news:casdql$lq5$(E-Mail Removed)...
> As above.
>
> I like the way these buttons work http://www.5prime.com/2003/en/index.html
> how do I do it?
>
> Cheers
> John
>
>



 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      17th Jun 2004
Hi,
Make the whole table cell into a clickable link, eg
<style type="text/css">
#theTable a{
color: #fff;
background-color: #f00;
display:block;
position:relative;
}
#theTable a:hover{
background-color: #00f;
}
#theTable td{
width:150px;
}
</style>
<table id="theTable">
<tr>
<td><a href="page.htm">link text</a></td>
...etc

Change font/colors etc to suit. Although it might be better practice to use
a list for this type of menu - "semantics" is the current buzzword :-)

--
Cheers,
Jon
Microsoft MVP - FP

"Testing testing one two" <(E-Mail Removed)> wrote in message
news:casdql$lq5$(E-Mail Removed)...
> As above.
>
> I like the way these buttons work http://www.5prime.com/2003/en/index.html
> how do I do it?
>
> Cheers
> John
>
>



 
Reply With Quote
 
John Jansen \(MSFT\)
Guest
Posts: n/a
 
      17th Jun 2004
If you have FrontPage 2003, you can simply select the table cell and click
on Format > Behaviors and create a change property behavior using the
taskpane.

--
Thanks!
John Jansen
Microsoft Office FrontPage
This posting is provided "AS IS" with no warranties, and confers no rights.
"Testing testing one two" <(E-Mail Removed)> wrote in message
news:casdql$lq5$(E-Mail Removed)...
> As above.
>
> I like the way these buttons work http://www.5prime.com/2003/en/index.html
> how do I do it?
>
> Cheers
> John
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the colour in the Layout Fields in a Pivot Table John Microsoft Excel Misc 1 8th Oct 2008 01:47 PM
How to change the colour intensity under the mouse pointer Norway's Agent6 Windows Vista Performance 1 11th Sep 2008 02:51 PM
change back colour with values from a table =?Utf-8?B?TW9oYW4=?= Microsoft Access Forms 0 8th Dec 2006 03:56 AM
ATTN:Paul B - Re: Change cell fill colour on mouse click PHB Microsoft Excel Discussion 4 25th Oct 2004 09:09 PM
Change cell fill colour on mouse click PHB Microsoft Excel Discussion 1 23rd Oct 2004 12:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:24 AM.