hello everybody.
Can sb please make a js function for me that changes the backgroundcolor of the tablerow on mouse over and the function that opens a new link in the window.
For example:
PHP:1
2
3
4
| <tr style="cursor: pointer;"
onclick="switchColor('#EE0000'); accessLink('example/fun.html','_self'); onmouseover="switchColor('#DDDDDD','tablebutton1')"
onmouseout="switchColor('#FFFFFF', 'tablebutton1')"
id="tablebutton1"> |
I don't know any JS so I cant do it...Would be great if sb of you can do it...
so thats what i need i guess:
switchColor (color,rowID)
accessLink (url,target)
i guess you can see what i am trying to do. I want to make a froum that has all stuff in a row, and the user can click on the row to enter the topic ...
Thank you in advance.