I have this link to a pop-up window, but I can't get it to open a pop-up window for me. It either opens nothing, or when I alter the code a bit, opens a blank page in the first window, and not a pop-up.
And I use this code to call on the pop-up:
newwin=window.open(url,'popupwin','width=' + w + ',height=' + h + ',resizable');
<a class=joke href="humour/joke.php" onClick="return popupwin('humour/joke.php', 300, 450">Click here for the Joke of the Day</a>