开发者

Opening ChatApplication in a Pop Up Window using JavaScript

开发者 https://www.devze.com 2023-01-04 12:42 出处:网络
I\'m working on this project website wherein i will be adding a chat application where users can communicate with each other. I already have developed a chat room webpage which is now functioning well

I'm working on this project website wherein i will be adding a chat application where users can communicate with each other. I already have developed a chat room webpage which is now functioning well. However, what I want is to create a "Chat Room开发者_运维百科" link on my website which will just pop out the chat room as a pop-up window upon click.

Can somebody please help me on how to do this? Thanks everyone. :)


If you link to the chat room has target = "_blank", it will open in a new window:

<a href="chatroom">opens inline</a>

<a href="chatroom" target="_blank">opens in a new window</a>

This is just normal HTML / browser behavior.

0

精彩评论

暂无评论...
验证码 换一张
取 消