Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
one click - open two banner
Old 06-04-2006, 02:29 PM one click - open two banner
trichnosis's Avatar
Webmaster Talker

Posts: 511
Trades: 0
hi

i wonder that , it's possible to open 2 browser window with one click or not.
__________________
....
trichnosis is offline
Reply With Quote
View Public Profile Visit trichnosis's homepage!
 
 
Register now for full access!
Old 06-04-2006, 04:17 PM Re: one click - open two banner
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Just call the window.open twice:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<title>Untitled Page</title>
		<script type="text/javascript"><!--
function go() {
	window.open("http://www.google.com","win1","");
	window.open("http://www.yahoo.com","win2","");
}
//-->
</script>
	</head>

	<body bgcolor="#ffffff">
		<p><a href="#" onclick="go();">Click</a></p>
	</body>

</html>
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to one click - open two banner
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15159 seconds with 12 queries