基于Jquery的仿Windows Aero彈出窗(漂亮的關(guān)閉按鈕)
更新時(shí)間:2010年09月28日 13:26:54 作者:
目前市面上已經(jīng)有很多成熟好用的jquery彈出窗插件,像模態(tài)窗口插件(Modal Dialog Plugins)以及數(shù)不勝數(shù)的燈箱插件(lightbox plugins)。
今天介紹的Jquery Dialog Plugins AeroWindow ,是其中最個(gè)性的一款,因?yàn)樗麚碛猩袼芖indows 7 Aero效果的肉身。
效果圖:

演示:
官方演示 本地演示
特點(diǎn)
獨(dú)特: 窗口移動(dòng)時(shí)標(biāo)題欄反光效果
窗口按鈕:最小化,減少,最大化和關(guān)閉
雙擊窗口標(biāo)題欄最大化,縮小
活動(dòng)窗口突出顯示
更改窗口大小(resize)
鼠標(biāo)拖拽窗口
N多個(gè)配置選項(xiàng)
配置選項(xiàng)
窗口標(biāo)題
窗口的起始位置的X / Y
窗口大小
最小的窗口大小
打開(kāi)窗口的可用狀態(tài)(最小化,最大化,正常)
窗口動(dòng)畫(huà)(30個(gè)不同的絢麗效果)
窗口可用函數(shù),鼠標(biāo)事件和JavaScript調(diào)用
在下面的兼容性測(cè)試瀏覽器
Internet Explorer 6
Internet Explorer 7
Internet Explorer 8
火狐3
谷歌瀏覽器4
蘋(píng)果Safari 4
Opara10
使用起來(lái)是非常簡(jiǎn)單滴
來(lái)吧 讓你現(xiàn)有的網(wǎng)站窗口以Windows Aero效果展現(xiàn)。
最簡(jiǎn)單的使用方法:
$('#YourContainerDiv').AeroWindow({
WindowTitle: 'My first very cool Aero Window for Web',
});
自定義配置:
$('#YourContainerDiv').AeroWindow({
WindowTitle: 'My first cool Aero Window for Web',
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 600,
WindowHeight: 400,
WindowMinWidth: 100,
WindowMinHeight: 100,
WindowAnimationSpeed: 500,
WindowAnimation: 'easeOutCubic',//窗口打開(kāi)時(shí)的動(dòng)畫(huà)效果
WindowResizable: true,
WindowDraggable: true,
WindowMinimize: true,
WindowMaximize: false,
WindowClosable: true
});
包含所有必要的文件和演示文件。這個(gè)版本基于jQuery(v1.4.2)
官方下載地址: » AeroWindow(v3.5)
本站下載地址: AeroWindow 基于jquery的仿Windows Aero彈出窗
另附上生活流 頁(yè)面的關(guān)于使用AeroWindow插件的代碼
//javascript腳本
$(document).ready(function() {
$('#profilactic a').click(function() {
var go=$(this);
$('#mywindows').attr('src',go.attr('href'))
go.attr('href','javascript:void(0);');
$('#Firefoxapp').AeroWindow({
WindowTitle: '向晚的'+go.attr('class'),
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 1000,
WindowHeight: 500,
WindowAnimation: 'easeOutCubic'
});
$('html,body').animate({scrollTop: '0px'}, 300);
return false;
});
});
//彈出窗口容器
<DIV id=Firefoxapp style="DISPLAY: none">
<iframe style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" id="mywindows" height="99.5%" src="" frameborder="0" width="100%"></iframe>
<DIV id=iframeHelper></DIV>
</DIV>
需要的朋友可以參考下。
效果圖:

演示:
官方演示 本地演示
特點(diǎn)
獨(dú)特: 窗口移動(dòng)時(shí)標(biāo)題欄反光效果
窗口按鈕:最小化,減少,最大化和關(guān)閉
雙擊窗口標(biāo)題欄最大化,縮小
活動(dòng)窗口突出顯示
更改窗口大小(resize)
鼠標(biāo)拖拽窗口
N多個(gè)配置選項(xiàng)
配置選項(xiàng)
窗口標(biāo)題
窗口的起始位置的X / Y
窗口大小
最小的窗口大小
打開(kāi)窗口的可用狀態(tài)(最小化,最大化,正常)
窗口動(dòng)畫(huà)(30個(gè)不同的絢麗效果)
窗口可用函數(shù),鼠標(biāo)事件和JavaScript調(diào)用
在下面的兼容性測(cè)試瀏覽器
Internet Explorer 6
Internet Explorer 7
Internet Explorer 8
火狐3
谷歌瀏覽器4
蘋(píng)果Safari 4
Opara10
使用起來(lái)是非常簡(jiǎn)單滴
來(lái)吧 讓你現(xiàn)有的網(wǎng)站窗口以Windows Aero效果展現(xiàn)。
最簡(jiǎn)單的使用方法:
復(fù)制代碼 代碼如下:
$('#YourContainerDiv').AeroWindow({
WindowTitle: 'My first very cool Aero Window for Web',
});
自定義配置:
復(fù)制代碼 代碼如下:
$('#YourContainerDiv').AeroWindow({
WindowTitle: 'My first cool Aero Window for Web',
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 600,
WindowHeight: 400,
WindowMinWidth: 100,
WindowMinHeight: 100,
WindowAnimationSpeed: 500,
WindowAnimation: 'easeOutCubic',//窗口打開(kāi)時(shí)的動(dòng)畫(huà)效果
WindowResizable: true,
WindowDraggable: true,
WindowMinimize: true,
WindowMaximize: false,
WindowClosable: true
});
包含所有必要的文件和演示文件。這個(gè)版本基于jQuery(v1.4.2)
官方下載地址: » AeroWindow(v3.5)
本站下載地址: AeroWindow 基于jquery的仿Windows Aero彈出窗
另附上生活流 頁(yè)面的關(guān)于使用AeroWindow插件的代碼
復(fù)制代碼 代碼如下:
//javascript腳本
$(document).ready(function() {
$('#profilactic a').click(function() {
var go=$(this);
$('#mywindows').attr('src',go.attr('href'))
go.attr('href','javascript:void(0);');
$('#Firefoxapp').AeroWindow({
WindowTitle: '向晚的'+go.attr('class'),
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 1000,
WindowHeight: 500,
WindowAnimation: 'easeOutCubic'
});
$('html,body').animate({scrollTop: '0px'}, 300);
return false;
});
});
//彈出窗口容器
<DIV id=Firefoxapp style="DISPLAY: none">
<iframe style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" id="mywindows" height="99.5%" src="" frameborder="0" width="100%"></iframe>
<DIV id=iframeHelper></DIV>
</DIV>
需要的朋友可以參考下。
您可能感興趣的文章:
- jQuery實(shí)現(xiàn)首頁(yè)懸浮框
- 使用jQuery UI的tooltip函數(shù)修飾title屬性的氣泡懸浮框
- jQuery實(shí)現(xiàn)單擊按鈕遮罩彈出對(duì)話框效果(2)
- jQuery實(shí)現(xiàn)單擊按鈕遮罩彈出對(duì)話框效果(1)
- jQuery點(diǎn)擊按鈕彈出遮罩層且內(nèi)容居中特效
- jQuery實(shí)現(xiàn)點(diǎn)擊按鈕彈出可關(guān)閉層的浮動(dòng)層插件
- jQuery實(shí)現(xiàn)單擊按鈕遮罩彈出對(duì)話框(仿天貓的刪除對(duì)話框)
- jquery實(shí)現(xiàn)界面點(diǎn)擊按鈕彈出懸浮框
相關(guān)文章
JQuery組件基于Bootstrap的DropDownList(完整版)
這篇文章主要介紹了JQuery組件基于Bootstrap的DropDownList的完整版,在原有基礎(chǔ)上進(jìn)行完善功能,感興趣的小伙伴們可以參考一下2016-07-07
jQuery插件boxScroll實(shí)現(xiàn)圖片輪播特效
本文給大家分享的是使用jQuery插件Boxscroll來(lái)實(shí)現(xiàn)簡(jiǎn)單的圖片輪播特效的代碼,非常簡(jiǎn)單實(shí)用,有需要的小伙伴可以參考下。2015-07-07
基于jquery的時(shí)間段實(shí)現(xiàn)代碼
基于jquery的時(shí)間段實(shí)現(xiàn)代碼,需要的朋友可以參考下2012-08-08
Jquery實(shí)現(xiàn)彈性滑塊滑動(dòng)選擇數(shù)值插件
有時(shí)我們?cè)陧?yè)面上需要選擇數(shù)值范圍,如購(gòu)物時(shí)選取價(jià)格區(qū)間,購(gòu)買主機(jī)時(shí)自主選取CPU,內(nèi)存大小配置等,使用直觀的滑塊條直接選取想要的數(shù)值大小即可,無(wú)需手動(dòng)輸入數(shù)值,操作簡(jiǎn)單又方便。2015-08-08
jquery animate實(shí)現(xiàn)鼠標(biāo)放上去顯示離開(kāi)隱藏效果
本文為大家介紹下使用jquery animate實(shí)現(xiàn)鼠標(biāo)放上去顯示,離開(kāi)就隱藏的效果,感興趣的朋友可以參考下哈,希望對(duì)大家有所幫助2013-07-07

