$(function() {
$("img.lazy").lazyload({
placeholder : "http://www.tignet.cn/js/lazyload/grey.gif",
//threshold : 200,
effect:"fadeIn"
});
});
 |
|
 |
|
海南赛科药业有限公司 |
海南赛科药业有限公司 |
值班热线:18768868085 18768850770 0371-88817269 |
值班热线:18768868085 18768850770 0371-88817269 |
招商:(山东、广西、陕西、内蒙、海南、天津) |
招商:(河南、辽宁、北京、陕西、海南) |
电话:0371-88817263 15890111605 |
电话:0371-88817261 15890111613 |
招商:(河北、重庆、山西、江西、江苏、上海) |
招商:(黑龙江、广东、福建、贵州、甘肃、宁夏 ) |
电话:0371-88817262 15890111923 |
电话:0371-88817260 15890111837 |
招商:(湖南、四川、青海、安徽、新疆、吉林) |
招商:(湖北、浙江、西藏、河南、辽宁、北京) |
电话:0371-88817267 15890111613 |
电话:0371-88817267 15890111613 |
传真:0371-88817270 |
QQ:431108799 |
|
|
 |
|
 |
 |
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fd92cf82dafa7a322ec6cc63d7c68622b' type='text/javascript'%3E%3C/script%3E"));

(function(obj){
/*判断浏览器*/
var isIE = !!window.ActiveXObject;
var isIE6 = isIE && !window.XMLHttpRequest;
/*初始化*/
var root = document.documentElement;
var div = document.getElementById(obj);
if(isIE6){
div.style.position = 'absolute';
}
var _style = div.currentStyle || document.defaultView.getComputedStyle(div,null);
var _left = _style['left'];
_left = _left.toLowerCase()=='auto'?false:parseInt(_left);
var _right = _style['right'];
_right = _right.toLowerCase()=='auto'?true:parseInt(_right);
divWidth = parseInt(_style['width']);
if(_style['width'].indexOf('%')>0 && isIE){
divWidth = root.clientWidth * (parseInt(_style['width'])/100);
}
var divRight = (root.clientWidth-divWidth)/2;
if(!_left && _right){
div.style.right = divRight + 'px';
}
if(isIE6){
window.attachEvent('onscroll',__scroll);
}
var t = false;
/*滚动时调用*/
function __scroll(){
t && clearInterval(t);
var cls = div.className;
var isTop = _style['top']=='auto'?false:true;
var isBottom = _style['bottom']=='auto'?false:true;
if(isBottom && !isTop){
t = setInterval(function(){
div.className = cls},
13);
}else if(isTop && !isBottom){
div.style.top = root.scrollTop + 'px';
}else{
alert('请在css文件里指明位置:top或者bottom');
}
}
})('toolBar');