nathan1 Posted March 8, 2008 Share Posted March 8, 2008 Hey guys, I have a problem with my flash banner, it keeps reloading with new pages that are clicked via the banner-is there somthing i can do in php to stop this? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/95027-php-reload/ Share on other sites More sharing options...
rofl90 Posted March 8, 2008 Share Posted March 8, 2008 can we get a link to the problem to understand it more thoroughly, i dont really understand you - charlie Quote Link to comment https://forums.phpfreaks.com/topic/95027-php-reload/#findComment-486772 Share on other sites More sharing options...
unsider Posted March 8, 2008 Share Posted March 8, 2008 Link us to your site, post some code like rofl90 said, we have no idea as to how to fix it without seeing something. The question isn't very clear. Quote Link to comment https://forums.phpfreaks.com/topic/95027-php-reload/#findComment-486781 Share on other sites More sharing options...
nathan1 Posted March 8, 2008 Author Share Posted March 8, 2008 when i goto a page via the flash, it reloads the flash menu, i dont want this, the site is: www.ebake.com.au/2008 thanks Quote Link to comment https://forums.phpfreaks.com/topic/95027-php-reload/#findComment-486863 Share on other sites More sharing options...
wildteen88 Posted March 8, 2008 Share Posted March 8, 2008 Because you have your flash banner in every page it is always going to reload on every page request. It has nothing to do with PHP. There is not a definite way to stop the reloading, one of the tricks I used to do is use an HTML frameset. In the top frame you'll have the flash banner and the bottom frame you'll have your site. That way when you go to different pages in your site the flash banner doesn't get reloaded all the time, only your site content. However a more modern way would be to use AJAX instead rather than a frameset. As your banner is very basic and not much happens, only the fancy animations during loading/mouseover's. Another idea would be to just show your flash banner for the index page and then just a static image for the rest of the pages and redo your grey menu bar in just plain HTML/CSS. Quote Link to comment https://forums.phpfreaks.com/topic/95027-php-reload/#findComment-486893 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.