Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • imprimadom Friend
    #119247

    hello I added a column to the template antares.
    Posting is correct under firefox except that under Internet to explore there is a problem of posting. Could arrange any this?
    Is what it is a problem of css?

    The site is this

    Excuse me for my english, i’m french

    Thank you in advance
    yougos 🙂

    Khanh Le Moderator
    #216141

    Hi,
    In your template index.php file, you should set the $divtopwidth value to ‘24.9%’ in case $topmodule equal 4.


    if ( $topmodule == 4 ) {
    $divtopwidth = '24.9%';
    }else if ( $topmodule == 3 ) {
    $divtopwidth = '33.3%';
    } else if ($topmodule == 2) {
    $divtopwidth = '50%';
    } else if ($topmodule == 1) {
    $divtopwidth = '100%';
    }

    To make top spotlight boxes equal height, open file ja_antares/scripts/ja.script.js, find function equalHeight and modify to:


    function equalHeight (){
    var obj1 = getElem ('ja-box1');
    var obj2 = getElem ('ja-box2');
    var obj3 = getElem ('ja-box3');
    var obj4 = getElem ('ja-box4');
    var maxh = 0;
    if (obj1) maxh = obj1.offsetHeight;
    if (obj2 && obj2.offsetHeight > maxh) maxh = obj2.offsetHeight;
    if (obj3 && obj3.offsetHeight > maxh) maxh = obj3.offsetHeight;
    if (obj4 && obj4.offsetHeight > maxh) maxh = obj4.offsetHeight;
    if (obj1) obj1.parentNode.style.height = maxh + "px";
    if (obj2) obj2.parentNode.style.height = maxh + "px";
    if (obj3) obj3.parentNode.style.height = maxh + "px";
    if (obj4) obj4.parentNode.style.height = maxh + "px";
    }

    imprimadom Friend
    #216151

    Thanks you

    It’s very good solution

    Good bye

    yougos

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

This topic contains 3 replies, has 2 voices, and was last updated by  imprimadom 17 years, 1 month ago.

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