I've a DIV that uses percentages for its width and height. Now I want
to "connect" to it based on the onresize event. Is that possible?

The DIV gets resized when the entire browser-window is resized, but the
width and height of the DIV can also be manipulated programmatically.

When the entire browser-window is resized, I use this:

connect(window, "onresize", function() { ... })

But how can I connect to other ways of resizing the DIV?

#myDIV {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 30%;
  height: 40%;
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to