Double Behavior Problem

J

Jrmy1850

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
 
S

Steve Easton

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>
 
J

Jrmy1850

I guess my question is that shouldn't that be taken care of through the
"behaviors function"?
 
J

Jrmy1850

Yes i did. but doesnt seem to work. interestingly enough if i try the same
command outside of the cell, it works perfectly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top