Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jpppaas Friend
    #117038

    Hello,

    i want to remove the moofx Roller Animation from the template JA Regulus Extra.
    Could somebody tell which code i need to remove?

    ha le-viet Developer
    #210158

    Hi jpppaas,

    There’re two ways to do what you want.

    The easy way: Unpublish all modules having position user5, user6, user7, user8, user9, top
    The hardcode way: Remove these lines:

    Line 71st->75th


    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/prototype.lite.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/moo.fx.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/moo.fx.pack.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/ja.moo.roller.config.js"></script>

    Line 130th->212th:


    <?php if ( mosCountModules('user5') || mosCountModules('user6') || mosCountModules('user7') || mosCountModules('user8') || mosCountModules('user9') || mosCountModules('top') ) { ?>
    <div id="ja-subheader" class="clearfix">
    <div id="roller-loading">
    <img src="<?php echo $ja_template_path;?>/images/loading.gif" alt="Loading..." />
    </div>
    <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>

    </div>
    <?php } ?>

    jpppaas Friend
    #210169

    It Works, thanx.

    michaltuma Friend
    #218849

    After removing those lines it gives me error on page in status bar in IE. It says error on line: 43, attribute: 18.

    Any thought on how to fix it? If I put lines back, error is gone… Is there any 100 % clean hardcore way?

    Thank you very much

    live url:
    http://www.golfportal.cz

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

This topic contains 4 replies, has 3 voices, and was last updated by  michaltuma 17 years ago.

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