Double Behavior Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ive set up a cell in a table to change properties when you mouse over it.
that works perfectly. the problem im having is that i then added some words
in that cell that i want to change colors when they are moused over and go
back to the original color when you mouse out. The color changes fine but it
wont change back on mouse out even though i have it set to do so. If i take
the words out of the cell then it works perfectly but if i put the words back
intot he cell then it doesnt work.
http://www.phoenixentertainment.net/index2.html
 
You're trying to call a variable with onmousover.
onmouseover="var

You need to call a function that contains or uses the variable.
<script>
var d
function getvariable(){
d = something
}
</script>
 
I guess my question is that shouldn't that be taken care of through the
"behaviors function"?
 
Yes i did. but doesnt seem to work. interestingly enough if i try the same
command outside of the cell, it works perfectly.
 
Back
Top