<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
      <link href="Lv/colorbox.css" media="screen"  type="text/css" />    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>    <script src="Lv/jquery.colorbox.js" type="text/javascript"></script>
                   
    <script type="text/javascript">
        $(document).ready(function() {
            //Examples of how to assign the ColorBox event to elements
                  
            $("a[rel='example3']").colorbox({ transition: "none", width: "75%", height: "75%" });
         
            //Example of preserving a JavaScript event for inline calls.
            $("#click").click(function() {
                $('#click').css({ "background-color": "#f00", "color": "#fff", "cursor": "inherit" }).text("Open this window again and this message will still be here.");
                return false;
            });
        });
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
     
                    <asp:DataList ID="datalist1" runat="server" RepeatColumns="5">
                        <ItemTemplate>
                            <p><a title='<%#Eval("SellGropTitle") %>' href='<%#Eval("BigImg") %>' rel="example3"
                               ><span><b>
                                    <img src='<%#Eval("SmallImg") %>' alt="" width="120" height="90" /></b></span><em><%#Eval("SellGropTitle") %></em></a></p>
                        </ItemTemplate>
                    </asp:DataList>
                当不用数据库时,只用图片可以达到图片弹出浏览的效果,但是我一用数据绑定后却不能达到效果,没有报错,只是弹出来的相册样式都变乱了。。请问哪个用过这个控件?谢谢,帮忙看看