real_illusions Posted December 20, 2005 Share Posted December 20, 2005 how do you get 2 javascript pop up windows from the same page with different urls?http://www.webdevelopersnotes.com/tutorial..._functions.php3is where i found something but i find it confusing and not very clear. Link to comment Share on other sites More sharing options...
Chocolate570 Posted December 20, 2005 Share Posted December 20, 2005 Look. Here's a sample program, post it on a try-it editor and see it work. <html><head><script type="text/javascript">function uRl(){window.open("url 1")}function uRK(){window.open("url 2")}</script></head><body><input type="button" value="Url 1" onclick="uRl()"><input type="button" value="Url 2" onclick="uRK()"></body></html> Do you get it? ~Chocolate570 Link to comment Share on other sites More sharing options...
real_illusions Posted December 20, 2005 Author Share Posted December 20, 2005 cool..that worksthanks alot:) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now