Elxis CMS Forum
Support => General => Topic started by: waleski on August 04, 2010, 15:47:01
-
How do I create a horizontal menu, just like the one here on elxis forum, in the ks-iservice template I'm using. I need to have one above the JW rotator. Please anyone?
>:( I have tried severally to make the JW rotator in the ks-iservice template work, I just dont know what to do. I have created a folder in the media manager etc. I dont mind replacing JW rotator with easy slider or any other image rotator I can use for my news website.
-
As i told you ks-iservice template doesn't support top menu link.
To do it so you must add some php code and css class relative about! ;)
-
this template comes with the lytebox3 image-popup effect preinstalled .... read more at http://www.dolem.com/lytebox/ or read more in the lytebox-readme.txt inside template's lytebox folder.
Also there is a flash imagerotator preinstalled, read more in imagerotator-readme.html, inside template's imagerotator folder. NOTE: in order to work imagerotator, you must set absolute urls to your images by modifying list.xml file inside imagerotator folder.
this is the only thing that you have do..
except replacing images with yours.
enjoy it
<div id="topbannerwrapper">
<div id="topflash">
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $mainframe->getTemplate(); ?>/imagerotator/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("<?php echo $mosConfig_live_site; ?>/templates/<?php echo $mainframe->getTemplate(); ?>/imagerotator/imagerotator.swf","rotator","700","340","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","<?php echo $mosConfig_live_site; ?>/templates/<?php echo $mainframe->getTemplate(); ?>/imagerotator/list.xml");
s1.addVariable("width","700");
s1.addVariable("height","340");
s1.write("topflash");
</script>
</div>
</div>
<div id="topbannerwrapper">
<?php mosLoadModules('top', -2); ?>
</div>