User Profile

Collapse

Profile Sidebar

Collapse
swiftouch
swiftouch
Last Activity: Jan 19 '08, 01:34 PM
Joined: Jan 19 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I figured it out.

    The problem code:

    [CODE=javascript]document.getEle mentById('about _us').visibilit y='visible';[/CODE]
    The solution code:

    [CODE=javascript]document.getEle mentById('about _us').style.vis ibility='visibl e';[/CODE]
    I left out style.

    Funny how that took me 45 minutes to see. ARRRG!
    See more | Go to post
    Last edited by gits; Jan 19 '08, 05:40 PM. Reason: added code tags

    Leave a comment:


  • document.getElementById(toggle[i]) has no properties

    I'm getting an error message in FF2.0:

    document.getEle mentById(toggle[i]) has no properties

    The goal of the script is, when I hover my mouse over an image, to make one div element visible while making all the others div elements in the array, hidden.

    thisDocId is the element to avoid hiding.

    This is the script:
    [HTML]<script>
    function makeHidden(this DocId) {
    ...
    See more | Go to post
    Last edited by gits; Jan 19 '08, 05:39 PM. Reason: added code tags
No activity results to display
Show More
Working...