• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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