"); pZoom.document.close(); } /*關閉遮罩層*/ $(".closeMyDiv a").live("click",function(){ $("#MyDiv").empty().hide(); $("#BigDiv").hide(); return false; }).focus(function(){ $(this).blur(); return false; }); /*使用遮罩層*/ $("#myImagesSlideBox .myImages img").click(function(){ /*遮罩層居中 和 寬度 高度設置 */ $("#BigDiv").css({ width: $("body").width() , height: ( $("body").height() > $("html").height() ) ? $("body").height() : $("html").height() }); $("#MyDiv").css({left: (($(window).width()-300)/2) ,top: (($(window).height()-390)/2) }); var $myDiv = $("#MyDiv").html( $("#myImagesSlideBox").html() ).show(); $('
關閉
').prependTo( $myDiv ); $("#BigDiv").show(); return false; }); }) function DrawImage(ImgD,Pic_Width,Pic_Height) { var image=new Image(); image.src=ImgD.src; if(image.width>0 && image.height>0){ flag=true; if(image.width/image.height>= Pic_Width/Pic_Height){ if(image.width>Pic_Width){ImgD.width=Pic_Width; ImgD.height=(image.height*Pic_Width)/image.width; } else{ ImgD.width=image.width;ImgD.height=image.height; } ImgD.alt=""; }else{ if(image.height>Pic_Height){ImgD.height=Pic_Height; ImgD.width=(image.width*Pic_Height)/image.height; } else{ ImgD.width=image.width;ImgD.height=image.height; } ImgD.alt=""; }}}

<蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <文本链> <文本链> <文本链> <文本链> <文本链> <文本链>