אני רוצה לשנות את העיצוב של טקסט-תוכן תא, ושל התא, במעבר ויציאת עכבר
תעשה לאובייקט שבonmouseover למשל יהיה: this.class="another class"
עד עכשיו השתמשתי בקוד: קוד: <td id='' class='cell_menu' onMouseOver=this.style.backgroundColor='#ccff66' onMouseOut=this.style.backgroundColor='' onclick="window.location.href=''"> <span class='menu_link' onMouseOver=this.style.color='#0a4103' onMouseOut=this.style.color='#0a4103'> קישורים </span> </td> נסיתי להחליף אותו ל: קוד: <td id='' class='cell_menu' onMouseOver="this.class='cell_menu_over'" onMouseOut=this.class='cell_menu' onclick="window.location.href=''"> <span class='menu_link' onMouseOver=this.class='menu_link_over' onMouseOut=this.class='menu_link'> קישורים </span> </td> אבל נאדה, זה לא משנה את ה'מחלקה' במעבר/יציאת עכבר
<td id='' class='cell_menu' onMouseOver=this.style.backgroundColor='#ccff66' onMouseOut=this.style.backgroundColor='' onclick="window.location.href=''"> <span class='menu_link' onMouseOver=this.style.color='#0a4103' onMouseOut=this.style.color='#0a4103'> קישורים </span> </td>
<td id='' class='cell_menu' onMouseOver="this.class='cell_menu_over'" onMouseOut=this.class='cell_menu' onclick="window.location.href=''"> <span class='menu_link' onMouseOver=this.class='menu_link_over' onMouseOut=this.class='menu_link'> קישורים </span> </td>
this.className
[התמונה הבאה מגיעה מקישור שלא מתחיל ב https ולכן לא הוטמעה בדף כדי לשמור על https תקין: http://www.hmemcpy.com/SpyCQCounter.png]