And here I thought I was getting this javascript thing down. I’m using the following code to access style compenents. Don’t worry about how it’s changing the styles, it’s just that the code itself is faulty. I get a “expected ‘{‘” error, though it looks fine to me. I have an if/else statement nested within another if statement
<script><!–
function auto(){
if (document.getElementById(“movie”).style.display == “none”){
if (document.getElementById(“notice1”).style.display == “block”) {
document.getElementById(“notice1”).style.display = “none”;
document.getElementById(“notice2”).style.display = “block”
} else if (document.getElementById(“notice2”).style.display == “block”) {
document.getElementById(“notice3”).style.display = “block”;
document.getElementById(“notice2”).style.display = “none”
} else {
document.getElementById(“notice1”).style.display = “block”;
document.getElementById(“notice3”).style.display = “none”
}
}
–></script>