Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Try to replace the "inherit" with "block". I'm not sure if IE recognize this as a valid value to set via javascript.
Otherwise, it may not be that, but I like my conditions to be explicit, so I would have written it:
Code:
if(isDisplayed==true){
....
}
else{
....
}
I don't see nothing otherwise that would prevent it to work.
Does IE gives you an error message, or does it just "don't work" without error ?
Oh, and by the way, welcome to the forum.
__________________
Only a biker knows why a dog sticks his head out the window.
|