Jump to content


Photo

Table row rollover effect... how and where?


  • Please log in to reply
3 replies to this topic

#1 simcoweb

simcoweb
  • Members
  • PipPipPip
  • Advanced Member
  • 1,102 posts
  • LocationCA

Posted 29 August 2006 - 03:57 PM

I've seen this effect in many places including using PHYMyAdmin. Is this a Javascript or PHP coding element? And, anyone have an example or place to get it? Thanks in advance!

#2 SharkBait

SharkBait
  • Members
  • PipPipPip
  • Advanced Member
  • 845 posts
  • LocationMetro Vancouver, BC

Posted 29 August 2006 - 04:00 PM

You mean in phpMyAdmin where the entire row gets changed a differenet colour?

If that is what you mean then its just javascript that changed the background color attribute of the <tr> tag to display a differnet colour on mouseover and mouseout



#3 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 29 August 2006 - 04:01 PM

This is JavaScript/CSS.
PHPmyAdmin is open source, you can download it here and find out how they are doing it, or you can google/ask in a forum how to do it.

Orio.
Think you're smarty?

(Gone until 20 to November)

#4 simcoweb

simcoweb
  • Members
  • PipPipPip
  • Advanced Member
  • 1,102 posts
  • LocationCA

Posted 29 August 2006 - 04:30 PM

Cool... found it over at Dynamic Drive in case anyone's interested:

http://www.dynamicdr...hlighttable.htm




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users