`
pireswang
  • 浏览: 25416 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
  autocomplete支持: 1:本地响应模式。2.Ajax模式。 --------------------------------------------------------------------------------------------- autocomplete文件 包括:                          autocomplete 使用说明.doc                          data.js                          autocomplete.js            ...
由于做项目的时候,InfoCC弹出页面较多,有的甚至父子页面关系有好几层而且在 更新树形菜单数据的时候,会遇到跨iframe访问的问题 。 因此为了方便访问页面元素我这边做了一些例子仅供参考。   1. A iframe的页面访问B iframe页面的内容。       parent.document.getElementById('B iframe的ID').contentWindow.document.getElementById('B iframe页面要访问的元素ID')     2.  A iframe的3级页面访问B iframe页面的内容。   ...
此控件解决让下拉框可读可写。  
国外的一个demo 做发表和回复用的! 不错哟!
国外树形菜单 范例 推荐!!! 含有使用api文档! 可以修改 !
    将以前页面的:        <table width="100%" cellpadding="0" cellspacing="0" style="margin:3px 0px 3px 0px;line-height:1.5em ;">       <tr>        <td class="wordwrap" width="33%" valign="top" align="center&quo ...

表单验证

分为:有表单验证 和 无表单验证。 具体的操作有出入,详情请见 附件和举例。

Div 折叠

一个div的容器 可以 折叠 展开。

时间控件

1.页面js src到js/jslib 找到 calendar.js       css href到 style/ 找到 calendar.css 即可。      2.前面页面写上:    <body onload="loadcalendar();">      <input type="text" onClick="showcalendar(event, this, true, (new Date()), (new Date()));" onFocus="showcalendar(e ...
  1.页面js src到js/web 找到 tools.js 中的函数:function listToList(list1,list2,direction,operation)。       2.前面页面 写上:   <table width="27%" height="194" border="0" cellpadding="1" cellspacing="0">   <tr>     <td width="21%"> ...
    1.页面js src到js/web 找到 tools.js 中的函数:function switchTag(totalNum,selectNum,listName,obj)。          2.前面页面写上:    <div class="tab_page">     <div class="tab_page_title">       <ul class="tab_page_items">         <li class="tab_p ...
      说明:       页面上前台向后台传checkbox value数据,除了form提交之外,还可以在你自定义的函数中调用checkSelect(name)来获取被选中的value数组。       具体做法如:可见附件demo。       1.页面js src到js/web 找到 web.js 中的函数:fullChecked(name,self) 和 checkSelect(name)。       2.前面页面 写上:                 <input type="checkbox" name="slt ...

换行FF不兼容

    博客分类:
  • CSS
<html> <head> <title>Wordwrap for Mozilla</title> <style type="text/css"> .wordwrap {     word-wrap:break-word;     word-break:break-all;    -moz-binding: url('./wordwrap.xml#wordwrap');     overflow: hidden; } </style> </head> <body> <div ...

双击自动滚屏

<script>     var currentpos,timer;     function initialize(){         timer=setInterval("scrollwindow()",50);     }         function sc(){         clearInterval(timer);     }         function scrollwindow(){             currentpos=docum ...

无图片圆角

    博客分类:
  • CSS
<html><br> <head><br> <title>css圆角效果--网页特效</title> <meta http-equiv="content-type" content="text/html; charset=gb2312"> <style type="text/css"> div.RoundedCorner{background: #9BD1FA} b.rtop, b.rbottom{display:block;backgrou ...
Global site tag (gtag.js) - Google Analytics