Microsoft JScript 运行时错误: 对象不支持“Sonline”属性或方法
<script type="text/javascript">
$(function () {
$("body").Sonline({
Position: "right", //left或right
Top: 200, //顶部距离,默认200px
Effect: true, //滚动或者固定两种方式,布尔值:true或false
DefaultsOpen: true, //默认展开:true,默认收缩:false
Qqlist: "435027|客服01,435027|客服02" //多个QQ用','隔开,QQ和客服名用'|'隔开
});
})
</script>
asp.net mvc调用QQ停靠问题出现错误
错误提示:Microsoft JScript 运行时错误: 对象不支持“Sonline”属性或方法 javascript mvc --------------------编程问答-------------------- 需要下载
Jquery.Sonline插件 --------------------编程问答-------------------- 上面那个下载要积分,你可以下载这个http://www.haw86.com/down/jquery.Sonline/2.0/jquery.Sonline.2.0.zip --------------------编程问答--------------------
你是说要有这个文件吗?jquery.Sonline.js
好像也不行也~ --------------------编程问答-------------------- 怎么可能啊,你看人家这个用的不是好好的吗?
http://www.oschina.net/code/snippet_562283_13829 --------------------编程问答--------------------
我也下载了一个,也用的好好的,但是放到我的网站上就出现问题了
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace=" BookShop.Models.SystemManager" %>
<%@ Import Namespace="Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>智慧吧-首页</title>
<link rel="stylesheet" type="text/css" href="/Content/Css/WebManagerCss/ShowManagerCss/style.css" />
<link rel="stylesheet" type="text/css" href="/Content/QQcs/style/default_blue.css"/>
<script type="text/javascript" src="/Content/QQcs/js/jquery-1.7.2.min.js"></script>
<script language="javascript" src="/Content/QQcs/js/jquery.Sonline.js"></script>
<script type="text/javascript">
$(function () {
$("body").Sonline({
Position: "right", //left或right
Top: 200, //顶部距离,默认200px
Effect: true, //滚动或者固定两种方式,布尔值:true或false
DefaultsOpen: true, //默认展开:true,默认收缩:false
Qqlist: "435027|客服01,435027|客服02" //多个QQ用','隔开,QQ和客服名用'|'隔开
});
})
</script>
</head>
<body>
<div id="wrap">
<div class="header">
<div class="logo"><span class="logoStyle"></span></div>
<div id="menu" style="float:left">
<% Html.RenderPartial("menu"); %>
</div>
<% Html.RenderAction("SEARCH_INFO", "Pub"); %>
</div>
<div class="center_content">
<div class="left_content">
<div class="title"><span class="title_icon"><img src="/Content/Images/WebmManagerImages/ShowManagerImages/bullet1.gif" alt="" title="" /></span>推荐书籍</div>
<%foreach (Hashtable item in ViewData["recommendList"] as List<Hashtable>) %>
<%{ %>
<div class="feat_prod_box">
<div class="prod_img"><a href="/WebManager/ShowManager/details/<%=item["ID"] %>"><img src="<%=item["BOOK_IMGURL"] %>" alt="<%=item["BOOK_NAME"] %>" title="<%=item["BOOK_NAME"] %>" border="0" style="width:120px;height:160px;overflow:hidden" /></a></div>
<div class="prod_det_box">
<div class="box_top"></div>
<div class="box_center">
<div class="prod_title"><%=Tools.substring(Tools.nullObject2String(item["BOOK_NAME"]),13)%></div>
<p class="more_details"><%=Tools.substring(Tools.nullObject2String(item["BOOK_INTRODUCTION"]),110)%></p>
<a href="/WebManager/ShowManager/details/<%=item["ID"] %>" class="more" target="_blank">- 更多 -</a>
<div class="clear"></div>
</div>
<div class="box_bottom"></div>
</div>
<div class="clear"></div>
</div>
<%} %>
<div class="title"><span class="title_icon"><img src="/Content/Images/WebmManagerImages/ShowManagerImages/bullet2.gif" alt="new" title="new" /></span>新书上架</div>
<div class="new_products">
<%foreach (Hashtable item in ViewData["newsList"] as List<Hashtable>) %>
<%{ %>
<div class="new_prod_box"> <a href="/WebManager/ShowManager/details/<%=item["ID"] %>"><%=Tools.substring(Tools.nullObject2String(item["BOOK_NAME"]),5)%></a>
<div class="new_prod_bg"> <span class="new_icon"><img src="/Content/Images/WebmManagerImages/ShowManagerImages/new_icon.gif" alt="" title="" /></span> <a href="/WebManager/ShowManager/details/<%=item["ID"] %>"><img src="<%=item["BOOK_IMGURL"] %>" alt="<%=item["BOOK_NAME"] %>" title="<%=item["BOOK_NAME"] %>" class="thumb" border="0" style="width:80px;height:108px;overflow:hidden" /></a> </div>
</div>
<%} %>
</div>
<div class="clear"></div>
</div>
<!--end of left content-->
<div class="right_content">
<% Html.RenderAction("LOGIN_INFO", "Pub"); %>
<% Html.RenderAction("CART_INFO", "Pub"); %>
<div class="title" style="width:200px;"><span class="title_icon"><img src="/Content/Images/WebmManagerImages/ShowManagerImages/bullet3.gif" alt="" title="" /></span>关于我们</div>
<% Html.RenderAction("ABOUT_US", "Pub"); %>
<% Html.RenderAction("PROMOTION_LIST","Pub"); %>
<div class="right_box">
<div class="title"><span class="title_icon"><img src="/Content/Images/WebmManagerImages/ShowManagerImages/bullet5.gif" alt="" title="" /></span>分类</div>
<% Html.RenderAction("BOOK_CATEGORY","Pub"); %>
<div class="title"><span class="title_icon"><img src="/Content/Images/WebmManagerImages/ShowManagerImages/bullet6.gif" alt="" title="合作伙伴" /></span>合作伙伴</div>
<ul class="list">
<li><a href="http://book.dangdang.com/" target="_blank">当当网</a></li>
<li><a href="http://www.amazon.cn/%E5%9B%BE%E4%B9%A6/b/ref=sa_menu_bo0?ie=UTF8&node=658390051" target="_blank">卓越亚马逊</a></li>
<li><a href="" target="_blank">苏宁易购</a></li>
<li><a href="http://www.gome.com.cn/ec/homeus/book.html" target="_blank">国美电器网上商城</a></li>
<li><a href="http://book.360buy.com/" target="_blank">京东商城</a></li>
</ul>
</div>
</div>
<!--end of right content-->
<div class="clear"></div>
</div>
<!--end of center content-->
<% Html.RenderPartial("foot"); %>
</div>
<!-- zhi8.net Baidu tongji analytics -->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F10e048dfc9cbe74a2f38c859e9fb827f' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html>
不知能不能帮我解决 --------------------编程问答--------------------
谁帮指导到下啊? --------------------编程问答-------------------- 难道就没人会吗? --------------------编程问答-------------------- 来帮忙顶的 --------------------编程问答-------------------- 人嘞!谁帮忙下! --------------------编程问答-------------------- 我是ASP.NET MVC2.0 调用的就没人能指导下吗? --------------------编程问答-------------------- 人嘞,死去哪里了。
补充:.NET技术 , ASP.NET