Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • walkysss Friend
    #204061

    Hi

    I got the weather module installed and the default ,to show the city is 1-2-3-4,is it possible to control which city should be active when the page is load as 1-2(active)-3-4?

    Let me know

    thanks

    jooservices Friend
    #560459

    Hi there
    In basic way you can use js to emulate click event to change active tab.

    Thank you,
    Viet Vu

    jooservices Friend
    #560460

    Hi there
    Or you can modify

    modulesmod_jayahoo_weathertmplaccodion.php
    To change active tab. By default it’s $index = 0;

    Thank you,
    Viet Vu

    walkysss Friend
    #560567

    line 35:<div id=”<?php echo ‘tab-‘.$module->id.’-‘.$woeid; ?>” class=”panel-collapse collapse <?php if($index == 1) echo ‘in’; ?>” role=”tabpanel” aria-labelledby=”headingOne<?php echo ‘-‘.$module->id.’-‘.$woeid; ?>” aria-expanded=”<?php if($index == 1) echo ‘true’; else echo ‘false’; ?>”>
    <div class=”panel-body”>

    WORKS ..thanks

    jooservices Friend
    #560568

    You are welcome

    Thank you,
    Viet Vu

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

This topic contains 5 replies, has 2 voices, and was last updated by  jooservices 9 years, 8 months ago.

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