An alternative might be using the CSS3 height/width units "vh" and "vw" if it works for your application. See http://caniuse.com/#feat=viewport-units for details.
> I would like to have a way to represent the current width and height of the > window but I am not quite sure how to go about doing this. For example if I > have some element on the screen and I want it to be 50% of the window width, > I would need to know every time the window is resized and update the width of > my element with the new information. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.