MaysamSh

host page

Feb 2nd, 2013
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.00 KB | None | 0 0
  1. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="sandbox.aspx.vb" Inherits="cms_sandbox" %>
  2.  
  3. <!DOCTYPE html>
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head runat="server">
  7.     <title></title>
  8.     <script src="../js/jquery-1.8.3.min.js"></script>
  9.         <style>
  10.             * {
  11.                 margin:0;
  12.                 padding:0;
  13.             }
  14.  
  15.         </style>
  16.  
  17.     <link href="style/modal.css" rel="stylesheet" />
  18.     <script src="../js/modal.js"></script>
  19.     <script>
  20.  
  21.         // Wait until the DOM has loaded before querying the document
  22.         $(document).ready(function () {
  23.  
  24.             $.get('PagesForMenu.aspx', function (data) {
  25.                 modal.open({ content: data });
  26.             });
  27.  
  28.  
  29.             $('a#howdy').click(function (e) {
  30.                 modal.open({ content: "Hows it going?" });
  31.                 e.preventDefault();
  32.             });
  33.         });
  34.  
  35.  
  36.     </script>
  37. </head>
  38. <body>
  39.     <form id="form1" runat="server">
  40.         <a id='howdy' href='#'>Howdy</a>
  41.  
  42.  
  43.     </form>
  44. </body>
  45. </html>
Advertisement
Add Comment
Please, Sign In to add comment