Jump to content

Change pointer on mouse over table element


Staggan

Recommended Posts

Hello

 

I am trying to change my mouse pointer when it hovers over a table element

 

 

This is where I create my table elements:

 


$genTableArray[$rowIndex][] = "<td rowspan='{$rowspan}' onClick=LinkTo(this) >{$familyTreeArray[$personIndex]} $dob </td> \n";    }}

 

 

I tried this:

 



$genTableArray[$rowIndex][] = "<td rowspan='{$rowspan}' style="color:#2172A1" onMouseOver="this.style.color='white';this.style.backgroundColor='#2172A1'; this.style.cursor='hand';"  onClick=LinkTo(this) >{$familyTreeArray[$personIndex]} $dob </td> \n";    }}

 

But my editor throws a fit...

 

Any ideas?

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.