Jump to content

Jquery dragable HELP!


ckrudelux

Recommended Posts

Looking for someone who knows how to set the limit for width, height of the copy you drag around couse my divs are set to take 100% width and they are really hard to move couse then moving them they take up 100% of the screen couse they aren't limited by the divs the are in.

Link to comment
Share on other sites

Looking for someone who knows how to set the limit for width, height of the copy you drag around couse my divs are set to take 100% width and they are really hard to move couse then moving them they take up 100% of the screen couse they aren't limited by the divs the are in.
Since the div is the container for what is being dragged around is there some reason why you cannot set the dimension of the div tag? Say,<style type="text/css">div.dragable {max-height: 5em;max-width: 20em;}</style><div class="draggable">Roddy
Link to comment
Share on other sites

Since the div is the container for what is being dragged around is there some reason why you cannot set the dimension of the div tag? Say,<style type="text/css">div.dragable {max-height: 5em;max-width: 20em;}</style><div class="draggable">Roddy
Well I could but the problem is what it should only be restricted while moving.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...