test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • mcarrara Friend
    #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?

    mcarrara Friend
    #270798

    Can someone help me, please?

    mcarrara Friend
    #281281

    <em>@mcarrara 80205 wrote:</em><blockquote>Can someone help me, please?</blockquote>

    no one can help me, yet?

    scotty Friend
    #281294

    I’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?

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  scotty 16 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum