IDEASDesign
asked on
Refresh on window resize not working
Site:
zadv.com/staging/index.cfm
There's a JS stockticker at the bottom of the page. It's contained in a DIV. When resizing the window, the stockticker is displayed outside of the DIV, as you would expect. To combat this, I've tried adding an ONRESIZE attribute to the body tag. This works fine if the two included JS files for the ticker are removed, but as long as they're included, the refresh doesn't work.
Thanks in advance for any help.
zadv.com/staging/index.cfm
There's a JS stockticker at the bottom of the page. It's contained in a DIV. When resizing the window, the stockticker is displayed outside of the DIV, as you would expect. To combat this, I've tried adding an ONRESIZE attribute to the body tag. This works fine if the two included JS files for the ticker are removed, but as long as they're included, the refresh doesn't work.
Thanks in advance for any help.
I dont see the problem :s
ASKER
The problem is only visible in IE. Sorry -- forgot to mention that. Maximize IE and you'll see what I mean.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help, but I got it working on my own. My coldfusion code generates a JS file that controls the ticker. In it was this line:
onresize = function(){stockticker.loa d();};
Which I changed to:
onresize = function(){location.reload ();};
It's working fine now.
onresize = function(){stockticker.loa
Which I changed to:
onresize = function(){location.reload
It's working fine now.