Thought about a code, need help trying to figure out how to make it happen

Uber_Tiny

New member
I'm making a private project. I want to be able to make a link on an html page that will open multiple urls in multiple tabs. I'm not sure how to code it though. Any help greatly appreciated.
 
Woohoo, figured it out!

Here is the code if anyone else is interested.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

    <head>
        <title></title>

<script type="text/javascript">
function group1() {
var http1 = "url";
var http2 = "url";
var http3 = "url";
var http4 = "url";
var http5 = "url";
var win1 = window.open(http1);
var win2 = window.open(http2);
var win3 = window.open(http3);
var win4 = window.open(http4);
var win5 = window.open(http5);
}
</script>

    </head>

        <body>
            <a href="javascript:group1()">Group 1</a><br />
        </body>

</html>
 
Isn't that dependent on browser settings?

See Tools->Internet Options->General Tab->Tabs->Settings Button
 
Back
Top