[jQuery] IE7 jQuery event problem

2007-10-17 Thread HarryKC
Hi! this script works in FF/Safari/IE6 but breaks in IE7. When the page first loads the function work as intended, and adjusts the height of the given element, but when you resize the window IE7 throws an error "Invalid argument" adn the scrtipt stops. I use this script to adjust the page layout

[jQuery] IE7 jQuery event problem

2007-10-17 Thread Hrvoje
Hi! I have a script that adjusts the layout of the page, depending on the window size, but IE7 throws an error. The script works fine in FF/Safari/IE6. When the page loads both scripts are fired, and the layout is set. If you then resize the browser window IE7 throws an error. Can someome tell