Results 1 to 10 of 10
Thread: x Library and eventListener
Nov 4, 2003, 02:59 #1
- Join Date
- Nov 2003
- Thessaloniki, Greece
- 0 Post(s)
- 0 Thread(s)
x Library and eventListener
I recently found out about the x.js library and already used it in one project of mine. It's a great tool!
This time I want to do more though by adding a final touch to the "mechanics" of my site.
I have a CSS-based layout with a header, a menubar, another bar used to display quotes, 3 columns and a footer.
I'm using the x library to re-position the footer after everything else has loaded and having found out the individual heights of the main column and the left sidebar.
Everything works fine until I resize the window though, as it remains static.
I figured I should use the xAddEventListener to have the footer go through the correct adjustment every time the browser window changes.
The problem is that as soon as I resize the window, the browser goes into an endless loop and eventually freezes.
Could someome please tell me what I'm doing wrong?
Thank you in advance.
I'm attaching a .txt file with the functions I'm using to achieve all of the above.