How would you go about properly linking a pop-up window? For now I have:
<a href="#" id="pop-up">Contact</a>
But I realized, this link only works if you have Javascript enabled. So I did this:
<a href="/contact/" id="pop-up">Contact</a>
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.
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