漂亮的Windows7 Aero风格的弹出窗控件

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的火狐3

谷歌浏览器4

苹果Safari 4

歌剧10

易于使用的现有站点

使用Aero在您现有的网站窗口。这种集成非常容易。

漂亮的Windows7 Aero风格的弹出窗控件_第1张图片

漂亮的Windows7 Aero风格的弹出窗控件_第2张图片

使用方法:

先加上以上引用

   
   
   
   
< 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

你可能感兴趣的:(漂亮的Windows7 Aero风格的弹出窗控件)