`
yuxia_rainy
  • 浏览: 6409 次
  • 性别: Icon_minigender_2
  • 来自: 烟台
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
  <script> $(function(){ $('#closeCon').click(function(){ $('#kfms').hide('slow'); }); $('.kfConDiv').bind('click',function(e){ var xx = e.originalEvent.x || e.originalEvent.layerX || 0; var yy = e.originalEvent.y || e.originalEvent.layerY || 0; $('#kfms').css('top ...
iframe里的js要操作父级窗口的dom,必须搞懂几个对象: parent是父窗口(如果窗口是顶级窗口,那么parent==self==top), top是最顶级父窗口(有的窗口中套了好几层frameset或者iframe), self是当前窗口(等价window), opener是用open方法打开当前窗口的那个窗口; 这样iframe里的js要操作父级窗口的dom可以通过parent,top这些对象来获取父窗口的window对象,例如: parent.document.getElementById(“dom ID”); parent,top还能调用父级窗口的的js方法,比 ...
import java.util.Date; import java.text.DateFormat; /** * 格式化时间类 * DateFormat.FULL = 0 * DateFormat.DEFAULT = 2 * DateFormat.LONG = 1 * DateFormat.MEDIUM = 2 * DateFormat.SHORT = 3 * @author Michael * @version 1.0, 2007/03/09 */ public class Test{ public static void ma ...
tree = new dTree('tree');//创建一个对象. $.ajax({ url:'NodesPrint', type:'post', //数据发送方式 dataType:($.browser.msie)? "text" : "xml", //接受数据格式 error:function(json){ alert( "not lived!"); }, async: false , success: function(data){ var xml; if(type ...
Global site tag (gtag.js) - Google Analytics