寻求源程序 代码 关于电子交通地图方面的

来源:百度知道 编辑:UC知道 时间:2024/05/17 01:24:34
只需要一部分可运行程序就好了!
最好能够运行的,谢谢哦!!!

当然能运行
—————————————————————————————
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>给地图加个放大镜</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 thumbheigh