Help with this code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mr. Teatime

    #1

    Help with this code

    Hi, if you go to http://www.teatime.pwp.blueyonder.co.uk/music.htm, there's
    some java on there that I can't get to work correctly on some computers. The
    page should load with the 'more information' parts collapsed, bvut on some
    computers, like mine (win xp, IE 6) it loads expanded. Can anyone help. I am
    very new to java and most of the code was something someone else did for me,
    and I have had no luck searching webpages for how to get it to work. TIA.

    --
    My music - http://www.teatime.pwp.blueyonder.co.uk/



  • Lee

    #2
    Re: Help with this code

    Mr. Teatime said:[color=blue]
    >
    >Hi, if you go to http://www.teatime.pwp.blueyonder.co.uk/music.htm, there's
    >some java on there that I can't get to work correctly on some computers. The
    >page should load with the 'more information' parts collapsed, bvut on some
    >computers, like mine (win xp, IE 6) it loads expanded. Can anyone help. I am
    >very new to java and most of the code was something someone else did for me,
    >and I have had no luck searching webpages for how to get it to work. TIA.[/color]

    I'm probably only going to be the first of many to point
    out that there is no Java on that page. It's Javascript.
    I'm not just being picky. They're really very different.

    Replacing every instance of
    class="open"
    with
    class="closed"
    should correct the problem.

    Comment

    • Mr. Teatime

      #3
      Re: Help with this code

      [color=blue]
      > Replacing every instance of
      > class="open"
      > with
      > class="closed"
      > should correct the problem.
      >[/color]

      That seems to have work, does this make a lot of the script redundant
      though? I thought that the way the script was written, if someone had
      javascript disabled, it would display all the text on the page anyway, and I
      thought the class="open" was part of that.


      Comment

      Working...