473,324 Members | 2,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

send a popup in a chat script

hi

i make a chat script very simple and i wanna that if the sender send the message the chat window for the receiver open automatically.the system actually is that :if a user is online he saw all member online and he have to clic a in a user online but the chat window open only in the part of the receiver so sender and receiver must open their window.and to open the window i use this code in the file online :

<a href="javascript:void(0)" onclick="window.open('../test/discuss.php?rec=<?=$row_online['mid']?>',<?=$row_online['mid']?>,
'height=500,width=455,status=yes,toolbar=no,menuba r=no,location=no')">


<img src="http://bytes.com/submit/includes/photo/<?=$row_online['Photo']?>" width="35" height="35" border="0"
title="<?=$row_online['firstname']?> <?=$row_online['lastname']?>" /></a> &nbsp;

these code is between the while loop

thanks for your help
Dec 10 '10 #1
1 3079
acoder
16,027 Expert Mod 8TB
You need to trigger the popup script with something. Does the receiver have a page open by which he can receive a "signal" to open the window?
Dec 13 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Timo-Pekka Oikarinen | last post by:
Is there PHP chat script *without* MySQL? Demands: absolutely FREE (no adware, shareware etc.), No MySQL needed, one permanent public chat, can make your own channels (public/private) like IRC,...
1
by: dillon | last post by:
Hi everyone I'm writing a javascript/php chat script, but I've run into a problem that is probably very, very simple to fix but I don't have a clue. The problem is with an iframe (should I be...
6
by: Don | last post by:
Hi, I have the following script that displays a popup window centered in the middle of the screen. I am getting a script error in both IE and Netscape but I don't know what it means. Thanks in...
2
by: Maik | last post by:
I Need a popup-killer script
1
by: julian_m | last post by:
I'm just beggining to write some simple-small script which is gonna work as a mini chat. First aproach: File: comments.xml every time this file is accessed, I delete the first line (if number...
1
by: Overseer | last post by:
How can I code a chat script with asp.net. How can I find code sample which coded with asp.net using C#.
0
by: Deepak Rai | last post by:
Hi does anybody know that how to create panel like GMAIL chat window?
4
by: nbt725 | last post by:
Dear Sir, Hello ! I want 1 to 1 chat script in php between client coming to site to chat with admin. And admin can chat with multiple client.There can be multiple admin. I want to disable login...
1
by: Clayton23 | last post by:
<html> <head> <base href="http://chat.webhop.org:8000/themes/colors/"> <title>ConferenceRoom by WebMaster, Inc.</title> <script language=javascript> function regNick(form) { var pass =...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.