Help Center Live Community
April 16, 2014, 08:10:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 2 [3]   Go Down
  Print  
Author Topic: 2 Questions about using HCL  (Read 30710 times)
cvenom96
Not too much to say...
*
Offline Offline

Posts: 1


« Reply #30 on: October 08, 2007, 04:20:00 PM »

I just wanted to bump this as I'm interesting in getting the blinking toolbar effect for when someone initiates a new chat.  I've run across scripts to make a popup or blinking toolbar on the client side but obviously that's not what is needed.  Other than that this is a really great program.  I was able to install get everything working on the first try.
Logged
mdmdesign
Not too much to say...
*
Offline Offline

Posts: 5


« Reply #31 on: November 07, 2007, 02:38:25 PM »

Has somebody managed to make the operators window blink or prompt an alert message when an new chat comes in? Would be very helpfull. I tried some things but I dont know javascript very much...
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #32 on: November 08, 2007, 07:41:46 PM »

Actually if cvenom96 or anyone else has a java script to do this, I could probably add it to the template to cause the effect.
Logged

how may I help you today?
123
Guest
« Reply #33 on: November 08, 2007, 10:36:37 PM »

Don't know if this is what you want, but this will change the titlebar text between 2 different sayings, a la flashing.

Code:
<script language=javascript>
function flasher(val)
{
var msg1  = "New chat request";  //Your message goes here
             var msg2  = "";  //This just makes the flashing illusion
var blinkrate = 500;  //This can be adjusted for a faster or slower blinking rate
var option = val;  //This variable tells which message to show in the titlebar

if(option == 0){
titlemsg = msg1;  //Set the title to message 1
option = 1;  //Change option so when timer expires other ifthen runs
}
else if(option == 1){
titlemsg = msg2;  //Set the title to message 2
option = 0;  //Change option so when timer expires other ifthen runs
}

document.title = titlemsg;  //Set titlebar to chosen message
timer = window.setTimeout("flasher("+pos+")",blinkrate);  //Setup a timer to constantly switch
}

flasher(0);  //Execute the function on page load, but this function could be called on an event and turned off with another event
</script>

Just a thought, maybe we can do something with it.
Logged
abc
Not too much to say...
*
Offline Offline

Posts: 3


« Reply #34 on: July 02, 2008, 06:48:40 PM »

Just to save time for someone possibly?

To get sound working on new install Ubnutu 8. 04 Firefox version 3 you should have the mplayer plugin installed via Synaptic Package Manager.

Logged
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.149 seconds with 20 queries.

Google visited last this page April 08, 2014, 01:35:58 PM