douzhi2012
2015-03-25 03:09
浏览 71
已采纳

skype javascript插件格式

I'm trying to integrate skype button in the header file of wordpress (header.php) and its successfully been integrated into the file, but I'm facing difficulty with the format, as I was having mail-id, phone number and skype displaying in the same line, now its displaying one in each line.

Here is my code:

<script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
<div id="SkypeButton_Call_mspchelp_1">
<script type="text/javascript">
Skype.ui({
  "name": "dropdown",
  "element": "SkypeButton_Call_mspchelp_1",
  "participants": ["mspchelp"],
  "imageSize": 24
});
</script>
</div>

and this link where I'm utilizing this code.

图片转代码服务由CSDN问答提供 功能建议

我正在尝试在wordpress(header.php)的头文件中集成skype按钮,并且已成功集成 进入文件,但我在格式上面临困难,因为我在同一行显示邮件ID,电话号码和Skype,现在每行显示一个。

这是我的代码:

 &lt; script type =“text / javascript”src =“http://www.skypeassets.com/i/scom/js/skype  -uri.js“&gt;&lt; / script&gt; 
&lt; div id =”SkypeButton_Call_mspchelp_1“&gt; 
&lt; script type =”text / javascript“&gt; 
Skype.ui({
”name“:”dropdown  “,
”元素“:”SkypeButton_Call_mspchelp_1“,
”参与者“:[”mspchelp“],
”imageSize“:24 
}); 
&lt; / script&gt; 
&lt; / div&gt; 
    
 
 

此链接,我正在使用此代码。< / p>

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douzhanhui5662 2015-03-25 03:18
    已采纳

    add this on each element:

    display: inline-block;
    

    Here's the output, i edited some css alignment.

    screenshot:

    enter image description here

    then rearrange your HTML order to:

    mail-id, phone number, skype

    your current html order is:

    mail-id,  skype, phone number
    
    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题