-
AuthorPosts
-
February 7, 2008 at 4:46 pm #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 Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
February 7, 2008 at 6:54 pm #238518The 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.February 8, 2008 at 4:56 pm #238618Thanks 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 🙁
February 13, 2008 at 1:21 am #239044Any helps plzzz ???
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
February 13, 2008 at 2:30 am #239047A live site URL would be helpful
February 15, 2008 at 1:34 am #239193My website here: http://www.TrumUSB.com (vietnamese website)
-
AuthorPosts
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