Treehouse: Grow your CSS skills. Land your dream job.

jQuery PopUps, Proper Linking?

  • # May 17, 2011 at 3:50 pm

    Hi there,

    How would you go about properly linking a pop-up window? For now I have:


    But I realized, this link only works if you have Javascript enabled. So I did this:


    However, when I click on the link, the window pops up, then go straight to that page. How do you stop it from going to to the page is Javascript is enabled?

    I really thought Chris covered this, but I can’t seem to locate it.

    – Steph

    # May 17, 2011 at 5:12 pm

    did you “return false;” ?

    # May 17, 2011 at 9:22 pm

    Aha! That’s what it was, thank you. I had a brain fart :)

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

You must be logged in to reply to this topic.