Labels

Friday, January 25, 2013

How to : Make a link, open multiple pages

I have 5 or more links to our company, Example : www.amaderdhaka.com, www.allnewspaper.info, www.tweebd.com, www.tweecart.com, www.tweehost.com.

Now My Boss want to One single click to Open all webpage in his browser with different tabs. For Example : A link or button "Click here for Open Our company websites" which, when my boss click this link/button 5 different tabs open in his browser.

Creating Java Script for open Multiple tabs :












Now create A button for click :






Full Code : 

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
howto-bd.blogspot.com</title>

<script type="text/javascript">
    function open_win()
    {
        window.open("http://www.amaderdhaka.com")
        window.open("http://www.tweecart.com")
        window.open("http://www.tweebd.com")
        window.open("http://www.tweehost.com")
        window.open("http://www.allnewspaper.info")       
    }
</script>

</head>
<body>

<form>    <input type=button value="Open Windows" onclick="open_win()">  </form>

</body>
</html>




-------------------------------------------------------------------------------------------
Search Keywords :
Java, Javascript, java with html css,