DIV help!

Out of context: Reply #7

  • Started
  • Last post
  • 13 Responses
  • CygnusZero40

    Well I tried this and its not working.

    <script type="text/javascript">
    function hideshow(which){
    document.getElementById('adiv1... = "table-cell";
    which.style.display="block"
    }
    </script>
    <a href="javascript:hideshow(document.getElementById('adiv1'))"><font size="2" face="Arial" color="#194798"><strong>Option 1</strong></font></a>
    <div id="adiv1" style="display: none; vertical-align:top;"><font size="2" face="Arial" color="#000000" style="text-align:left">Option 1 description<img src="" width="215" height="100" /></font></div>

View thread