-
AuthorPosts
-
September 10, 2008 at 9:23 am #133181
Hi there,
I’ve red the JA Regulus’s manual but I couldn’t add any extra roller menu:
This is my index.php’s code:
<div id="roller-wrapper">
<div id="roller-outer"><div class="roller">
<div class="roller-inner roller-two">
YOUR CONTENT
</div>
</div><?php if ( $this->CountModules('user5') ) { ?>
<div class="roller">
<div class="roller-inner roller-one"><jdoc:include type="modules" name="user5" style="xhtml" />
</div>
</div>
<?php } ?><?php if ( $this->CountModules('user6') ) { ?>
<div class="roller">
<div class="roller-inner roller-two"><jdoc:include type="modules" name="user6" style="xhtml" />
</div>
</div>
<?php } ?><?php if ( $this->CountModules('user7') ) { ?>
<div class="roller">
<div class="roller-inner roller-three"><jdoc:include type="modules" name="user7" style="xhtml" />
</div>
</div>
<?php } ?><?php if ( $this->CountModules('user8') ) { ?>
<div class="roller">
<div class="roller-inner roller-four"><jdoc:include type="modules" name="user8" style="xhtml" />
</div>
</div>
<?php } ?><?php if ( $this->CountModules('user9') ) { ?>
<div class="roller">
<div class="roller-inner roller-five"><jdoc:include type="modules" name="user9" style="xhtml" />
</div>
</div>
<?php } ?></div>
<div id="clicker-outer">
<ul>
<li><a href="#prev" onclick="showPrev();clearRoll();" title="Previous">«</a></li>
<?php
$num_of_clickers++;
$num_of_clickers = 0;if ( $this->CountModules('user5') ) $num_of_clickers++;
if ( $this->CountModules('user6') ) $num_of_clickers++;
if ( $this->CountModules('user7') ) $num_of_clickers++;
if ( $this->CountModules('user8') ) $num_of_clickers++;
if ( $this->CountModules('user9') ) $num_of_clickers++;
for ($i=1;$i<=$num_of_clickers;++$i) {
?><li><a class="clicker" href="#<?php echo ($i < 10) ? "0".$i : $i; ?>"><?php echo ($i < 10) ? "0".$i : $i; ?></a></li><?php
}?>
I want 10 roller menu. How I have to write the code?
September 16, 2008 at 9:59 am #270798Can someone help me, please?
December 4, 2008 at 2:09 pm #281281<em>@mcarrara 80205 wrote:</em><blockquote>Can someone help me, please?</blockquote>
no one can help me, yet?
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
December 4, 2008 at 4:22 pm #281294I’m not too familliar with this template but it seems the roller uses 4 module positions so the first thing you need to do is create 40 more module positions.
Have you thought about what having so many rollers on a page could do to your viewers CPU?
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by scotty 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum