Click to See Complete Forum and Search --> : Forcing a popUp remotely


Webskater
04-15-2004, 02:07 PM
I want to be able to force a popUp to open remotely.
i.e. If someone goes on to my website and clicks a certain link I want a popUp to appear on my user's screens. (This is a business application, not a desire to drive people mad.) The sort of thing where people click 'Phone Me' - when they do this I want a popUp to appear on my Sales people's screens that says - Fred Bloggs wants you to call him etc.
Any ideas on how best to achieve this?

David Harrison
04-15-2004, 02:44 PM
Have this as your link:

<a href="fred.html" onclick="window.open(this.href,'newwin','width=100,height=100');return false;">Phone Fred</a>

And then make fred.html look like whatever you want.

Webskater
04-16-2004, 04:58 AM
Thanks for your answer but that would make a window open on the person that clicked the link's machine. I want a window to open on someone else's machine. Realise this may not be a javascript question. I think this sort of thing can be done with java applets. I have been on share trading sites where some sort of connection between the server and browser is constant. Prices move up and down in real time. This type of connectivity would do it. Anyone know how it is done and could you point me in the right direction please. Thanks.

David Harrison
04-16-2004, 07:53 AM
Check out some of the Java applets on www.hotscripts.com, beyond that I can't help you I'm afraid.