放飞自我 LET DREAMS FLY

2012年11月12日 #

[f]获得鼠标坐标

摘要: 相对文档获得鼠标坐标;function getMouse(ev){ var ev = ev || event; var scrollLeft = document.documentElement.scrollLeft||document.body.scrollLeft; var scrollTop = document.documentElement.scrollTop||document.body.scrollTop; return {x:scrollLeft+ev.cli... 阅读全文

posted @ 2012-11-12 16:16 niuben 阅读(155) 评论(0) 推荐(0)

评分系统

摘要: 一个评分的代码,很简单!<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8&quo 阅读全文

posted @ 2012-11-12 09:48 niuben 阅读(241) 评论(0) 推荐(0)

导航