Screen flashes white on page load


Author Message
jrgweb

Posted: 5/4/2012
Quote message 

Can you send me the artx file?
Would like to check server issue or template/browser issue.
 
Dave B

Posted: 5/4/2012
Quote message 

Where should I send it to?
Thanks
 
jrgweb

Posted: 5/5/2012
Quote message 

jrgweb@ gmail.com
 
Guus

Posted: 5/8/2012
Quote message 

hi,

i woud like the answer to if you figure it out.

tx
 
jrgweb

Posted: 5/8/2012
Quote message 

website address please. :-)
 
Graybeard

Posted: 6/2/2012
Quote message 

This sounds similar to the issue I raised several months ago in this thread:

http://www.artisteer.com/Default.aspx?post_id=189247&p=forum_post

My research has lead me to the conclusion that the problem is caused by a jquery conflict. There are two different copies of jquery being loaded - one at the plugin level, and one in the Artisteer template. For reasons I don't fully understand, this causes index.php to be loaded twice (I've confirmed this with Firebug), resulting in the 'blanking' effect. None of the common jquery plugin conflict resolution plugins have any effect, since the template with its own copy of jquery hasn't been loaded when the plugin runs. The only fix I've found involves commenting out my Artisteer template's copy of jquery.

The only solutions I can see are either for Artisteer to offer the option of not loading jquery, or for jquery to be pulled into the Joomla core so that third-party add-ons do not need to load it.
 
Idso

Posted: 6/7/2012
Quote message 

Can you tell us where you commented out the jquery in your template ?
 
Graybeard

Posted: 6/8/2012
Quote message 

Locate the index.php file in the root directory of your template. At the bottom of the <head> block, you should see code similar to the following:


<script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
<script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>


Comment it out as follows:


<!--
<script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/jquery.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
<script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
-->

 
jrgweb

Posted: 6/8/2012
Quote message 

Graybeard commenting out helps but does not eliminate 100%. This could also affect some 3rd party extensions.
 
Graybeard

Posted: 6/9/2012
Quote message 

jrgweb, no argument that it is an imperfect solution. However, it works well enough for me for the time being. If they do end up pulling jquery into the core (as they are rumored to be doing), that should make all these problems go away.
 
Dave B

Posted: 7/23/2012
Quote message 

Artisteer 4 still creates this issue.
 
Luc

Posted: 8/3/2012
Quote message 

I have been struggling with this problem as well. Here's a solution that might easy the pain on darker websites.

Open the index.php file and add the following line just after the line with <!DOCTYPE


<html style="background-color: #000000;">

This causes the background to go black, the page still flashes but now it's black. You can substitute the color code with any color you like.

Still hope that Artisteer will address the problem, no workwaround should be needed!

 
MikeM

Posted: 8/10/2012
Quote message 

@Luc
This worked in wordpress by adding to the header.php file.
<html style="background-color: #000000;">
At least for me it did.
 
CS

Posted: 6/10/2013
Quote message 

Problem:
- Header flashes white on every page load, BUT only in IE and only the first 10-20 page loads after IE restart

Scenario:
- Black header with 20% transparancy
- White background on sheet (so I only see the white flash in the header)
- I have tryed all solutions suggested in this forum with no luck

My solution:
- The problem is somehow causes by .art-header {.... "background-image: url('../images/header.png');" in /templates/templatename/css/template.css
- I have added the following CSS code in Artisteer/File/Export/Options/CSS Options:

.art-header
{
background-image: none;
background-color: rgba(0,0,0,.80);
}