The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> highlight row and column
houseofspeed
post Nov 20 2007, 07:38 PM
Post #1





Group: Members
Posts: 3
Joined: 20-November 07
Member No.: 4,361



hi all,

I am a complete newbie to this site. just a little about myself, i was in the IT industry for about 9 years but quit that to follow my passion of motorcycles. here is my site as it stands at the moment. http://www.houseofspeed.com.au i was just starting to get into web developing when i decided to quit.

OK now to my question, as you can see on this page http://www.houseofspeed.com.au/store/openExtra.asp?extra=11 it is a rather largeish sort of table. the row highlights fine but the column doesnt.

here a basic table of the code i am using


<table border=1 align=center>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>1</td>
<td align=right>2</td>
<td align=right>3</td>
<td align=right>4</td>
</tr>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>5</td>
<td align=right>6</td>
<td align=right>7</td>
<td align=right>8</td>
</tr>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>9</td>
<td align=right>10</td>
<td align=right>11</td>
<td align=right>12</td>
</tr>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>13</td>
<td align=right>14</td>
<td align=right>15</td>
<td align=right>16</td>
</tr>
</table>



is it possible to have the row and the column highlighted together. also if thats easy enough, can the row and column be highlighted up to where the cell is located.

thank you in advance.
regards
Con

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 20 2007, 08:06 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Had this bookmarked. Never got around to checking it out, so FWIW...
http://lawrence.ecorp.net/inet/samples/dht...cols-rows.shtml

Hey, I saw The World's Fastest Indian recently. It was cool. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
houseofspeed
post Nov 20 2007, 08:20 PM
Post #3





Group: Members
Posts: 3
Joined: 20-November 07
Member No.: 4,361



Thank you for the link, this is pretty much what I want, but I am updating my site through a CMS and it is pasting my code in there, i dont have access to the CSS for my site, but I can ask the webmaster , we'll see

are there any other solutions to this without CSS, as when i update the code for a particular page it is just pasted in to a particular spot with in the body of the page, i dont have access to the head at all

thanks again and am looking forward to any other replies

regards
Con

P.S people say that I am like that guy in the movie, always in the garage building bikes.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
houseofspeed
post Nov 22 2007, 06:30 PM
Post #4





Group: Members
Posts: 3
Joined: 20-November 07
Member No.: 4,361



Hi guys

Can anyone help at all with this biggrin.gif biggrin.gif

regards
Con
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 22 2007, 06:38 PM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



The only one who can help you to get out of the CMS editor is - you. tongue.gif

Or ask this webmaster to do it for you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Nov 23 2007, 03:10 AM
Post #6


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



Just to share another url, which does highlight row *and* column: http://cssglobe.com/lab/tablecloth/, but I don't see how to do that without CSS and/or Javascript.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 12:18 AM