home123 Posted September 29, 2006 Share Posted September 29, 2006 hii wanted to know how can i make a hyperlink that by pressing it i can open 2 new windows with diffrint contentand how do i make one to change two diffrent frames in one page.if you can please write me a simple example from the begining to the endthank you Link to comment Share on other sites More sharing options...
Jonas Posted September 29, 2006 Share Posted September 29, 2006 Changing two different frames in one page:http://www.w3schools.com/js/tryit.asp?file...y_dom_frame_src Link to comment Share on other sites More sharing options...
home123 Posted September 29, 2006 Author Share Posted September 29, 2006 what about the first question? Link to comment Share on other sites More sharing options...
jesh Posted September 29, 2006 Share Posted September 29, 2006 what about the first question?You might try using the onclick event of the link to call a function which has two window.open calls in it:function OpenThem(firstUrl, secondUrl){ window.open(firstUrl); window.open(secondUrl);} <a href="#" onclick="OpenThem('http://www.mysite.com/page1.html','http://www.mysite.com/page2.html');">Do it</a> 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