Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Webpage flickering problem  RSS feed

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Thanks a lot in advance.
We have one JSP page which is having some images.While loading images if user mouse over on that place all other including current image is flickering.

Can we avoid this flickering?

Please help me.

Regards,
Sree
 
Marshal
Posts: 67163
169
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the HTML forum as this obviously has nothing to do with JSP.
 
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what type of Images are they i mean static means( cached )

or they are dynamically being loaded ???

anyway cant tell without seeing your code .
 
sreedhar Lackka
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are dynamic images and jpg/gif image.
If second time they are coming from cache at that no problem.
Problem is only at first time.
And coz of this really facing problem with performance.

 
Bear Bibeault
Marshal
Posts: 67163
169
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sreedhar Lackka wrote:And coz of this really facing problem with performance.



Please use real words when posting to the forums. Abbreviations such as "coz" in place of "because" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff

 
Bear Bibeault
Marshal
Posts: 67163
169
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this just a normal lag while the images are being loaded from the server for the first time?

You might check into using different compression on the image to reduce their size.

Also, do your image tags have height and width attributes? Adding those allows the page to reserves space for the images without so much "jumping around" during loading and can reduce the perception of slowness.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to load your images from CNAMES so you can get around the max amount of HTTP Connections allowed per domain.

http://ajaxian.com/archives/using-cnames-to-get-around-browser-connection-limits

Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!