Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • coima Friend
    #125554

    i’ve just wanted to make seperator line between product like this website http://www.tamvietjsc.com . I’ve try my best but i can’t do. plzzz help

    instantinlaw Friend
    #238518

    The css for that is custom code made by JA for the xenia II shopping template. You would need to modify your css file to make it work. Here is the code from that site.


    .tv-rightseparator
    {
    background-color: transparent;
    background-image: url(../images/v-seperator.gif);
    background-repeat: repeat-y;
    background-attachment: scroll;
    background-x-position: right;
    background-y-position: top;
    }


    .article_seperator
    {
    display: block;
    background-color: transparent;
    background-image: url(../images/seperator.gif);
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-x-position: center;
    background-y-position: center;
    height: 20px;
    }

    This could potentially be a lot of work for you if you don’t know what you are doing. If you like that site why not just use the xenia II shopping template?
    Good luck with your mods.

    coima Friend
    #238618

    Thanks for your help, instantinlaw . But, i think the changes may not just in css.

    I follow your help, but it can’t work 🙁

    In ja.script.js i see the code

    function addStyleToFeatureProduct (){
    var obj = document.getElementById (‘ja-feature-products’);
    if (!obj)
    {
    return;
    }
    var objtable = obj.getElementsByTagName (‘table’);
    if (objtable && objtable.length > 0)
    {
    objtable = objtable[0];
    var rows = objtable.rows;
    for (i=0; i<rows.length; i++)
    {
    if (rows.cells.length > 0)
    {
    for (j=0; j<rows.cells.length-1; j++)
    {
    rows.cells[j].className += ” ja-rightseparator”;
    }
    }
    }
    }
    }

    i still try with this code, but can’t work like tamvietjsc.com 🙁

    coima Friend
    #239044

    Any helps plzzz ???

    instantinlaw Friend
    #239047

    A live site URL would be helpful

    coima Friend
    #239193

    My website here: http://www.TrumUSB.com (vietnamese website)

    coima Friend
    #239565

    we do it well, thanks for your help

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

This topic contains 7 replies, has 2 voices, and was last updated by  coima 16 years, 9 months ago.

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