Results 1 to 2 of 2
Hybrid View
-
February 24th, 2005, 07:28 PM #1
Javascript pop-up not working in IE
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.
This works fine in FF, but in IE nothing happens.Code:<!-- 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 >
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.
-
February 25th, 2005, 05:15 AM #2
strange, looks fine to me.....
remove the return false and try sticking an alert showing the parameters into the function. Then try it in IE, if you see the alert showing the link href and the popup name you know that ain't the problem.
Then try removing the width and height from the window.open command and seeing if that works. If it still doesn't work......I'm stumped, but let me know how you get on.now with blog, click here
Similar Threads
-
Flash Pop ups? or not...
By RevoltOne in forum Flash IDEReplies: 2Last Post: December 5th, 2004, 08:08 PM -
pop up and iframe on same link
By smash11480 in forum Web (HTML5, CSS, JavaScript)Replies: 1Last Post: October 31st, 2004, 09:08 PM -
Pop Up Querry
By usa4 in forum Flash IDEReplies: 2Last Post: February 22nd, 2004, 12:28 PM -
javascript pop up question??
By ave in forum Server-Side (PHP, SQL, ASP.NET, etc.)Replies: 10Last Post: September 17th, 2003, 01:26 PM -
Integrating Flash MX with JavaScript
By Job in forum Flash IDEReplies: 0Last Post: August 7th, 2003, 08:12 AM


Reply With Quote

Bookmarks