IE fails me again.
I am trying to make a simple pop-uop window using javascript, but can’t seem to get IE to do it.
<!-- at the top of the page in JS tags... -->
function newWindowFunc(url,name) {
window.open(url,name,'height=400,width=200');
}
<!-- My link -->
< a href="#"
onClick="newWindowFunc('editProfile/styler/stylerfaq.php','Styler Help'); return(false);" >Read The FAQ< /a >
This works fine in FF, but in IE nothing happens.
It does work if I don’t use any params, just the link location. But what good is that, why not just use a target
I couldn’t find this in the forums, but there were lots of JS problems with popups so…
Any ideas?
Oh and I’ve tried it with a url in the href, and a return(false);, although that just makes the main page load the new url… ugh.