Give help. Get help.

  • # May 21, 2009 at 11:59 pm

    Hi everyone !
    I’m having some trouble with the jQuery library
    I would like to vanish some text when i click on a link
    I tried with addClass or toggleClass, but it doesn’t works
    I want to make disapear text included in the class .slot_text
    here is my code
    ( sorry for my english , i’m very bad)

    # May 22, 2009 at 6:00 am

    Why bother with adding and removing classes when you can use the hide function instead?

    $(function() {
    # May 22, 2009 at 2:47 pm

    You wouldnt be changing the css at all. you would simply change the display value to none. it does not alter the css file in any way. simply set a display: none property to the element

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.