Jump to content

Recommended Posts

Posted

Basically, I'm looking for a way for a single link to open multiple pages at once. I'm doing this for a work related project, and it would certainly make things easier. If anyone knows a way to use javascript to do this, I would greatly appreciate it if you could pass that information onto me. Please and thank you!

  • 2 weeks later...
Posted

A JavaScript routine would do this, but no way using standard HTML.

 

Something like this should work...

 

<html>
<head>
<title>Multiple Pages</title>
<script type="text/javascript">
function Googles() {
var http1 = "http://www.google.com/";
var http2 = "http://www.yahoo.com/";
var http3 = "http://www.msn.com/";
var win1 = window.open(http1);
var win2 = window.open(http2);
var win3 = window.open(http3);
}
</script>
</head>
<body>
<a href="java script:Googles()">Search Engines</a>
</body>
</html>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...