Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • christo1234 Friend
    #117046

    Hi, is it possible to disable the rollover feature?

    and how do i turn it on and off on certain pages?

    on the template homepage it doesnt show up but it shows up on the others.

    Hung Dinh Friend
    #210186

    Option #1: If you want to remove the moofx and newslash menu totally from your site, find in the index.php file (arround line 135) the following codes and remove them
    <div id="roller-wrapper">
    <div id="roller-outer">

    <?php if ( mosCountModules('user5') ) { ?>
    <div class="roller">
    <div class="roller-inner roller-one">
    <?php mosLoadModules ( 'user5',-2 ); ?>
    </div>
    </div>
    <?php } ?>

    <?php if ( mosCountModules('user6') ) { ?>
    <div class="roller">
    <div class="roller-inner roller-two">
    <?php mosLoadModules ( 'user6',-2 ); ?>
    </div>
    </div>
    <?php } ?>

    <?php if ( mosCountModules('user7') ) { ?>
    <div class="roller">
    <div class="roller-inner roller-three">
    <?php mosLoadModules ( 'user7',-2 ); ?>
    </div>
    </div>
    <?php } ?>

    <?php if ( mosCountModules('user8') ) { ?>
    <div class="roller">
    <div class="roller-inner roller-four">
    <?php mosLoadModules ( 'user8',-2 ); ?>
    </div>
    </div>
    <?php } ?>

    <?php if ( mosCountModules('user9') ) { ?>
    <div class="roller">
    <div class="roller-inner roller-five">
    <?php mosLoadModules ( 'user9',-2 ); ?>
    </div>
    </div>
    <?php } ?>

    </div>

    <div id="clicker-outer">
    <ul>
    <li><a href="#prev" onclick="showPrev();clearRoll();" title="Previous">«</a></li>
    <?php
    $num_of_clickers = 0;
    if ( mosCountModules('user5') ) $num_of_clickers++;
    if ( mosCountModules('user6') ) $num_of_clickers++;
    if ( mosCountModules('user7') ) $num_of_clickers++;
    if ( mosCountModules('user8') ) $num_of_clickers++;
    if ( mosCountModules('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
    }
    ?>
    <li><a href="#next" onclick="showNext();clearRoll();" title="Next">»</a></li>
    <li><a href="#play/pause" onclick="playButtonClicked();return false;" id="playButton">Pause</a></li>
    </ul>
    </div>

    </div>

    <div id="ja-newsflash">
    <?php
    if ( mosCountModules('top') ) {
    mosLoadModules ( 'top',-2 );
    } else { ?>
    <div style="padding: 40px 10px 10px 10px; text-align: center; color: #EEF6E8;">There's no newsflash available.</div>
    <?php }
    ?>
    </div>

    Option #2: If you want to remove only on certain pages, just unpublish all user5, user6, user7, user8, user9 and newsflash modules on that page. Unpulish all of them on all pages also work as the Option #1

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

This topic contains 2 replies, has 2 voices, and was last updated by  Hung Dinh 12 years, 7 months ago.

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