navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Drop-down menu flicker/buffering content for php pages?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Drop-down menu flicker/buffering content for php pages?
Page: [1]
 
womble

 

Posts: 5510
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
Drop-down menu flicker/buffering content for php pages? - 7/29/2006 18:45:52   
I've been trying all day to set up a drop-down menu (CSS and javascript) which has been a most frustrating process - some worked, sort of eventually, but even much tweaking couldn't get the fly-outs in the right place, then there was the one that insisted that one of the js functions wasn't defined (but as far as I could see it was) and I eventually got fed up of trying to get it to work. I eventually found one that's playing nice, all the js behaves, it flies out like it's supposed to, in the right place...but....there's a flicker when the page loads, and the fly-out appears breifly as a nested list.

I seem to remember reading an article about cache control and output buffering as a possible fix for this a while back. Problem is I can't remember where I read it now and if I recall, it was about ASP.NET (I'm using php). Much googling has come up with assorted things about configuring servers that I've no idea about what they mean.

Maybe I'm trying to do something that's not possible here, but in my head I'm thinking there must be a way somehow to say - don't display the page until all the bits of the scripts and stuff have loaded....(I suppose a bit like preloading images with javascript)

Am I on a different planet here, or is this possible at all?

< Message edited by womble -- 7/29/2006 19:22:42 >


_____________________________

~~ "A cruel god ain't no god at all" ~~
:)
yb2

 

Posts: 653
Joined: 1/30/2006
Status: offline

 
RE: Drop-down menu flicker/buffering content for php pa... - 7/30/2006 8:30:46   
this is the ASP equivalent
http://www.w3schools.com/asp/prop_buffer.asp

this might be useful
http://www.codingforums.com/archive/index.php?t-3484.html

and this
http://www.aronson.co.il/asp2php.php

but I don't use php enough to know, and I never use the buffer anyway - sorry! :)

_____________________________

it is natural for people not to see one's own faults, and to exaggerate other people's faults and failings.
Currently listening to: L'Enfer Des Formes by Stereolab

(in reply to womble)
womble

 

Posts: 5510
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Drop-down menu flicker/buffering content for php pa... - 7/30/2006 9:45:14   
Thanks yb2. It does seem like it's some equivalent of the Response.Buffer = true I need, but I can't get any of those to work (though I got an interesting result with second one), I've bookmarked them anyway - they look as though they'll probably come in useful in the future.

The problem seems to be with the javascript (there's too much of it and it's loading slowly). I've found a more lightweight script that avoids the flicker problem, but it wasn't accessible. Then I started investigating Suckerfish/Son of Suckerfish - also lightweight js, but the second level of the nav's not tab-able for keyboard navigation, but as the second level nav is bookmarks on a page that's on the top level nav, I could just about get away with it. I may just go with the Suckerfish one for now on the grounds that I'm getting nowhere going round and round in circles checking out anything that comes up on google that looks as though it might vaguelly be of use.

*sigh*

I suppose I ought to get something to eat. Got so tied up in this I forgot it's food time! :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to yb2)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Drop-down menu flicker/buffering content for php pages?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts