Jump to content

Recommended Posts

Hi ,

Im writing and application where people will want to have a few small popups open ( each one has a new chat session in it )

 

Currently im just using the window.open function. However, if i click on another link that uses that function it doesnt open a new window.

It uses the one thats already open..

 

 

<script type="text/javascript">
function openSupport(id)
{
window.open("http://Blaaablaablaa.com/blaa.php?id="+id ,"IMsupporting","menubar=0,resizable=0,width=450,height=250");
}
</script>


<p><a href="javascript:openSupport('1234567890');">CLICK HERE</a></p>
<p><a href="javascript:openSupport('123456789');">CLICK HERE</a></p>

 

How would i get it so if both links were clicked, there would now be 2 popup windows.

 

Thanks for looking.

-G

 

Bump ?

 

Surely there must be a way to open up more than one popup window?

 

if someone clicked, Panel1 and Panel2 buttons, It would be aces to have 2 popup panels. instead of one popup window that changes to whatever else is clicked.

 

Id just like to pint out this isnt used as spam, Its so the operator on my controlpanel page can open more than one "chat" session.

Currently i cant see how to do this as firefox seems to open any new windows in the orginal window, Thus loosing what was in it and now being replaced with the new content..

Very annoying!

 

-G

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.