Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

css with tables

Engaged ,
Jul 28, 2008 Jul 28, 2008
hello

i have created a table, that is populated with xml data. when i click on the table row, a pic is displayed in another div. this is working fine.

when i click on the table row, i want that rows background to change to a different colour, which is obviousley a css question. so what event needs to be used in my css file?

hope you can help
TOPICS
Server side applications
282
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 28, 2008 Jul 28, 2008
> so what event needs to be used in my css file?

You cannot put events into a CSS file.

But, you could try using DW's ChangeProperty on the link in the HTML, so
that it changes the background color for the row, as you want.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"malcster2" <webforumsuser@macromedia.com> wrote in message
news:g6kakl$jfg$1@forums.macromedia.com...
> hello
>
> i have created a table, that is populated with xml data. when i click on
> the
> table row, a pic is displayed in another div. this is working fine.
>
> when i click on the table row, i want that rows background to change to a
> different colour, which is obviousley a css question. so what event needs
> to be
> used in my css file?
>
> hope you can help
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 28, 2008 Jul 28, 2008
LATEST
by events, i meant hover and selected

as i am using dw cs3 spry tables, it's quite easy to attach a class for hover and selected as a built in option when setting up the table, so this is no longer a problem
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines