Introduction:-
Well here I will show you how to open 2 links with just one click.
Solution:-
Here is the Code, insert this in the Head:-
and this goes into the bodyCode:<SCRIPT LANGUAGE="JavaScript"> function DoubleOpen(site1, site2) { window.open(site1); window.location = site2; } </script>
Example:-Code:<a href="javascript:DoubleOpen('site1', 'site2');">Click Here</a>
Conclusion:-Code:<a href="javascript:DoubleOpen('http://www.codecall.net/', 'http://forum.codecall.net/');">Click Here</a>
As Always The Full Code Is Attached And Feedback Is Welcome!


LinkBack URL
About LinkBacks





Reply With Quote






Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum