jQuery: The Write Less, Do More JavaScript Library

j query resizable is not working

View: New views
2 Messages — Rating Filter:   Alert me  

j query resizable is not working

by ayanonly1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi
this is my small code just coppyed from demo and a little changed
but i can't resize the div
all the file are present in the same directory


<html>
    <head>
<script language="JavaScript" src="jquery-1.3.2.js"></script>
<script language="JavaScript" src="ui.core.js"></script>
<script language="JavaScript" src="ui.resizable.js"></script>
<link type="text/css" href="ui.all.css" rel="stylesheet" />
<link type="text/css" href="demos.css" rel="stylesheet" />
                   <style type="text/css">
        #resizable { width: 150px; height: 150px; padding: 0.5em; }
        #resizable h3 { text-align: center; margin: 0; }
        </style>
        <script type="text/javascript">
        $(function() {
                $("#resizable").resizable();
                alert('ayan');
        });
        </script>

</head>
<body>
<div class="demo">

<div id="resizable"  class="ui-widget-content">
        <h3 class="ui-widget-header">Resizable</h3>
</div>

</div><!-- End demo -->

<div class="demo-description">

<p>Enable any DOM element to be resizable.  With the cursor grab the
right or bottom border and drag to the desired width or height.</p>

</div><!-- End demo-description -->
</body>
</html>


thanks
ayan

--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.



Re: j query resizable is not working

by Richard D. Worth-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Works for me:



- Richard

On Fri, Nov 6, 2009 at 2:02 AM, ayanonly1 <ayanonly1@...> wrote:
hi
this is my small code just coppyed from demo and a little changed
but i can't resize the div
all the file are present in the same directory


<html>
   <head>
<script language="JavaScript" src="jquery-1.3.2.js"></script>
<script language="JavaScript" src="ui.core.js"></script>
<script language="JavaScript" src="ui.resizable.js"></script>
<link type="text/css" href="ui.all.css" rel="stylesheet" />
<link type="text/css" href="demos.css" rel="stylesheet" />
                  <style type="text/css">
       #resizable { width: 150px; height: 150px; padding: 0.5em; }
       #resizable h3 { text-align: center; margin: 0; }
       </style>
       <script type="text/javascript">
       $(function() {
               $("#resizable").resizable();
               alert('ayan');
       });
       </script>

</head>
<body>
<div class="demo">

<div id="resizable"  class="ui-widget-content">
       <h3 class="ui-widget-header">Resizable</h3>
</div>

</div><!-- End demo -->

<div class="demo-description">

<p>Enable any DOM element to be resizable.  With the cursor grab the
right or bottom border and drag to the desired width or height.</p>

</div><!-- End demo-description -->
</body>
</html>


thanks
ayan

--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui%2Bunsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.



--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.