zmezz Posted December 24, 2008 Share Posted December 24, 2008 Hi - Can someone point me in the right direction .... on my website the menu bar keeps refreshing each time? I tried rebuilding the index.php page using a master page with ob_start(); etc., etc, the page works fine but the menu bar is still flickering? . Is there a way of using a CSS container for the main content? (I'm new to PHP) Thanks for your help - Paul Quote Link to comment Share on other sites More sharing options...
trq Posted December 24, 2008 Share Posted December 24, 2008 Of course you menu reloads on each request. Each request creates a new page. This has nothing to do with php. Quote Link to comment Share on other sites More sharing options...
zmezz Posted December 24, 2008 Author Share Posted December 24, 2008 I'm fully aware that the each request creates a new page ... what I'm asking is how do you build the menu bar so that it remains static while the main content changes? Some websites such as Digg.com, the menu bar does not refresh each time, only the main content changes. Quote Link to comment Share on other sites More sharing options...
Sakesaru Posted December 24, 2008 Share Posted December 24, 2008 You'll need to read up on AJAX to achieve that. Or you could use html frames. But everybody hates html frames. But really, don't worry about it. Just leave it as is. Sometimes it's best to just K.I.S.S., and this is one of those times Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.