whenever something has happened in the view? Or at least when the view
I.e. I have a function that vertically resizes and positions elements
on a page after checking the content, and I'd like it to update those
every time the content has changed.
With <body onLoad="setY()">, it only works for the first view, "/" or
"/frontpage/", but not the rest.
The html, head (and script), body tag, etc is located in a partial,
_a.rhtml, that is in views/layouts and is used across the different
views, like frontpage.rhtml, news.rhtml and so on.