Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery help….

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35334
    stevedeer
    Member

    I posted this in the middle of someone elses thread, it got missed so I thought I’d start my own thread.

    I’m trying to do my first little bit of jQuery. I’ve set up a fiddle…

    http://jsfiddle.net/stevedeer/Pbm3w/32/

    I’m trying to reveal the hidden div “#boxtoreveal” by using the paragraph box “p.trigger” as the trigger (the div should ease down, and then ease back up when the trigger is pressed again.

    In the javascript pane I’ve used BoringCode’s suggestion, but added my own tags (here in orange)…


    This doesn’t seem to work, can anyone provide a pointer as to what I’m doing wrong.

    Thanks in advance

    Steve

    #91331
    tomslick
    Member

    add this at the end

     });

    like this


    #91336
    stevedeer
    Member

    tom

    you’re a superstar… it worked perfectly!!!

    out of interest, what do these characters mean… ‘});//]]>’, they appear above the graphics in the jsfiddle result panel.

    #91344
    tomslick
    Member

    there were extra characters
    that would be the

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.