cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1367
Views
0
Helpful
0
Replies

Jabber custom button or button like customization for tab

brown3wab
Level 1
Level 1

CUCM 10.5.2

Jabber for Windows 12.5.1

 

Employer wants a Jabber Help button and a Directory button that you can click that will pop open a URL in default browser.  Created the following tab configurations in the Jabber config file

 

<Client>
   <spell_check_enabled>true</spell_check_enabled>
    <jabber-plugin-config>
     <browser-plugin>
      <page refresh ="true" preload="false">
       <tooltip>Jabber Help</tooltip>
       <icon>http://x.x.x.x.png</icon>
       <url>http://x.x.x.x.html</url>
      </page>
   <page refresh ="true" preload="false">
       <tooltip>Directory</tooltip>
       <icon>http://x.x.x.x/EmpDirect.png</icon>
       <url>http://x.x.x.x.html</url>
      </page>
     </browser-plugin>
    </jabber-plugin-config>
 </Client>

 

The URLs point to an html file that opens a browser window.  The html configuration looks like this:

<!DOCTYPE html>
<html>
<head runat="server">
    <title>Pulse Directory</title>
<script>
var params = [
    'height='+screen.height,
    'width='+screen.width,
 'resizable=yes',
 'scrollbars=yes', 
 ].join(',');
    function openWindow() {
        window.open('about:blank', '_self', '');
        window.open('http://x.x.x.x/People-Directory.aspx', '_a', params);
    }
</script>

</head>
<body onload="openWindow();" >

</body>
</html>

 

This functionality works great, however when clicking the tab and opening the browser window, Jabber lands you in the empty custom tab, because well, it's a tab.  Is there a way to add more configuration in the config file that states after you click the custom tab, to put you back into the Contacts tab?  Or is there any way to create a custom button instead of a tab?

0 Replies 0