全屏游動(dòng)的圖片,可以飄到瀏覽器外邊哦
2007/2/2 23:03:24
  <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>網(wǎng)頁(yè)特效觀止|www.jscode.cn| --- 給地圖加個(gè)放大鏡</title> <SCRIPT>  var shrinkfactor=5  // left and top position of the thumbnailimage  // (distance to the left and top browser-margin, pixels) var thumbleft = 30 var thumbtop = 30  // left and top position of the zoomed image  // (distance to the left and top browser-margin, pixels) var largeleft = 300 var largetop = 30  // width and height of the enlarged image's sector (visible part, pixels) var clipwidth = 240 var clipheight = 160 </SCRIPT> <SCRIPT>  var isNav, isIE var offsetX, offsetY var selectedObj  var largewidth = 0 var largeheight = 0  var thumbwidth = Math.floor(largewidth/shrinkfactor) var thumbheight = Math.floor(largeheight/shrinkfactor)  var dragimgwidth = Math.floor(clipwidth/shrinkfactor) var dragimgheight = Math.floor(clipheight/shrinkfactor) var dragimgleft = thumbleft+3 var dragimgtop = thumbtop+3  var difleft= largeleft-thumbleft var diftop= largetop-thumbtop  var clippoints  var cliptop=0 var clipbottom=cliptop+clipheight var clipleft=0 var clipright=clipleft+clipwidth  if (parseInt(navigator.appVersion) >= 4) { if (navigator.appName == "Netscape") { isNav = true } else { isIE = true } }  function setZIndex(obj, zOrder) { obj.zIndex = zOrder }  function shiftTo(obj, x, y) { if (isNav) {        if(x<=document.thumb.left) {x=document.thumb.left} if(x>=(document.thumb.left+thumbwidth-dragimgwidth-2)) {x=document.thumb.left+thumbwidth-dragimgwidth-2} if(y<=document.thumb.top) {y=document.thumb.top} if(y>=(document.thumb.top+thumbheight-dragimgheight-2)) {y=document.thumb.top+thumbheight-dragimgheight-2} obj.moveTo(x,y) } else { if(x<=document.all.thumb.style.posLeft) {x=document.all.thumb.style.posLeft} if(x>=(document.all.thumb.style.posLeft+thumbwidth-dragimgwidth-2)) {x=document.all.thumb.style.posLeft+thumbwidth-dragimgwidth-2} if(y<=document.all.thumb.style.posTop) {y=document.all.thumb.style.posTop} if(y>=(document.all.thumb.style.posTop+thumbheight-dragimgheight-2)) {y=document.all.thumb.style.posTop+thumbheight-dragimgheight-2} obj.pixelLeft = x obj.pixelTop = y } cliptop = (y-thumbtop)*shrinkfactor clipbottom = cliptop+clipheight clipleft = (x-thumbleft)*shrinkfactor clipright = clipleft+clipwidth  if (document.all) { clippoints ="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")" document.all.large.style.posTop=largetop-cliptop document.all.large.style.posLeft=largeleft-clipleft document.all.large.style.clip=clippoints } if (document.layers) { document.large.top=largetop-cliptop document.large.left=largeleft-clipleft document.large.clip.left = clipleft document.large.clip.right = clipright document.large.clip.top = cliptop document.large.clip.bottom = clipbottom } }  function setSelectedElem(evt) { if (isNav) { var testObj var

下一頁(yè)
返回列表
返回首頁(yè) 主站蜘蛛池模板: 桃子视频在线观看高清免费视频| 色哟哟网站在线观看| 天天干天天干天天干天天干天天干| 久久婷婷五月综合97色直播| 欧美日本另类xxx乱大交| 免费无码又爽又刺激高潮| 色欲麻豆国产福利精品| 国产成人黄色在线观看| 69成人免费视频无码专区| 奇米综合四色77777久久| 全免费a级毛片免费看| 青青热久久久久综合精品| 国产精品久久久久久久| 99久re热视频这里只有精品6| 巨胸狂喷奶水视频www网站免费| 亚洲午夜精品在线| 热99在线视频| 国产尤物二区三区在线观看| 2020欧美极品hd18| 夜夜影院未满十八勿进| 久久免费看视频| 欧美40老熟妇| 全球全球gogo专业摄影| 色综合久久天天影视网| 国产思思99re99在线观看| 被吃奶跟添下面视频| 手机在线看片不卡中文字幕| 久久婷婷五月综合97色直播 | 国产做a爰片久久毛片| www成人免费观看网站| 樱桃视频影院在线播放| 亚洲欧美偷自乱图片| 波多野结衣被绝伦在线观看| 免费女人18毛片a级毛片视频| 精品视频国产狼友视频| 国产h视频在线观看| 阿v天堂2020| 国产又色又爽又刺激视频| 91精品国产麻豆福利在线| 天天干天天拍天天射| 一个人hd高清在线观看|