Window problem
-
If a user click on a control then a window will open using javascript.If the same user click on the same control then the window will not open .How is it possible,like in gmail chatting.In gmail when an online user is clicked thn he can chat with the user.again he tried to click the same user then it willnot open the window.how is it possible.please help.Thanks
-
If a user click on a control then a window will open using javascript.If the same user click on the same control then the window will not open .How is it possible,like in gmail chatting.In gmail when an online user is clicked thn he can chat with the user.again he tried to click the same user then it willnot open the window.how is it possible.please help.Thanks
Window.open()
takes a optional argument that specifies the windowName. Give a windowName when you do a window.open(). Two Windows cannot be opened with the same name.window.open('PagePath','WindowName','WindowAttributes');
- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
-
Window.open()
takes a optional argument that specifies the windowName. Give a windowName when you do a window.open(). Two Windows cannot be opened with the same name.window.open('PagePath','WindowName','WindowAttributes');
- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
I gave it but if there is 2 or more users then if we call the window.open function with name specifying ,the other users also cant open the window.How we overcome that query.I want that.
-
I gave it but if there is 2 or more users then if we call the window.open function with name specifying ,the other users also cant open the window.How we overcome that query.I want that.
-
Open the window with the
UserName
asWindowName
.- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
Is the username specification is possible in javascript.If possible how it will apply.We call the username by authentication purpose.This window is used for chatting purpose.That meanss in gmail like.if the user is online thn he can chat with other online users,if the user click on a online user once thn the event of onclick is disabled in gmail .We want like that.
-
Is the username specification is possible in javascript.If possible how it will apply.We call the username by authentication purpose.This window is used for chatting purpose.That meanss in gmail like.if the user is online thn he can chat with other online users,if the user click on a online user once thn the event of onclick is disabled in gmail .We want like that.
Basically you need to give distinct names to each window being opened. So in chat window if you click on member1 then name it member1 and if you click on member2 name it member2 and so on. You can simply pass the selected member name to the function to open a window.
Nav
-
Is the username specification is possible in javascript.If possible how it will apply.We call the username by authentication purpose.This window is used for chatting purpose.That meanss in gmail like.if the user is online thn he can chat with other online users,if the user click on a online user once thn the event of onclick is disabled in gmail .We want like that.
SreejithAchutan wrote:
Is the username specification is possible in javascript.If possible how it will apply.We call the username by authentication purpose.This window is used for chatting purpose.That meanss in gmail like.if the user is online thn he can chat with other online users,if the user click on a online user once thn the event of onclick is disabled in gmail .We want like that.
Opening the window is the problem or writting the Code using Javascript is the problem??? Doesn't you chat application display's the list of User's logged on?
- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.