我發現 越是高級的課程下面顯示的瀏覽人數越少 ,這說明了什么呢,而我一定要堅持下去,這又說明了什么呢 哈哈哈
2017-11-23
$("a").jqzoom({//綁定圖片放大插件jqzoom
zoomWidth: 123, //小圖片所選區域的寬
zoomHeight: 123, //小圖片所選區域的高
zoomType: 'reverse' //設置放大鏡的類型
});
zoomWidth: 123, //小圖片所選區域的寬
zoomHeight: 123, //小圖片所選區域的高
zoomType: 'reverse' //設置放大鏡的類型
});
2017-11-22
$(function () {
$("a").lightBox({
overlayBgColor: "#666", //圖片瀏覽時的背景色
overlayOpacity: 0.5, //背景色的透明度
containerResizeSpeed: 600 //圖片切換時的速度
})
});
$("a").lightBox({
overlayBgColor: "#666", //圖片瀏覽時的背景色
overlayOpacity: 0.5, //背景色的透明度
containerResizeSpeed: 600 //圖片切換時的速度
})
});
2017-11-22
http://www.xianlaiwan.cn/data/check.php
需要改https連接
http://www.xianlaiwan.cn/data/check.php
需要改https連接
http://www.xianlaiwan.cn/data/check.php
2017-11-22
$("#txtSearch").autocomplete(arrUserName,
2017-11-20
var st2={"status":0,"result":[{"userName":"白菜","streetName":"北京市朝陽區","sex":"男"},{"userName":"土豆","streetName":"北京市朝陽區","sex":"女"}]};
if(st2.status =="0"){$.each(st2.result,function(index,student){$("#list2").append("<li>姓名:"+student["userName"]+" 性別:"+student["sex"]+"</li>");});};
if(st2.status =="0"){$.each(st2.result,function(index,student){$("#list2").append("<li>姓名:"+student["userName"]+" 性別:"+student["sex"]+"</li>");});};
看清input的id是啥,然后再在js部分寫,寫完之后打開調試臺,看cookie里的內容就會多一條name為username,value為你設置的值的cookie了,不用關閉再打開頁面來看,很麻煩的啊
2017-11-18
$(function () {
var options = {
url: "http://www.xianlaiwan.cn/data/form_f.php",
target: ".tip"
};
$('#frmV').ajaxForm(options);
});
var options = {
url: "http://www.xianlaiwan.cn/data/form_f.php",
target: ".tip"
};
$('#frmV').ajaxForm(options);
});
2017-11-18
自己在自己的電腦上就不要寫http://www.xianlaiwan.cn/data/fruit_part.html了,這個是要跨域的,肯定是顯示不出來的,要不charles代理一波
2017-11-18
The event .load() method conflicted with the ajax .load() method. The .error() method could not be used with window.onerror because of the way the DOM method is defined. If you need to attach events by these names, use the .on() method, e.g. change $("img").load(fn) to $("img").on("load", fn).
2017-11-16
$(function () {
var intR = 0, intG = 0, intB = 0, strColor;
$("input").each(function(index){//這句是必須的
$(this).spinner({}); //這句也是必須的,注意最后的尾括號
});
var intR = 0, intG = 0, intB = 0, strColor;
$("input").each(function(index){//這句是必須的
$(this).spinner({}); //這句也是必須的,注意最后的尾括號
});
2017-11-13