mickieluv
07-09-2004, 02:13 PM
Hello all,
As the title of my post suggests, Im trying to define multiple targets (changing 2 different frames) from a link.
The problem is, the link is not a piece of text or an image, but a table row (with text inside the cell) defined as a link...
i want to use the cell as the link (not the text itself) because i want to use the funky onmouseover state to change the colour of the cell.
heres the code (with only a single link)
<tr>
<td class="folio_button"
onclick="window.location.href='mylink.html'"
onmouseover="this.style.backgroundColor='#FF00FF'; this.style.cursor='hand'; this.style.color='#FFFFFF';"
onmouseout="this.style.backgroundColor='#7C8088'; this.style.color='#CCCCCC';">my link
</td>
</tr>
what i need to know is the syntax for adding another frame to the onclick string... i've tried everything and nothing works, im starting to think its not possible.
please someone tell me its not so!
many thanks... I hope this makes sense, my html is basic at best!
Mike
As the title of my post suggests, Im trying to define multiple targets (changing 2 different frames) from a link.
The problem is, the link is not a piece of text or an image, but a table row (with text inside the cell) defined as a link...
i want to use the cell as the link (not the text itself) because i want to use the funky onmouseover state to change the colour of the cell.
heres the code (with only a single link)
<tr>
<td class="folio_button"
onclick="window.location.href='mylink.html'"
onmouseover="this.style.backgroundColor='#FF00FF'; this.style.cursor='hand'; this.style.color='#FFFFFF';"
onmouseout="this.style.backgroundColor='#7C8088'; this.style.color='#CCCCCC';">my link
</td>
</tr>
what i need to know is the syntax for adding another frame to the onclick string... i've tried everything and nothing works, im starting to think its not possible.
please someone tell me its not so!
many thanks... I hope this makes sense, my html is basic at best!
Mike