Win环境下,按照LinkTalk说明顺序安装此插件。但更新缓存后,页面没反映无法加载下面的工具条。
我是把服务器端单独配置成一个二级域名的站点:
测试文件net.aspx:
.NET Framework Version: 2.0.50727.42
LinkTalk Supported
.NET框架的版本: 2.0.50727.42
LinkTalk 支持
-----------web.config-------------
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="LinkTalk.ApplicationUrl" value="http://xxx.com/"/>
<add key="LinkTalk.IntegratorScheme" value="UCHome-1.5-UTF8"/>
<add key="LinkTalk.TextEncoding" value="UTF-8"/>
<add key="LinkTalk.RequireFriendData" value="true"/>
<add key="LinkTalk.RequireGroupData" value="true"/>
<add key="LinkTalk.ChatBar.TransparentBar" value="true"/>
<add key="LinkTalk.ChatBar.AutoHide" value="false"/>
<add key="LinkTalk.ChatBar.AutoWidth" value="true"/>
<add key="LinkTalk.ListeningPort" value="5678;56789"/>
</appSettings>
<system.web>
<compilation debug="true" />
<authentication mode="None" />
<customErrors mode="Off" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web>
</configuration>
--------------客户端-config.js---------------
linktalk$enabled = true;
linktalk$server_url = "http://snsim.xxx.com/";
linktalk$integrator_scheme = "UCHome-1.5-GBK";
linktalk$ui_scheme = "ChatBarx";
linktalk$chatbar_send_button = true;
linktalk$chatbar_transparent = true;
linktalk$chatbar_transparency_mode = 0;
linktalk$chatbar_auto_hide = false;
linktalk$chatbar_width = "auto";
linktalk$chatbar_margin_left = 15;
linktalk$chatbar_margin_right = 15;
linktalk$show_chat_tip = true;
linktalk$chat_tip = "{res:chat_tip}";
linktalk$security_tip_enabled = true;
linktalk$security_tip_text = "{res:security_tip}";
linktalk$security_tip_url = "http://www.zhoz.com/";
linktalk$security_tip_timeout = 5000; // 5 seconds
linktalk$ui_available_languages = ["zh-cn", "zh-tw", "zh-hk", "en", "en-us", "ja", "fr"];
linktalk$ui_default_language = "en";
linktalk$ui_language = "zh-cn";
linktalk$chatbar_theme_list = ["snschat", "default", "blue", "green", "facebook"];
linktalk$chatbar_theme = "snschat";
linktalk$chatbar_menu_enabled = true;
linktalk$chatbar_menu_title = "{res:menu_title}";
linktalk$chatbar_menu_width = 240;
linktalk$chatbar_menu_items = [
{
icon:"image/app/doing.gif",
text:"{res:item_doing}",
url:"space.php?do=doing",
tip:"{res:item_doing_tip}"
},
{
icon:"image/app/album.gif",
text:"{res:item_album}",
url:"space.php?do=album",
tip:"{res:item_album_tip}"
},
{
icon:"image/app/blog.gif",
text:"{res:item_blog}",
url:"space.php?do=blog",
tip:"{res:item_blog_tip}"
},
{
icon:"image/app/mtag.gif",
text:"{res:item_group}",
url:"space.php?do=thread",
tip:"{res:item_group_tip}",
target:"_blank"
},
{
icon:"image/app/share.gif",
text:"{res:item_share}",
url:"space.php?do=share",
tip:"{res:item_share_tip}"
}
];
linktalk$chatbar_link_enabled = true;
linktalk$chatbar_link_items = [
{
icon:"image/app/doing.gif",
text:"{res:item_doing}",
url:"space.php?do=doing"
},
{
icon:"image/app/album.gif",
text:"{res:item_album}",
url:"space.php?do=album"
},
{
icon:"image/app/blog.gif",
text:"{res:item_blog}",
url:"space.php?do=blog"
},
{
icon:"image/app/mtag.gif",
text:"{res:item_group}",
url:"space.php?do=thread",
target:"_blank"
},
{
icon:"image/app/share.gif",
text:"{res:item_share}",
url:"space.php?do=share"
}
];
linktalk$chatbar_emoticon_list = ["uchome", "msn"];
linktalk$chatbar_emoticon = "uchome";
linktalk$chatbar_emoticon_count = 30;
-------head.html-------
<script language="javascript" type="text/javascript" src="LinkTalk-Application/app-host.js"></script>
<script type="text/javascript">
linktalk_set("chatbar_theme", "default");
</script>
以上三步都配置过了,但无法显示出来,百思不得其解,有经验的朋友请指点为谢! |