原创 iframe自適應

子頁面內容發生變化時,修改iframe的高度,使其自適應 a.html   <iframe src="innerIframe.html" width="100%" id="iframe1" style="height: 300px;bord

原创 ognl(1)

  package javaseognl;   import ognl.OgnlContext;  import ognl.Ognl;  import ognl.OgnlException;   /**   * Created by Int

原创 常見的定位對應的盒模型

     六種常見的盒模型:     1.inline     2.inline-block;     3.block     4.table     5.absolute     6.float     六種常見的定位     1.s

原创 圖表工具

http://echarts.baidu.com/doc/example.html#k

原创 yui 可靠的檢測輸入框的變化

可靠地檢測輸入框變化<!DOCTYPE html> <html> <head> <title></title> <meta charset="utf-8"> </head> <body> <p>11</p> <form id

原创 javascript 繼承

  function Person(name,age){     this.name=name;     this.age=age; } Person.prototype.getName=function(){     return thi

原创 javascript 註釋

     /**      * 觸發事件      * @ignore      * @param {String} type 事件類型      * @return {XMLHttpRequest} XMLHttpRequest對象  

原创 我的友情鏈接

51CTO博客開發

原创 Node 設置編碼

/** * Created with JetBrains WebStorm. * User: liangxinglei * Date: 14-2-17 * Time: 上午9:43 * To change this templat

原创 css 常見的盒模型

        1、常見的盒模型:inline,inline-block,block,position,table,float         2、當display:list-item時,它的父元素比須是塊狀元素,必須設置margin/p