Getting rid of flicker on Navigation bar

This is a discussion on "Getting rid of flicker on Navigation bar" within the Web Page Design section. This forum, and the thread "Getting rid of flicker on Navigation bar are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 19th, 2007, 09:06
Up'n'Coming Member
Join Date: Jul 2005
Location: uk
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Talking Getting rid of flicker on Navigation bar

I am in the middle of making this new site that has a graphical navigation bar that is sliced to allow for a rollover state. The client does not like the flicker you get when the page reloads (when the page changes). Is there a way of minimizing the flicker. The only thing I can think of is to use frames (which I hate and which means starting again) or an image map which means no rollover state (I dont want to swap the whole image on each rollover). Or not having a graphical navigation bar which the client wants. The site is here at the moment (note only have images in recent work):http://www.glanceimage.co.uk/jason-i...work/index.htm Any help, yes please!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 19th, 2007, 10:08
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting rid of flicker on Navigation bar

http://www.newguyinennis.com/samples/css_hover/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 19th, 2007, 15:46
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Getting rid of flicker on Navigation bar

One thing to note that is not included in the example that Ryan posted is that you could also pre load the images with css.

In your CSS something like:

#fooPreLoad {
height:0;
overflow:hidden;
background: url("foo.jpg") top left no-repeat;
display:none !important;
}

then the images will be loaded before the page loads fully thus cached thus out of the way.

in your HTML put:

<div id="fooPreLoad">&nbsp;</div>
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Apr 19th, 2007 at 15:48.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Apr 19th, 2007, 16:58
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting rid of flicker on Navigation bar

I like the 1 image idea better

Pure CSS rollovers without Javascript
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Apr 19th, 2007, 17:04
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Getting rid of flicker on Navigation bar

The example ryan posted is one image, my comment added pre loading of it. It can be recycled for each nav element.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Apr 19th, 2007, 17:07
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting rid of flicker on Navigation bar

I know ... just adding my opinion and my link
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Apr 19th, 2007, 17:22
Up'n'Coming Member
Join Date: Jul 2005
Location: uk
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting rid of flicker on Navigation bar

Thanks for all the advice. I will try the tutorial later. Is this the best way of making graphical css buttons by using ul? Is there another way of linking a div that does not have any content?

In the mean time I have added a background image of the whole of the nav bar in the nav bar container. This seems to help with the flicker in IE6 and FF but apparently not IE7 which I dont have! Is this the case and does it flicker in safari? The flicker happens when you click on the next image button by view. Ta again for all your thoughts!
http://www.glanceimage.co.uk/jason-i...1/image-01.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Apr 19th, 2007, 17:32
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting rid of flicker on Navigation bar

If the items are a menu than they should be in a list. Then the best way is to put the image as a background to the list and go from there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Apr 19th, 2007, 22:57
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting rid of flicker on Navigation bar

Do background images load if they have display: none; set in most browsers? In Safari, if you have display set to none with a background image, it won't load the image until the div is set to block (I've noticed this using JavaScript to change the values).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Apr 19th, 2007, 22:59
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Getting rid of flicker on Navigation bar

Nah you make a ID or class just for preloading. It is often not necessary but at tiumes could be useful for any image. Nice thing is it only really kicks in fisrty visit, once the images are pre loaded they are cached from then on. Just kinda ensures that your site looks a bit better at render vs missing elements.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Apr 19th, 2007 at 23:05.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
flicker, navigaion bar

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Navigation Help penguin Starting Out 3 Mar 15th, 2008 13:43
Navigation help elephantinc Flash & Multimedia Forum 9 Feb 13th, 2008 22:46
CSS Navigation Help! crackafaza Web Page Design 3 Jan 21st, 2008 15:56
CSS navigation AdRock Web Page Design 1 Jul 15th, 2006 10:56
why do you flicker damn you! benbramz Web Page Design 8 Sep 9th, 2005 05:54


All times are GMT. The time now is 01:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42