日期:2014-05-16  浏览次数:20300 次

问下鼠标放上去,图片不切换,怎么写??
C# code


<HTML>
<HEAD>
<TITLE>图片翻转测试</TITLE>
<style> 
BODY,UL  {
    PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.container {
    WIDTH: 590px; HEIGHT: 220px
}
.container A IMG {
    WIDTH: 590px; HEIGHT: 220px
}
.ddd{}
.container IMG {
    BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none
}
.td_f A IMG {
    PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.num {
    POSITION: absolute; WIDTH: 90px; FLOAT: right; TOP: 200px; LEFT: 520px; font-weight:bold;
}
.num LI {
    TEXT-ALIGN: center; LINE-HEIGHT: 15px; LIST-STYLE-TYPE: none; MARGIN: 1px; WIDTH: 15px; FONT-FAMILY: Arial;  FLOAT: left; HEIGHT: 15px; COLOR: #86a2b8; FONT-SIZE: 12px; CURSOR: pointer; background:#FDAD03;
}
.num LI.on {
    LINE-HEIGHT: 15px; WIDTH: 15px; HEIGHT: 15px; COLOR: #ffffff; background:#3366cc;
}
.more {
    FLOAT: right
}
.more1 A {
    TEXT-ALIGN: left; LINE-HEIGHT: 25px; MARGIN: 0px 0px 0px 10px; COLOR: #3373a3
}
</style>
<SCRIPT language=javascript>
        if(typeof(pgvMain) == 'function')
                pgvMain();
</SCRIPT>
<SCRIPT>
var gtopTab="one";
function $id(id){
    return document.getElementById(id);    
}
function changesTab(tab_id){
    if (tab_id==gtopTab){
        return;    
    }else{
        $id(gtopTab).className="unselect";    
        $id(tab_id).className="select";
        $id("tab_"+gtopTab).style.display="none";
        $id("tab_"+tab_id).style.display="block";
        gtopTab=tab_id;
    }
}
</SCRIPT>
<SCRIPT type=text/javascript>
var $ = function (id) {
    return "string" == typeof id ? document.getElementById(id) : id;
};
var Extend = function(destination, source) {
    for (var property in source) {
        destination[property] = source[property];
    }
    return destination;
}
var CurrentStyle = function(element){
    return element.currentStyle || document.defaultView.getComputedStyle(element, null);
}
var Bind = function(object, fun) {
    var args = Array.prototype.slice.call(arguments).slice(2);
    return function() {
        return fun.apply(object, args.concat(Array.prototype.slice.call(arguments)));
    }
}
var Tween = {
    Quart: {
        easeOut: function(t,b,c,d){
            return -c * ((t=t/d-1)*t*t*t - 1) + b;
        }
    },
    Back: {
        easeOut: function(t,b,c,d,s){
            if (s == undefined) s = 1.70158;
            return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
        }
    },
    Bounce: {
        easeOut: function(t,b,c,d){
            if ((t/=d) < (1/2.75)) {
                return c*(7.5625*t*t) + b;
            } else if (t < (2/2.75)) {
                return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
            } else if (t < (2.5/2.75)) {
                return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
            } else {
                return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
            }
        }
    }
}
//容器对象,滑动对象,切换数量
var SlideTrans = function(container, slider, count, options) {
    this._slider = $(slider);
    this._container = $(container);//容器对象
    this._timer = null;//定时器
    this._count = Math.abs(count);//切换数量
    this._target = 0;//目标值
    this._t = this._b = this._c = 0;//tween参数
    
    this.Index = 0;//当前索引
    this.SetOptions(options);    
    this.Auto = !!this.options.Auto;
    this.Duration = Math.abs(this.options.Duration);
    this.Time = Math.abs(this.options.Time);
    this.Pause = Math.abs(this.options.Pause);
    this.Tween = this.options.Tween;
    this.onStart = this.options.onStart;
    this.onFinish = this.options.onFinish;
    var bVertical = !!this.options.Vertical;
    this._css