2010年12月4日
摘要: 阅读全文
posted @ 2010-12-04 16:19 镆铘 阅读(451) 评论(0) 推荐(0)
摘要: <Application xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="DataGridRowStyle.App" xmlns:data="clr-namespace:System.Windows.Control... 阅读全文
posted @ 2010-12-04 16:04 镆铘 阅读(247) 评论(0) 推荐(0)
摘要: <Style TargetType="local:DataGridRow"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="local:DataGridRow"> <Grid Name="RootElement"> <Grid.Row... 阅读全文
posted @ 2010-12-04 16:02 镆铘 阅读(449) 评论(0) 推荐(0)
  2010年7月24日
摘要: function SaveToWeb(){ document.all.FramerControl1.HttpInit(); document.all.FramerControl1.HttpAddPostCurrFile("FileData", "mydoc.doc"); var err = document.all.FramerControl1.HttpPost("Http://202.114.1... 阅读全文
posted @ 2010-07-24 20:44 镆铘 阅读(213) 评论(0) 推荐(0)
  2010年5月25日
摘要: 制作网页的过程中,你有时候需要知道某个元素在网页上的确切位置。 下面的教程总结了Javascript在网页定位方面的相关知识。 一、网页的绝对大小和相对大小 首先,要明确两个基本概念。 一张网页的全部面积,就是它的绝对大小。通常情况下,网页的绝对大小由内容和CSS样式表决定。 网页的相对大小则是指在浏览器窗口中看到的那部分网页,也就是浏览器窗口的大小,又叫做viewport(视口)。 下图中央的方框就代表浏览器窗口,每次只能显示一部分网页。 (图一 网页的绝对大小和相对大小) 很显然,如果网页的内容能够在浏览器窗口中全部显示(也就是不出现滚动条),那么网页的绝对大小和相对大小是相等的。 二、获 阅读全文
posted @ 2010-05-25 07:35 镆铘 阅读(1147) 评论(1) 推荐(0)