协助基本的js,以使Skype按钮工作(assistence with basic js in order to get skype button to work)
我是相对较新的JavaScript和尝试将javascript链接到html体中的父div,而不是将javascript插入到html的主体中。 谁能告诉我如何解决它。 最终结果将是一个Skype通话按钮,允许用户通过点击播放(工作时)显示在网页上的Skype按钮来关闭网页。
HTML
<!doctype html> <head> <!-- skype js script--> <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script> <script src="js/skype.js"></script> </head> <body> <!-- skype parent div--> <div id="SkypeButton_Call_eddyrailgun_1"> </div> </body> </html>JavaScript的
Skype.ui({ "name": "call", "element": "SkypeButton_Call_eddyrailgun_1", "participants": ["eddyrailgun"], "imageSize": 24 });I am relatively new to javascript and trying to link the javascript to a parent div in the html body with out inserting the javascript into the body of the html. Could anyone tell me how to fix it. The end result will be a skype call button to allow users to ring me off a webpage with a click of the skype button thats ment (when working) to appear on the webpage.
HTML
<!doctype html> <head> <!-- skype js script--> <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script> <script src="js/skype.js"></script> </head> <body> <!-- skype parent div--> <div id="SkypeButton_Call_eddyrailgun_1"> </div> </body> </html>JavaScript
Skype.ui({ "name": "call", "element": "SkypeButton_Call_eddyrailgun_1", "participants": ["eddyrailgun"], "imageSize": 24 });最满意答案
您可以使用:
<a href="skype:skype?call">Call me</a>这将打开Skype应用程序。
You can use:
<a href="skype:skype?call">Call me</a>This will open the Skype application.
更多推荐
发布评论