Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Possible to hover over one object & format another object?
Old 11-27-2003, 11:19 AM Possible to hover over one object & format another object?
Average Talker

Posts: 21
Trades: 0
Hi, I have a couple of images in cells of a table, as well as some text in another table cell.

I want the text to change colour when I hover over an image. Is this possible? Can CSS change the formatting of an object that it doesn't directly apply to?

Also, how can I make the whole table clickable and point to the same link? I tried the code below but only the border of the table is clickable.

---------------------------
<a class="class1" href="myLink.html">
<table>
<tr>
<td><img src="image1.jpg"></td>
</tr>
<tr>
<td>This is my content text.</td>
</tr>
<tr>
<td><img src="image2.jpg"></td>
</tr>
</table>
</a>
---------------------------

Any ideas?

Thx,
May
may_hem1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-27-2003, 12:11 PM
OnlyPhp.Com's Avatar
Extreme Talker

Posts: 177
Location: World
Trades: 0
There are some dHTML tutorials over internet for what you're asking. If you make a search around Google I'm sure you'll find it (hint : search dHTML)
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
OnlyPhp.Com is offline
Reply With Quote
View Public Profile Visit OnlyPhp.Com's homepage!
 
Old 11-27-2003, 01:01 PM
Average Talker

Posts: 21
Trades: 0
Hi OnlyPhp,

I'm looking for a non-JavaScript solution, so no MouseOvers.

I have already spent 2 hours searching & testing code but can't make it work.

Does anyone else have any ideas?

Thx,
May
may_hem1 is offline
Reply With Quote
View Public Profile
 
Old 11-28-2003, 06:41 AM
Ultra Talker

Posts: 377
Trades: 0
hmm... i'm not sure that you can do it without onMouseOver... May i know, why are you looking for a non-javascript solution??
__________________
andrews_john

Please login or register to view this content. Registration is FREE
andrews_john is offline
Reply With Quote
View Public Profile Visit andrews_john's homepage!
 
Old 11-28-2003, 07:13 AM
Junior Talker

Posts: 3
Trades: 0
As said it is possible with JavaScript, not hard either.

I don't know why you do not want to use JavaScript but I think you should try it.

Although I do not know how to make the whol table clickable, unless you put a linked div layer over the top, not tried, not tested, just an idea.
__________________
If logic is of no use with out knowledge, what use am I? ~ Sk8rRIMuk
Sk8rRIMuk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Possible to hover over one object & format another object?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21635 seconds with 12 queries