Mibew Messenger Community
General => Support => Topic started by: mjeaves on July 03, 2012, 09:32:54 PM
-
Hi everyone,
Firstly - love this project - we're moving over from Live Person, which is just way too expensive for what it is. I'm blown away by just how good webim is.
Anyway...
I've had a go, but break the code, and need a hand! :-)
I want to remove the 'offline' button (so only the 'online' button shows if an operator is online)... so nothing shows if no operator is online....
I've had a look through the forum and can't find a topic about this...
Hope you can help, anyone know what I should do to the button code?:
<!-- webim button --><a href="/webim/client.php?locale=en" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('/webim/client.php?locale=en&url='+escape(document.location.href)+'&referrer='+escape(document.referrer), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="/webim/b.php?i=webim&lang=en" border="0" width="163" height="61" alt=""/></a><!-- / webim button -->
Thanks ! :-)
-
Just to add to this...
I read and actioned this post, but it did not work, the offline button became a clickable 'missing image'
http://mibew.org/forums/index.php/topic,2745.msg5229.html#msg5229
-
This can be obtained using a small trick:
- create a transparent image (. gif) 1 x 1 px.
- replace the image of the button OFF LINE for this eg mibew_off.gif
- Remove the code attributes width and height of the image (width="163" height="61").
The button will not disappear, but it will be too small to be seen.
It will also be very difficult to locate with the mouse