eMagStudio does not have a Skype call option, but it can be implemented in the eMag with a help of eMagStudio Properties/Event system and embedding a small javascript code:
function callSkype(username){
var link = document.createElement('a');
link.href = 'skype:' + username + '?call';
link.click()
}
Please follow the steps below:
Step 1. Adding the “Skype” button to the eMag.
-
Make sure you are in the Toolbox mode
-
Create a button or another object and place it in the desired location in your eMag
-
In the Properties panel, select Events tab
-
Select Mouse Click=> General =>Open external link
-
As the external link enter javascript:callSkype(‘NAME’)
Notes:
-
NAME should be changed to the Skype ID of the intended call recipient (e.g. your own ID)
-
eMag will use Skype installed in the viewer’s machine
Step 2. Javascript embed
Embedding of the code can be implemented in two ways:
-
Integrating the Java script directly into the index.html file. In the published eMag, go to index.html file and add the corresponding <script> tag with the above mentioned script.
-
Including an external .js file.
- Save the above mentioned script in a separate sript file, e.g. qq.js
- Open eMag Studio
- Open Advanced Options section
- In the “Javascript Includes” line, enter the absolute address of the qq.js file, e.g. http://www.yourdomain.com/youremagname/qq.js
- Publish the eMag
- Copy the qq.js file in the root of the eMag. You can do this before the eMag upload or after it