-
[Web前端] showModalDialog窗口正中
showModalDialog窗口居中 设置iTop和iLeft属性,如下: functionopenTempleteSelector(url,iWidth,iHeight){ variTop=(window.screen.availHeight-20-iHeight)/2; variLeft=...
104
热度 -
[Web前端] java web工程中怎么获取webroot 路径
javaweb工程中如何获取webroot路径 话不多说,直接上代码在web.xml中加入<context-param> <param-name>webAppRootKey</param-name> <param-value>webapp.root&l...
743
热度 -
[Web前端] 移动上的meta的新值介绍
移动下的meta的新值介绍 1、apple-mobile-web-app-capable ? ? <metaname="apple-mobile-web-app-capable"content="yes"/> ? ----------网站对webapp程序的支持,允许全屏模式浏览,隐藏...
92
热度 -
[Web前端] 相关showModalDialog和window.open
有关showModalDialog和window.open 有关showModalDialog和window.open(2007-07-0514:17:05)转载<script></script>标签:window.open模式窗口分类:Studying<!--正文开始...
360
热度 -
98
热度 -
[Web前端] highcharts 默许显示曲线
highcharts默认显示曲线 ? series:[{ name:'排班人力' },{ name:'出勤人力' },{ name:'签入人数' },{ name:'上班人数', visible:false },{ name:'休...
701
热度 -
[Web前端] showModalDialog FRAMESET IE9上访问,窗口很小
showModalDialogFRAMESETIE9下访问,窗口很小 showModalDialogFRAMESETIE9下访问,窗口很小。 functionopenSelector(url,iWidth,iHeight){ variTop=0; variLeft=(window.screen....
1190
热度 -
[Web前端] 怎么使wordpress导航栏在新窗口打开
如何使wordpress导航栏在新窗口打开 很多刚刚接触wordpress的小白对于导航栏链接在新窗口中打开都不知道怎么设置,包括潇洒我一样。 ? 在无意中发现本设置赶紧与大家分享,设置很简单。 一、打开你网站后台,点击外观中的菜单。 ? ? 二、在窗口右上方点击显示选项,勾选链接目标。? ...
7
热度 -
107
热度 -
[Web前端] 检测是不是通过主屏启动webapp
检测是否通过主屏启动webapp 问题: ? 如何检测用户是通过主屏启动webapp的? ? ? 解决方案: ? 针对iOS ? //true表示是从主屏启动的,反之 navigator.standalone ? ?
106
热度 -
324
热度 -
[Web前端] 严厉的身份证号码验证
严格的身份证号码验证 <script> functioncheckIdcard(idcard1){ varidcard=document.forms[0].elements[idcard1].value; varErrors=newArray( "验证通过!", "身份证号码位数不对!...
117
热度 -
[Web前端] freemarker中struts2 的<s:select使用有关问题
freemarker中struts2的<s:select使用问题 让Freemarker要不解析list即r"#{'0':'是','1':'否'}"就能解决问题<@s.selectname="stu.status"list=r"#{'0':'是','1':'否'}">
333
热度 -
91
热度 -
218
热度 -
224
热度 -
[Web前端] 一个基于jquery的简单上拉框实现
一个基于jquery的简单下拉框实现 项目中使用的是easyui的组件,后来发现在编辑页面中,如果combobox组件数量过多,会导致页面超级慢,还有可能造成浏览器崩溃,经过研究easyui的源码发现,combobox是由多个html对象组成的,而且每个combobox有一个单独的下拉面板,如果页面...
227
热度 -
251
热度 -
67
热度 -
[Web前端] Kindeditor使用常见有关问题
Kindeditor使用常见问题 最近在使用Kindeditor,但是出现了些问题,不过最终都解决了,所以在此分享下也记录下 vareditor; KindEditor.ready(function(K){ editor=K.create('textarea[name="answer"]',{ ...
87
热度