<!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 id="Head1" runat="server"> <meta charset="utf-8" /> <title>ColorBox Examples</title> <style type="text/css"> body { font: 12px/1.2 Verdana, Arial, san-serrif; padding: 0 10px; } a:link, a:visited { text-decoration: none; color: #416CE5; border-bottom: 1px solid #416CE5; } h2 { font-size: 13px; margin: 15px 0 0 0; } </style> <link media="screen" rel="stylesheet" href="colorbox.css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script src="jquery.colorbox.js"></script> <script> $(document).ready(function () { $(".example7").colorbox({ width: "80%", height: "80%", iframe: true }); $("#<%=btn1.ClientID %>").click(function () { //"<%=sessionValue %>" $("#a1").trigger("click"); return false; }); }) </script> </head> <body> <form runat="server"> <p> <a class='example7' id="a1" href="http://google.com">Outside Webpage (Iframe)</a></p> <asp:Button ID="btn1" runat="server" Text="Click" /> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)