Support for Envato Buyers Forums Samsara Adding Skype chat where search button is/was

Viewing 5 reply threads
  • Author
    Posts
    • #8260

      Hello,

      How can I add a Skype chat button in the menu bar on the right where the search button and woo commerce buttons are?

      The code is looks like this:

      <script type=”text/javascript” src=”http://www.skypeassets.com/i/scom/js/skype-uri.js”></script&gt;
      <div id=”SkypeButton_Call_full.frame.productions_1″>
      <script type=”text/javascript”>
      Skype.ui({
      “name”: “chat”,
      “element”: “SkypeButton_Call_full.frame.productions_1”,
      “participants”: [“full.frame.productions”],
      “imageSize”: 32
      });
      </script>
      </div>

      Thanks!

    • #8263

      Hi

      First, change the codes to

       <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
      <div id="SkypeButton_Call_full.frame.productions_1" style="float:right;width:20px;height:30px;margin-top:-5px;margin-left:-60px;margin-right:140px;">
      <script type="text/javascript">
      Skype.ui({
      "name": "chat",
      "element": "SkypeButton_Call_full.frame.productions_1",
      "participants": ["full.frame.productions"],
      "imageSize": 32
      });
      </script>
      </div>

      Second, edit header.php file, put the codes below the

      <div id="logo"></div>

      Thanks

    • #8266

      Is this what you meant? It doesn’t seem to be working

      https://www.dropbox.com/s/sd08dtcnmhushdb/Screenshot%202015-05-19%2009.51.01.png?dl=0

    • #8268

      The code was automatically modified when I posted for you, please try again

      <script type="text/javascript" src="www.skypeassets.com/i/scom/js/skype-uri.js"></script>
      <div id="SkypeButton_Call_full.frame.productions_1" style="float:right;width:20px;height:30px;margin-top:-5px;margin-left:-60px;margin-right:140px;">
      <script type="text/javascript">
      Skype.ui({
      "name": "chat",
      "element": "SkypeButton_Call_full.frame.productions_1",
      "participants": ["full.frame.productions"],
      "imageSize": 32
      });
      </script>
      </div>
      
    • #8274
    • #8278

      I found error: “Uncaught ReferenceError: Skype is not defined”

      Change this line

      <script type="text/javascript" src="www.skypeassets.com/i/scom/js/skype-uri.js"></script>

      to

      <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
      
Viewing 5 reply threads
  • You must be logged in to reply to this topic.