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 Link to comment https://forums.phpfreaks.com/topic/138261-menu-assistance-needed/ 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. Link to comment https://forums.phpfreaks.com/topic/138261-menu-assistance-needed/#findComment-722869 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. Link to comment https://forums.phpfreaks.com/topic/138261-menu-assistance-needed/#findComment-722884 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 Link to comment https://forums.phpfreaks.com/topic/138261-menu-assistance-needed/#findComment-723278 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.