lightinthebox模板添加msn在线连接
2011-03-10 14:44
621 查看
lightinthebox模板右边是有一个在线客服连接的,可以展示MSN,EMAIL,SKYPE等,但是是没有加上连接的。
如下图片所示:
我要实现的目的就是给MSN账号加上连接,点击MSN就可以打开聊天窗口。
lightinthebox模板可以通过以下方法实现。只要改动一处地方就可以。
修改includes\templates\lightinthebox\jscript\jscript_prototype.js
把这段话
if(msn!=null && msn != ""){
str += "<li><span class='big black b'>MSN</span><BR/> <span class='pad_1em'>" + msn + "</span></li>";
}
修改为:
if(msn!=null && msn != ""){
str += "<li><span class='big black b'>MSN</span><BR/> <span class='pad_1em'><a href=\"msnim:chat?contact="+msn+"\">" + msn + "</a></span></li>";
}
MSN以及EMAIL的设置是在后台的tools-Configuration-Live Help Configuration中设置
最终效果:
引自:http://www.way-net.com/lightinthebox-mobantianjiamsnzaixianlianjie.html
如下图片所示:
我要实现的目的就是给MSN账号加上连接,点击MSN就可以打开聊天窗口。
lightinthebox模板可以通过以下方法实现。只要改动一处地方就可以。
修改includes\templates\lightinthebox\jscript\jscript_prototype.js
把这段话
if(msn!=null && msn != ""){
str += "<li><span class='big black b'>MSN</span><BR/> <span class='pad_1em'>" + msn + "</span></li>";
}
修改为:
if(msn!=null && msn != ""){
str += "<li><span class='big black b'>MSN</span><BR/> <span class='pad_1em'><a href=\"msnim:chat?contact="+msn+"\">" + msn + "</a></span></li>";
}
MSN以及EMAIL的设置是在后台的tools-Configuration-Live Help Configuration中设置
最终效果:
引自:http://www.way-net.com/lightinthebox-mobantianjiamsnzaixianlianjie.html
相关文章推荐
- 2011版兰亭(lightinthebox.com)的Magento模板
- Lightinthebox模板V1.39H 免费下载
- lightinthebox采集规则 如何采集lightinthebox
- LightInthebox 2013校招笔试题--2012年某月某日考试
- lightinthebox头部分类菜单下拉导航,使鼠标移到See All Categories就显示下拉菜单
- lightinthebox 批量设置分类产品排列方式为List、Grid、Gallery
- Light-oj-1094 Farthest Nodes in a Tree (树的直径模板题)
- lightinthebox火车头数据采集器(20120812更新) 使用火车头接口技术一键批量采集 批量发布 批量去水印 接口技术
- lightinthebox 兰亭集势 安装使用常见错误bug 修改
- Lightinthebox模版快速修改
- 添加MSN客服代码,可显示MSN在线和不在线,自动打开MSN聊天窗口
- Eclipse添加tomcat出现 The Apache Tomcat installation at this directory is version 8.5.6. A Tomcat 8.0 in
- 如何Eclipse改变模板中${user}变量,How to change the variable ${user} used in the eclipse templates.
- 【Light-oj】-1094 - Farthest Nodes in a Tree(树的直径)
- EF之数据库连接问题The specified named connection is either not found in the configuration, not intended to be used with the Ent
- [平衡树]BallIntheBox
- MyEclipse 中添加工程显示Some projects cannot be imported because they already exist in the workspace
- Inroduce SharePoint 2013 Out Of The Box Workflow in detail
- Synchronize the folders between Windows and Ubuntu in VirtualBox
- Using the Telerik Rich Text Editor In Visual Studio LightSwitch