Skip navigation
Currently Being Moderated

page background refresh, can I stop it?

Dec 12, 2012 10:50 AM

Tags: #background_refresh

I have what might be 2 questions.  I'm using the apycom jqmenu on my web pages and when I select a menu item and go to another page, the menu highlight just goes back to home and does not stay on the selected menu item and I suspect that part of my problem might be the whole page seems to be doing a full refresh where the background flashes white, then redraws the background and so on.  In an earlier version of my site with a different menu, the back ground did not refresh like this.  So what is causing the background image to redraw, and how can I prevent it when changing pages.  The background image is the same for all pages.  Thanks.

 
Replies
  • Currently Being Moderated
    Dec 12, 2012 11:06 AM   in reply to kenatss

    What's the URL to your problem page?

    In which browsers are you seeing this Flash of Unstyled Content (aka FOUC)?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2012 11:40 AM   in reply to kenatss

    I'm not seeing it in Firefox.  But it may help if you reduce the size of your background-image from 900+ KB to something better suited to the web, under 100 KB.

     

    I would also suggest consolidating CSS code into an external CSS file and linking your Template to the external stylesheet.  This will save load time.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2012 12:07 PM   in reply to kenatss

    If your persistent menu indicator isn't working, something is wrong with your code.

    Validate your Template code & fix reported errors.

     

    CSS - http://jigsaw.w3.org/css-validator/

    HTML - http://validator.w3.org/

    JavaScript - http://www.jslint.com/

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points