views:

20

answers:

2

Hi to all,

I want to draw inside the DOM squared Divs, clicking a random point in the viewport then moving the mouse with this effect...

http://www.vegabit.com/test/example_create_div_on_mouse_move.jpg

in jQuery... and without any plugin...

Thank You in advance!

Max

A: 

What do you mean draw inside ?

You can drag the div using jquery ui draggable.

Link

Elliott