Link to home
Start Free TrialLog in
Avatar of IDEASDesign
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.
Avatar of Lakio
Lakio
Flag of Iceland image

I dont see the problem :s
Avatar of IDEASDesign
IDEASDesign

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
Avatar of Lakio
Lakio
Flag of Iceland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.load();};

Which I changed to:
onresize = function(){location.reload();};

It's working fine now.