aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes iframe refresh problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "iframe refresh problem" Watch "iframe refresh problem" New topic
Author

iframe refresh problem

Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 137
I have a JSP page composed of two iframes which periodically refreshes at a certain rate. Now I dont want the users of the application to catch some sort of photosensitive seizures due to the continuous flickering of the frames whenever they refresh.

Is there anyway to get rid of the flicker everytime an iframe is refreshed? Is there is no way, could anyone suggest an alternative of some kind? I would appreciate any form of help. Thank you.
[ November 24, 2005: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
There is not way to get rid of the flicker since the page has to "repaint" each time. What are you doing in these iframes that you need to refresh?

Eric
Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 137
Originally posted by Eric Pascarello:
There is not way to get rid of the flicker since the page has to "repaint" each time. What are you doing in these iframes that you need to refresh?

Eric


Parse values from an xml file using JDOM to get the updates and display it on the page.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look into the XMLHttpRequest object and see if that makes it any better for you.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iframe refresh problem