A site provide JavaScript Graphics Library
2006-04-12 14:22
197 查看
You can see the detail in this site:
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
Very cool.
And this function is to change the zoom of the page. You can find it when you doubleclick in the page.
function ZOOM()
{
if (document.body && document.body.style && typeof document.body.style.zoom != "undefined")
{
if (document.body.style.zoom=="400%")
document.body.style.zoom = "100%";
else
{
document.body.style.zoom = "400%";
alert('You/'ve doubleclicked on the document./nDoubleclick again to unzoom.');
}
}
}
document.ondblclick=ZOOM;
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
Very cool.
And this function is to change the zoom of the page. You can find it when you doubleclick in the page.
function ZOOM()
{
if (document.body && document.body.style && typeof document.body.style.zoom != "undefined")
{
if (document.body.style.zoom=="400%")
document.body.style.zoom = "100%";
else
{
document.body.style.zoom = "400%";
alert('You/'ve doubleclicked on the document./nDoubleclick again to unzoom.');
}
}
}
document.ondblclick=ZOOM;
相关文章推荐
- A javascript library providing cross-browser, cross-site messaging/method invocation. http://easyxdm.net
- ArcGIS.Server.9.3和ArcGIS API for JavaScript中GraphicsLayer应用(五)
- JavaScript 工具库:Cloudgamer JavaScript Library v0.1 发布
- Asp.Net Ajax 学习笔记10 JavaScript的原生类型以及Microsoft AJAX Library的相关扩展(下)
- dygraphs JavaScript Visualization Library
- famous javascript library.
- 深入浅出 Javascript API(四)--绘制 Graphics
- ArcGIS API for Javascript library 3.9安装说明
- Skia graphics library in Chrome
- 微软在Apache下开源WinJS(Windows Library for JavaScript)
- jQuery - a fast and concise JavaScript library.
- Raphaël - JavaScript Vector Library
- Using the Dojo JavaScript Library to Build Ajax Applications一书翻译完毕
- 在Microsoft AJAX Library下JavaScript的面向对象开发
- Microsoft Anti-Cross Site Scripting Library (跨站脚本攻击防御)
- 在Microsoft AJAX Library下JavaScript的面向对象开发
- error: could not create '/Library/Python/2.7/site-packages/xlrd': Permission denied
- 【Function类型】JavaScript中的原生对象以及Microsoft AJAX Library中的相关扩展
- This site requires JavaScript and Cookies to be enabled的解决方法
- Lazy loading JavaScript to improve site speed