Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Following HTML file should serve your purpose, make sure that you change the jQuery source file link to suite your own need (within the head tag):</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script type='text/javascript' src='jquery-1.5.1.js'&gt;&lt;/script&gt; &lt;script type='text/javascript'&gt; var protocolCheckerTimer = false; var installerSites = []; var currentProtocol = false; var protocolFound = false; var poppingUp = false; $(document).ready(function (e){ $(window).bind('blur', interceptProtocolStartup); $(document).bind('focusout', interceptProtocolStartup); installerSites['movi'] = 'https://supportforums.cisco.com/docs/DOC-23292'; installerSites['sip'] = 'http://www.linphone.org/eng/download/packages/'; installerSites['skype'] = 'http://www.skype.com/en/download-skype/skype-for-computer/'; installerSites['glow'] = 'http://www.glowpoint.com'; $('a.protoco_handler').click(function (e) { var sUrl = $(this).attr('href'); var urlComponents = sUrl.split(':'); currentProtocol = urlComponents[0]; log('checking protocol for ' + currentProtocol); protocolCheckerTimer = setTimeout(waitForProtocolHandler, 200); $('#hidIFrame').attr('src', sUrl); return false; }); }); function waitForProtocolHandler() { if (protocolFound === true) { resetAll(); return; } poppingUp = true; if (confirm('Handler for protocol ' + currentProtocol + ' not found. Would you like to install?')) { log('opening installer site ' + installerSites[currentProtocol] + ' for protocol ' + currentProtocol); window.open(installerSites[currentProtocol]); } resetAll(); } function resetAll() { protocolFound = false; currentProtocol = false; if (protocolCheckerTimer !== false) { clearTimeout(protocolCheckerTimer); protocolCheckerTimer = false; } poppingUp = false; } function interceptProtocolStartup() { if (poppingUp === true) { return; } log('protocol found, clearing timeout'); resetAll(); } function log(msg) { if (window.console) { console.log(msg); } } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;ul&gt; &lt;li&gt;&lt;a class='protoco_handler' href='movi:100001@ovcloud.com'&gt;Launch Jabber&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class='protoco_handler' href='sip:azam@ovcloud.com'&gt;Launch Cisco&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class='protoco_handler' href='skype:mdaliazam'&gt;Launch Skype&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class='protoco_handler' href='glow:azam@ovcloud.com'&gt;Launch Glowpoint :)&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;iframe id='hidIFrame' style='display:none'&gt;&lt;/iframe&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload