• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 305
  • Last Modified:

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.
0
IDEASDesign
Asked:
IDEASDesign
  • 2
  • 2
1 Solution
 
LakioCommented:
I dont see the problem :s
0
 
IDEASDesignAuthor Commented:
The problem is only visible in IE.  Sorry -- forgot to mention that.  Maximize IE and you'll see what I mean.

0
 
LakioCommented:
still no :s

your talking about this right?
46.89 (+1.22) LEN
59.45 (+2.25) ODP
37.70 (+0.45) TGT
53.33 (-0.23) NSANY
23.61 (0.00) PZZA
32.57 (+0.62) BBX
....

looks ok to me :/
0
 
IDEASDesignAuthor Commented:
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.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now