• My site, http://www.caa-cvd.cl , has a little JS function to fall a bit the background of the rightbar. So this is it:

    <script type="text/javascript" language="javascript">
    function toggle(id) {
     window.document.getElementById('rightbar').style.paddingTop="30px";
     window.document.getElementById("rightbar").style.backgroundPosition="3px 15px";
     window.document.getElementById('smenu-quienes').style.visibility="hidden";
     window.document.getElementById('smenu-areas').style.visibility="hidden";
     window.document.getElementById(id).style.visibility="visible";
    }
    </script>

    The problem with IE7 appears with the “backgroundPosition” property (I’ve tried it without that part, and it doesn’t show any errors).

    The error is:

    Line: 14
    Character: 3018
    Error: Expected ')'
    Code: 0

    So what is this about?

    Thanks,

  • The topic ‘IE7 Javascript problem’ is closed to new replies.