|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Suppose somebody click to <TD> in <table>. In this case I need to catch this event and change background for this row.
It's realy easy under IE, I did it, but how can I do somthing like this under NC? I haven't found even onClick event for <td> or <tr>. May be you have any other idea to solve problem like this. Also does anybody know how I can define different color for ACTIVE link which placed at one page? Thanks. Dmitry |
|
#2
|
|||
|
|||
|
You can't.
(sorry) Netscape4 retiles TR's for each TD. I assume you have a background graphic that needs to line up through a TR, all I can suggest you do is break up the background graphic and individually tile each TD. Either that or use some CCS-P. Either that, or if the table's near the top of the page you could use a CSS background: for your BODY and only tile once. |
|
#3
|
|||
|
|||
|
Also, Netscape can't capture onclick events from a <TR> or <TD>. Actually Netscape 4.x can only capture onclick events from <A HREF...> and FORM elements, such as input boxes, buttons, etc... No other HTML elements are exposed to scripting directly. (Netscape 6 is more like IE)
And...also, Netscape has a very different way of dealing with HTML elements and images from IE. You should check out http://developer.netscape.com/docs/...jsref/index.htm, and see how Netscape handles the backgroundImage property of HTML elements. [This message has been edited by rycamor (edited October 22, 2000).] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > how I can change background for a row in a table for NC? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|