Home > JavaScript, Web Designing > Movable Div using JavaScript

Movable Div using JavaScript

January 10th, 2009

How to make a Div movable using JavaScript.

I have created an html page in which there is a movable Div using JavaScript. This works perfectly for both IE and Firefox. You can download file here.

http://rapidshare.com/files/181717501/movable_div_using_javascript.zip

admin JavaScript, Web Designing , , , , , ,

  1. how to move Div only if cursor is place in a perticular place on the div
    March 4th, 2009 at 03:28 | #1

    Hi,
    The solution for Moving Div is working but i want to move the div if the cursor is placed on some perticular place.
    How can i acheive that?

    Thank you

  2. March 5th, 2009 at 04:52 | #2

    @how to move Div only if cursor is place in a perticular place on the div
    Sorry but I could not understand what you mean.

  3. Manims
    March 8th, 2009 at 04:53 | #3

    Millions of thanks. It is working fine for both IE and Firefox.

  4. Manims
    March 8th, 2009 at 04:54 | #4

    If anyone help me to resize the div using javascript

  5. March 8th, 2009 at 12:54 | #5

    @Manims
    Thanks for appreciation.

    I will build it for you very soon, keep visiting, I am busy right now. I will send you email also.

  6. santanu ganguly
    March 9th, 2009 at 07:08 | #6

    plz send me how to make movable div,i do not have any idea abt movable div.

  7. santanu ganguly
    March 9th, 2009 at 07:09 | #7

    @Santanu Ganguly

    santanu ganguly :
    plz send me how to make movable div,i do not have any idea abt movable div.

  8. March 9th, 2009 at 14:30 | #8

    @santanu ganguly
    Download this file:

    http://rapidshare.com/files/181717501/movable_div_using_javascript.zip

    Look at the javascript used to make the div moveable. It is quite straight forward. In case you need any help, please ask. Thanks.

  9. May 10th, 2009 at 17:44 | #9

    Your site displays incorrectly in Firefox, but content excellent! Thank you for your wise words:)

  10. May 13th, 2009 at 13:32 | #10

    I love it! That is way cool man! The steps weren’t that complicated too, which is great.

  1. No trackbacks yet.