|
womble -> 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?
|
|
|
|