码迷,mamicode.com
首页 >  
搜索关键字:document    ( 20024个结果
JAXB - Annotations, Top-level Elements: XmlRootElement
A class that describes an XML element that is to be a top-level element, i.e., one that can function as an XML document, should be annotated with XmlR ...
分类:其他好文   时间:2016-05-20 13:23:51    阅读次数:224
JAXB - Calling marshal
Only a handful of source code lines is required to make a JAXB Marshaller object write a document tree as an XML file. First you obtain a Marshaller f ...
分类:其他好文   时间:2016-05-20 11:29:24    阅读次数:192
JS之延迟处理
$(document).ready(function () { $("#zidong3,#zidong1").click(function () { $("#zidong3").css("-webkit-animation", "gira 1s ease-out 1"); $("#zidong3") ...
分类:Web程序   时间:2016-05-20 09:54:59    阅读次数:131
获取页面元素距离浏览器工作区顶端的距离
先介绍几个属性:(暂时只测了IE和firefox,实际上我工作中用到的最多的是chrome) 网页被卷起来的高度/宽度(即浏览器滚动条滚动后隐藏的页面内容高度) (javascript) document.documentElement.scrollTop //firefox (javascript ...
分类:其他好文   时间:2016-05-20 06:14:40    阅读次数:181
jsp页面做文件上传时遇到要根据登陆名按钮显示或隐藏的情况
项目遇到的情况要根据登陆的角色不同显示或隐藏按钮,因为之前没有遇到过 所以有些不知道怎么下手,百度解决了 方法如下: document.getElementById("#anniu").hide() ...
分类:Web程序   时间:2016-05-19 23:29:45    阅读次数:406
canvas初探3:画方画圆
绘制矩形的方法,strokeRect()、fillRect()及clearRect()。 效果图如下,左侧为未填充的矩形,右侧为填充的矩形。 代码如下所示, var canvas = document.getElementById("canvas"), context = canvas.getCon ...
分类:其他好文   时间:2016-05-19 23:08:05    阅读次数:278
解释 : 获取页面元素宽高方法及图解
JSoffsetWidth\offsetleft <wbr>等图文解释 网页可见区域宽: document.body.clientWidth; 网页可见区域高: document.body.clientHeight; 网页可见区域宽: document.body.offsetWidth (包括边线的 ...
分类:其他好文   时间:2016-05-19 19:22:34    阅读次数:155
用JS实现一个表单多个按钮的方法,两个onclick事件处理
<html> <head> <script> function submitit1() //交由程序1处理 { document.form1.action = "http://www.baidu.com/" document.form1.submit(); } function submitit2( ...
分类:Web程序   时间:2016-05-19 10:46:32    阅读次数:962
Discuz! 的编码规范
http://open.discuz.net/?ac=document&page=dev_coderule 前言 适用范围 标准化的重要性和好处 程序员可以了解任何代码,弄清程序的状况 新人可以很快的适应环境 防止新接触PHP的人出于节省时间的需要,自创一套风格并养成终生的习惯 防止新接触PHP的人 ...
分类:Web程序   时间:2016-05-19 09:08:09    阅读次数:348
nginx +php
nginx与php整合以后出现404的错误。这种情况有可能是php-from解析不到php脚本。修改php下的/scripts这个目录吧/scripts修改成$document_root#fastcgi_paramSCRIPT_FILENAME/scripts$fastcgi_script_name;意思其实就是解析运行你location中指定的目录中的php文件fastcgi_paramSC..
分类:Web程序   时间:2016-05-18 22:11:52    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!