HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 21st, 2000, 01:40 PM
Dmitry Dmitry is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Atlanta,GA,USA
Posts: 8 Dmitry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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


Reply With Quote
  #2  
Old October 21st, 2000, 11:54 PM
Holloway Holloway is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 5 Holloway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old October 22nd, 2000, 09:03 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 56
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).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > how I can change background for a row in a table for NC?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT