Regards, Vikash Pathak
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DraggableAndResizable.aspx.cs" Inherits="JQueryValidationExample.DraggableAndResizable" %> <!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>jQuery Draggabele And Resizable</title> <link href="themes/ui-lightness/jquery-ui.css" rel="stylesheet" type="text/css" /> <script src="Scripts/jquery-1.6.1.min.js" type="text/javascript"></script> <script src="Scripts/jquery-ui.js" type="text/javascript"></script> <style type="text/css"> p { font-weight:bold; } #draggableResizable { margin:0 auto; width: 190px; height: 190px; padding: 0.5em; } </style> <script type="text/javascript"> $(function () { $("#draggableResizable").draggable(); }); </script> <script type="text/javascript"> $(function () { $("#draggableResizable").resizable(); }); </script> </head> <body> <form id="form1" runat="server"> <div id="draggableResizable" class="ui-widget-content"> <p> Drag me or Resize me</p> </div> </form> </body> </html>
ER sandeep chourasia sandeepchrs@yahoo.com (on facebook) http://www.aspnetcodes.com/
Login to post response