Jump to content

Da Loup

Members
  • Posts

    2
  • Joined

  • Last visited

Da Loup's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. These errors occurs on mouseover:"'Document.right' is null or not an object"Lines 10 & 20 chars 3 & 1
  2. I'm still grasping concepts of Javascript, and I have a personal project going on that I need the mouseover function for, but I can't seem to get it to work. It basically runs down like this, I have a table (In html it'll look like this:<table border="1" width="100%" id="table1"> <tr name="topleft"> <td name="intopleft">Text A</td> <td name="right" rowspan="2">Result A/B</td> </tr> <tr name="bottomleft"> <td name="inbottleft">Text B</td> </tr></table>) Note I'm also not very fluid in html, but stated above this is a personal project.The thing is, I want to use javascript so that I can make it to where when I mouse over the table that has Text A on it, I get Result A, and when I mouse over Table B I get Result B. For instance, if Table A says "Good Morning", when I mouse over that text, the Result A would say "Yes it is a good morning". and if I moused over Table B, which would say "Good Night", then Result B would replace Result A with "I'm tired, going to go to bed. Good night". Both of these results should occur in '<td name="right" rowspan="2>'I know this might be simple if directly explained, but I can't find a direct explanation on how to do this. Your help is much appreciated!
×
×
  • Create New...