Contact Us
  
 
 
    SearchSearch   RegisterRegister   Log inLog in 

how to make div resizable

how to make div resizable

 
Post new topic   Reply to topic     Forum Index -> JavaScript, DHTML, AJAX
View previous topic :: View next topic  
Author Message
barbara



Joined: 04 Feb 2009
Posts: 2

PostPosted: Fri Feb 20, 2009 3:23 pm    Post subject: how to make div resizable Reply with quote

Hi
Can we make resizable div in html and user can resize it at their end.
It would be just like with frame set which can drag and resize frame windows
Back to top
View user's profile Send private message
seniormember
Site Admin


Joined: 20 Jul 2008
Posts: 77

PostPosted: Sat Feb 21, 2009 7:45 am    Post subject: Reply with quote

Interesting question

I have one trick
when mouse move get first x and y coordinates of screen and on onmouseup call a event to javascript. and in Javascript change value of div top or left value with mouse x and y value.
It will resize automatically and it will feel like resize a div tag
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> JavaScript, DHTML, AJAX All times are GMT
Page 1 of 1

 
Jump to:  
  Quick Post a Reply Topic
     
  Name (required)  
     
  Email Address (will not be published) (required)  
     
  Subject of topic (required)  
     
   
     
   
     
  Advertisement  
     
 
     


  More Links  
 
JSP Introduction
JSP Setup
Simple JSP Example
JSP Variable
Array Declaration in JSP
JSP Forms and User Input
Form Validation
JSP Cookies
JSP Session Object
Loop, content collection, iterator, conditional check in JSP
JSP Application Object
JSP Include
JSP Response Object
JSP Request Object
JSP Error Handling
JSP File Handling Object
JSP Action Tag
JSP Implicit Objects
JSP Declaration
JSP Directive
JDBC Introduction
JDBC Driver
JDBC Connection
JDBC Prepared/Statement
JDBC ResultSet
JDBC Close Connection object
JDBC Insert
JDBC Display Records
JDBC Update
JDBC Delete
JDBC Sorting
JDBC Query
JDBC Exception
JDBC Add Batch
JDBC Transaction/RollBack