HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Some themes flash between pages

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#67554 (In Topic #14400)
Avatar

Community saint

Hi themers!

I'm new to ocPortal and have been playing with it on and off for the last 2-3 weeks. I'm at the point where I need to bed down my sites theme.

I've settled on Jean's great Portal Conflict theme as my base, primarily because of the use of transparencies on a dark background.

One thing I noticed not only about the Portal Conflict theme but also about the Desert Combat them as well as my own basic test theme was that in firefox (v3.6.8 in my case) they tend to flash/flicker annoyingly when you navigate between pages (for example going between the members and usergroup pages) if the themes are using background images.

I'm sure there is a way to stop this. Can anyone help?

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#67562
Avatar

I think you're referring to the fact that the default background colour is in contrast with that of the theme's background image colour.

For example, if your theme's background image colour is black, and the default background colour is white, then you'll see the white while the aforementioned image loads.

One way of mitigating this is to give the 'div' in which the background image resides in a background colour that is close to the colour of the background image. So, if your background image was dark or black, then give the 'div' a black background.


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#67564
Avatar

Community saint

Good observation Temp1024!

Until now I never really paid attention to that condition and it is in fact annoyingly present in version 5.

Robbie’s suggestion will greatly lessen the effect, as I’ve already applied it to the Desert theme, but I’ve made other observations as follows:

  • The effect is rendered full screen if a “flash” animation is present.
  • By removing the flash the flickering will be limited only to the “body_inner”
  • You can test this by visiting the “desert site” with the Safari Browser, as a detection script on the header.tpl will eliminate the flash movie for this browser.
  • By using “Google Chrome” which also blocks the “flash” on the Desert site, the flickering completely disappears. So, it is also a function of the Browser.
  • Version 6 will show the flickering only for the middle part on my “Flash Header” (themes v5.0.3).
I might find that after converting these themes to version 6 and applying a background color that closely matches the background images that the flikering goes away. I will test this in the weeks to come. 
Back to the top
 
Posted
Rating:
#67565
Avatar

Community saint

Robbie Goacher said

I think you're referring to the fact that the default background colour is in contrast with that of the theme's background image colour.
The problem is actually with the background image re-loading and thus revealing the background colour underneath. No amount of colour matching will fix this.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#67566
Avatar

Community saint

Jean said

  • By removing the flash the flickering will be limited only to the “body_inner”
Removing flash fixed the main problem. That's a new one!

Now its perfect in firefox, but there is a minor flashing problem in IE.

In IE the background image remains but the page contents are erased then re-loaded. Its irritating, but nowhere near as bad as the firefox problem.

The background colour never seeps through which is the main thing.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: