<select name="country"> <option value="Ireland">Ireland</option> .... </select>
<form action="blah.php"> <label for="name">Name: <input type="text" id="name" name="name" /></label> <label for="country">Country <select name="country" id="country"> <option value="Ireland">Ireland</option> ... (you can populate these : ) ) </select></label> <input type="submit" name="submit" id="submit" value="Submit" /> </form>
function popupCookie(){ var newwin = window.open('setcookie.html', 'cookieWin', 'scrollbars=no, width=500, height=500'); // Set these to whatever size you want the window newwin.focus(); //sets the focus to the newly created window. } window.onload = popupCookie();
<noscript>You dont appear to have javascript enabled, but this site uses cookies. <a href="setcookie.html">Click here to set the cookie</a>. </script>
kbannon wrote: Presumably most new browsers will kill the pop up before it gets to open.