GreyBox框架基本使用效果挺好的,可以实现"图片预览"和"页中页"的效果
先来个例子:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
var GB_ROOT_DIR = "./greybox/";
</script>
<script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<form id="form1" runat="server">
<div>
<a href="Images/top1.gif" rel="gb_page_center[300, 130]"><img border="0" src="Images/top1.gif" /></a>
<a href="http://www.baidu.com" rel="gb_page_center[700, 530]">www.baidu.com</a>
<a href="Default2.aspx" rel="gb_page_fs[]">Time</a>
</div>
</form>
</body>
</html>
官方网站:http://orangoo.com/labs/GreyBox/
下载地址:http://download.csdn.net/source/1704006