漂亮的Windows7 Aero風格的彈出窗控制項

來源:互聯網
上載者:User

AeroWindow是一個jQuery外掛程式用於建立類似於Windows7 Aero風格的彈出窗控制項。具有最大化,最小化,拖動調整大小和關閉功能。可以一個頁面中建立多個彈出窗,被選中的彈出窗會加亮顯示。 航空視窗 - jQuery外掛程式 - 為Web網站的Windows Aero風格

航空視窗建立快顯視窗的Aero風格,讓人想起了Window7風格。快顯視窗提供通常的選擇和完整的功能類似於Windows視窗。

特點

航空光澤的即時動畫(見頭移動時)

常住視窗按鈕:最小化,減少,

最大化和關閉 雙支援Windows(最大化,縮小)

使用中視窗是突出直觀,因為在Windows

使用者無縫可擴充的視窗大小

用滑鼠拖動滑動視窗

常住Z -順序管理視窗

+動畫改變視窗的大小

+多個配置選項

配置選項

視窗標題 視窗的起始位置的X / Y(也為本mögich)

視窗大小

最小的視窗大小 在開啟的視窗狀態(最小化,最大化,正常)

視窗動畫(30個不同的放鬆方法) 窗函數一代滑鼠事件和JavaScript調用

在下面的相容性測試瀏覽器

Internet Explorer 6中

Internet Explorer 7中

的Internet Explorer 8

Mozilla的Firefox3

Google瀏覽器4

蘋果Safari 4

歌劇10

便於使用的現有網站

使用Aero在您現有的網站視窗。這種整合非常容易。

使用方法:

先加上以上引用

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />  
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" 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,ID=Firefoxapp

<div id="Firefoxapp" style="display: none;">  
<iframe src="http://www.google.com/" width="100%" height="100%" style="border: 0px;" frameborder="0">iframe>
<div id="iframeHelper">div>
div>

下面是初始化表單

"text/javascript">  
$(document).ready(function() {

$('#Firefoxapp').AeroWindow({
WindowTitle: '51ascx.com',
WindowPositionTop: 'center',
WindowPositionLeft: 'center',
WindowWidth: 700,
WindowHeight: 500,
WindowAnimation: 'easeOutCubic'
})


});

這樣就OK了,可以下載代碼自己研究一下,很漂亮的

:http://www.51ascx.com/78.html

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.