学习无止境!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年12月14日

摘要: js获取控件的绝对位置 已经控件宽度和高度2010-08-11 13:07//获取控件左绝对位置function getAbsoluteLeft(objectId) {o = document.getElementById(objectId)oLeft = o.offsetLeftwhile(o.offsetParent!=null) { oParent = o.offsetParentoLeft += oParent.offsetLeft o = oParent}return oLeft}//获取控件上绝对位置function getAbsoluteTop(objectId) {o = do 阅读全文
posted @ 2010-12-14 17:16 钻石眼泪 阅读(16477) 评论(0) 推荐(0)

摘要: %@ Page Language="C#" AutoEventWireup="true" CodeBehind="DCS_SubmitNewRequest.aspx.cs" Inherits="BAF.DCS.Web.DCS_SubmitNewRequest" %!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"html xmlns="http://www.w3.org/1999/xhtml"h 阅读全文
posted @ 2010-12-14 09:51 钻石眼泪 阅读(381) 评论(0) 推荐(0)