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.

I use this JavaScript code:

function popupwin(url,w,h){
newwin=window.open(url,'popupwin','width=' + w + ',height=' + h + ',resizable');
return false;
And I use this code to call on the pop-up:

<a class=joke href="humour/joke.php" onClick="return popupwin('humour/joke.php', 300, 450">Click here for the Joke of the Day</a>
Thanks in advance for the help with this problem. As you can see, I am far from being a JavaScript Guru .