Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
irdsman #1
Creating Table Row Color Change on Roll-over
I would like to create the effect of a highlighted row in a table, on a PHP generated page, when the user rolls over a row.
How is this done?
Thx
irdsman Guest
-
Color change after flatten?
I am using CS on OS 10.3.3. I was working on an image that had about 20-30 layers, about 10 of those where verious color correction layers. Curves,... -
how to change Hand Icon on Roll Over
Hi, How can I change the default Hand icon from a button link to a regular arrow? Flash MX, Windows Xp pro, thanks Mic -
Can't change background color
The area of the screen outside of the editing area of Image Ready used to be a light gray color. This would make it easy for me to see where the... -
Color Change Objects.
I have not yet purchased photoshop, so my question is to find out if Photoshop is the right product for my project. I want to create a ecommerce... -
Color Change
hi; quick question: how can i chang the Background Color of the Current Record in a Continuous Form. thanks in advance; -
Troyan #2
Re: Creating Table Row Color Change on Roll-over
The JS functions:
<script type="text/javascript"> rootcolors=[];
function troyan_bgc(trg,cl) { rootcolors[trg]=trg.style.background; trg.style.background=cl; }
function troyan_bgb(trg) { trg.style.background=rootcolors[trg]; }
</script>
The table code:
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background: lightBlue;" onmouseover="troyan_bgc(this,'chartreuse');"
onmouseout="troyan_bgb(this);"> Contents </td>
</tr>
</table>
The most important is..
<td style="background: lightBlue;" onmouseover="troyan_bgc(this,'chartreuse');"
onmouseout="troyan_bgb(this);"> Contents </td>
Where in the style attribute, in the "background" option, you choose the original bgcolor. In the
mouseover, where is 'chartreuse', you choose the mouseover color. The mouseout attribute are
fully-automatic. It backs to the original color (specified in the "style").
You can consider using of tableless instead of tables in your page. If you want some information
about tableless, go to W3C Home: [url]www.w3.org[/url].
Sorry for the write errors, I don't speak English so well...
[]s
--
- Rio de Janeiro, Brasil
- Troyan <dnunes[at]email[dot]com>
Troyan Guest
-
Al Sparber- PVII #3
Re: Creating Table Row Color Change on Roll-over
Troyan wrote:
Or you can do download our SwapClass or MultiClass behaviors. Quite a> The JS functions:
bit of power.
--
Al Sparber - PVII
[url]http://www.projectseven.com[/url]
Dreamweaver Extensions - DesignPacks - Tutorials - Books
---------------------------------------------------------------------
The PVII Newsgroup | [url]news://forums.projectseven.com/pviiwebdev[/url]
The CSS Newsgroup | [url]news://forums.projectseven.com/css[/url]
---------------------------------------------------------------------
Al Sparber- PVII Guest



Reply With Quote

