I would like to create a plugin similar to the alsoResize plugin
except that the with of the second object is reduced when the width of
the first object is increased. Specifically, if both objects start out
at 500px in width I want to restrict the total width of both objects
to 1000px. If one is dragged to 600px the other would shrink to 400px.
If one is dragged to 300px the other would increase to 700px.

My problem is that I am a rookie at javascript and don't understand
how to modify the code in alsoResize to do what I want. Any
suggestions as to how to do this would be greatly appreciated.

Thanks

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

Reply via email to