Elxis CMS Forum
Support => General => Topic started by: ROUBOS on November 05, 2009, 03:42:04
-
Hi,
I have a flash header on my site which loads images like a slideshow importing from an xml file.
It works thanks to the support here in the forum.
I was wondering though if it is possible to stop it from reloading every time a menu item is clicked. Does the entire page refresh when clicking a menu link?
I thought that only the main-body would refresh...
thanks
-
Topic moved here...
*
wrong thought !
*
every menu link pointing to a new page .. just as every(almost) site out there does.
every page is a new page.
in general you can do this with iframes...but putting your main site in an iframe is not recommended!
first of all.. for the engines...
-
I think this is what you want. This will show flash only on the front page or a different flash on the other pages.
This goes in your template/index.php file.
<div id="mainwrap">
<?php
// php code to change banner according to front page or not
global $option;
if (($option == 'com_frontpage') || ($option == '')) { ?>
<div id="oktoheader">
<!-- begin - flash or banner here -->
<!-- end - flash here -->
</div>
<?php } else { ?>
<div id="oktoheader2">
<!-- begin - flash or banner here -->
<!-- end - flash here -->
</div>
<?php } ?>
-
only load in frontpage .. or..
play continuously while browsing site?
i think that the most likely is that he wants slideshow to continue playing while browsing..
-
Yes was hoping to keep the flash playing continuously.
But no.. I hate frames...
-
Then you will probably have to do that with a cookie.