This is how far I have gotten to. The form is just a simple checkbox with urls in each checkboxes value.
This works half the way. I can’t manage to resize the windows neither in Chrome or Firefox.
$(document).ready(function(){
$("form").submit(function(){
$('#goTo input:checked').each(function(count){
var goTo;
var wWidth;
var wHeight;
var windowSize;
i = 25 * count;
goTo = $(this).val();
wWidth = $(window).width() - $(window).width() / 2;
wHeight = $(window).height() - i;
windowSize = "width="+wWidth+"height="+wHeight;
window.open(goTo, 'title', windowSize);
});
return false;
});
});
Adding
resizable=1should do it:But you also have an error in setting the
windowSize– it’s missing a,: