Posted Sat Aug 30, 2014 9:01 am
I'm very sorry, I forgot the js
Javascript - Homepage
Replace the old css that I gave you to this
Fill the background image.
Javascript - Homepage
- Code:
$(document).ready(function(){
$('.subforums').each(function(){
$(this).find('a:has(img)').next().wrap('<li class="hijklmnop" /><li class="hijklmnop" />');
$(this).find('a:has(img)').remove();
});
$('.subforums').each(function(index){
cm = $(this).html();
cm = cm.replace(/, /gi,'');
$(this).html(cm);
});
});
Replace the old css that I gave you to this
- Code:
.abcdefg {
left:4px;
min-width: 100px;
margin:2px 0 3px 5px;
float: left;
overflow:hidden;
padding-left:20px;
}
.hijklmnop:nth-child(odd) {
float: left;
clear: both;
width: 160px;
position: relative;
background: url('') no-repeat 0 50%;
padding: 0 15px 0 15px;
list-style:none
}
.hijklmnop:nth-child(even) {
float: left;
width: auto;
position: relative;
background: url('') no-repeat 0 50%;
padding: 0 15px 0 15px;
list-style:none
}
Fill the background image.