Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 453
  • Last Modified:

chat

Hey, I'm trying to find a chat script that opens in a pop-up that can be minimized or closed, but when a user sends a message it opens or comes back into focus... The user will have already logged into another page all together... anything close?
0
dsyn
Asked:
dsyn
  • 2
1 Solution
 
shivsaCommented:
0
 
dsynAuthor Commented:
If I used that, would there be a way to use an onchange javascript function to force a maximize? do you know how I could do that?
0
 
bljakCommented:
yes there is
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);

though, this is MAXIMIZE, you could use focus to bring it back to front with focus() function
so you need to detect activity, and do simple this.focus() i think :)

//bljak
0
 
dsynAuthor Commented:
Sense the above scripts uses the "meta refresh" tag should I have the chatt script that would call the javascript function.. I'm gonna try this soon. I just want my guns loaded first...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now