Help Center Live Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 [3]   Go Down

Author Topic: 2 Questions about using HCL  (Read 32081 times)

cvenom96

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 1
Re: 2 Questions about using HCL
« Reply #30 on: October 08, 2007, 08:20:00 AM »

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
Re: 2 Questions about using HCL
« Reply #31 on: November 07, 2007, 05:38:25 AM »

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
    • Help Center Live
Re: 2 Questions about using HCL
« Reply #32 on: November 08, 2007, 10:41:46 AM »

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
Re: 2 Questions about using HCL
« Reply #33 on: November 08, 2007, 01: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: [Select]
<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
Re: 2 Questions about using HCL
« Reply #34 on: July 02, 2008, 10:48:40 AM »

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
 

Page created in 0.164 seconds with 18 queries.