AeroWindow 基于JQuery的彈出窗口插件
更新時間:2011年06月27日 21:24:59 作者:
AeroWindow是個Win7樣式的彈出窗口,jQuery插件,效果很酷!而且還像windows的窗口一樣可最大,最小化,隨意拖動。
可以一個頁面中創(chuàng)建多個彈出窗,被選中的彈出窗會加亮顯示,在同一網頁中可以有多個彈出窗口,也可以通過雙擊窗口實現(xiàn)最大化,跟windows像極了。如果想要做一個類似操作系統(tǒng)的頁面,用這個插件是完全可以實現(xiàn)的。兼容多種主流瀏覽器。

最基礎的調用方法:
帶全部參數(shù)的調用:
$('#YourContainerDiv').AeroWindow({
WindowTitle: 'My first very cool Aero Window for Web',
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 400,
WindowHeight: 100,
WindowAnimation: 'easeOutCubic',
WindowResizable: true,
WindowDraggable: true,
WindowMinimize: true,
WindowMaximize: false,
WindowClosable: true
});
使用方法:
首先加上以下引用:
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css"/>
<link href="css/AeroWindow.css?r=123" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="js/jquery-1.4.2.min.js">script>
<script type="text/javascript" src="js/jquery-ui-1.8.1.custom.min.js">script>
<script type="text/javascript" src="js/jquery.easing.1.3.js">script>
<script type="text/javascript" src="js/jquery-AeroWindow.js">script>
然后在頁面放一個DIV:
<div id="Firefoxapp" style="display: none;">
<iframe src="http://www.baidu.com/" width="100%" height="100%" style="border: 0px;" frameborder="0"></iframe>
<div id="iframeHelper"></div>
</div>
最后調用并初始化窗體:
$(document).ready(function() {
$('#Firefoxapp').AeroWindow({
WindowTitle: '測試',
WindowWidth: 500,
WindowHeight: 300,
WindowMinWidth: 50,
WindowMinHeight: 10,
WindowAnimationSpeed: 1000,
WindowAnimation: 'easeOutCubic',
WindowStatus: 'maximized',
WindowResizable: true,
WindowDraggable: true,
WindowMinimize: true,
WindowMaximize: true,
WindowClosable: true
})
});
在線演示: http://demo.jb51.net/js/AeroWindow/index.html
下載地址: http://m.fzitv.net/jiaoben/32239.html

最基礎的調用方法:
復制代碼 代碼如下:
$('#YourContainerDiv').AeroWindow((WindowTitle:'hello world',));
帶全部參數(shù)的調用:
復制代碼 代碼如下:
$('#YourContainerDiv').AeroWindow({
WindowTitle: 'My first very cool Aero Window for Web',
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 400,
WindowHeight: 100,
WindowAnimation: 'easeOutCubic',
WindowResizable: true,
WindowDraggable: true,
WindowMinimize: true,
WindowMaximize: false,
WindowClosable: true
});
使用方法:
首先加上以下引用:
復制代碼 代碼如下:
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css"/>
<link href="css/AeroWindow.css?r=123" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="js/jquery-1.4.2.min.js">script>
<script type="text/javascript" src="js/jquery-ui-1.8.1.custom.min.js">script>
<script type="text/javascript" src="js/jquery.easing.1.3.js">script>
<script type="text/javascript" src="js/jquery-AeroWindow.js">script>
然后在頁面放一個DIV:
復制代碼 代碼如下:
<div id="Firefoxapp" style="display: none;">
<iframe src="http://www.baidu.com/" width="100%" height="100%" style="border: 0px;" frameborder="0"></iframe>
<div id="iframeHelper"></div>
</div>
最后調用并初始化窗體:
復制代碼 代碼如下:
$(document).ready(function() {
$('#Firefoxapp').AeroWindow({
WindowTitle: '測試',
WindowWidth: 500,
WindowHeight: 300,
WindowMinWidth: 50,
WindowMinHeight: 10,
WindowAnimationSpeed: 1000,
WindowAnimation: 'easeOutCubic',
WindowStatus: 'maximized',
WindowResizable: true,
WindowDraggable: true,
WindowMinimize: true,
WindowMaximize: true,
WindowClosable: true
})
});
在線演示: http://demo.jb51.net/js/AeroWindow/index.html
下載地址: http://m.fzitv.net/jiaoben/32239.html
相關文章
jQuery 驗證插件 Web前端設計模式(asp.net)
asp.net下用戶注冊頁面的驗證代碼,花了點時間將驗證做成一個jQuery插件,希望對需要的朋友有所幫助。2010-10-10
jQuery插件EasyUI實現(xiàn)Layout框架頁面中彈出窗體到最頂層效果(穿越iframe)
這篇文章主要介紹了jQuery插件EasyUI實現(xiàn)Layout框架頁面中彈出窗體到最頂層效果,具有穿越iframe的功能,涉及jQuery的EasyUI插件屬性操作相關技巧,需要的朋友可以參考下2016-08-08
jquery中map函數(shù)與each函數(shù)的區(qū)別實例介紹
​jquery中的each函數(shù)和map函數(shù)的用法看起來差不多,但其實還是有一點區(qū)別的,each返回的是原來的數(shù)組,并不會新創(chuàng)建一個數(shù)組。而map方法會返回一個新的數(shù)組2014-06-06
淺談jQuery hover(over, out)事件函數(shù)
下面小編就為大家?guī)硪黄獪\談jQuery hover(over, out)事件函數(shù)。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧,祝大家游戲愉快哦2016-12-12
jQuey將序列化對象在前臺顯示地實現(xiàn)代碼(方法總結)
本文給大家分享jQuey將序列化對象在前臺顯示地的幾種方式,非常不錯,具有參考借鑒價值,需要的朋友一起看看吧2016-12-12

