Question

Specifically, I am using a .hta to display pages. As the content is local, pages load instantly, but there is flicker as they redraw. Are there any tricks you can use to stop it flickering or reduce the effect?

I heard somewhere that page transition effects can help, but does anyone have any ideas? Keep in mind that as its a .hta file, I have more flexibility, and can run vbscript etc. and do fancy things.

Was it helpful?

Solution

I started bundling jquery in with my HTAs to use some of the UI cleanups, For instance loading the pages via ajax and showing a loading image, or slide transitions. This would also allow you to preload images, which may reduce flicker. Mind you preloading images is just as easy without jquery, you can even user css to load the big guys off screen, they should stay in the cache when you go to the next page.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top