SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old September 4th, 2003, 07:44 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Multiple popups

i would like to make a specific page which automatically opens several windows at once. i know that there's a javascript option for this somewhere, but i've never been able to get a decent explanation of it or how to have it open multiple windows.

what would also work is having one link that opens several windows without the redirection.

help!

Reply With Quote
  #2  
Old September 4th, 2003, 08:08 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Multiple popups

you would need to use a javascript function that uses several window.open() calls. This function could be used in either a page onLoad event or as an onClick event of a link.

here is the function

Code:
<script type="text/javascript">
<!--
function openmany(a,b){
window.open(a,'test');
window.open(b,'test2');
}
// -->
</script>


here are various ways of calling the function

from a link

<a href="#" onclick="openmany('http://www.codewalkers.com','http://www.yahoo.com')">open two windows</a>

from a page onLoad event in the body tag (this will open the windows when the page loads

<body onLoad=="openmany('http://www.codewalkers.com','http://www.yahoo.com')" >

you could expand the function to open as many windows as you wanted.

The window.open() call has parameters that allow you to specify the window height and width as well as how the window appears. Search the net for more specific examples.

Reply With Quote
  #3  
Old September 4th, 2003, 10:46 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Multiple popups

thank you!!

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Multiple popups


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway