SocialAcademy • Forum

Social Academy Community Support Forum & Free Tutorial's & Skins



SocialAcademy • Forum » Support Section » Ask Question 's & Problems » Solved & Trash Files  →   [Answered] how to make a Line of the sub forum - Page 2

[Answered] how to make a Line of the sub forum


    Go to page : Previous  1, 2

  • Please log in to Reply

View previous topic View next topic Go down  Message [Page 2 of 2]

#11

OfflineOrobok

Orobok
 
Member
Member

Posted Sat Aug 30, 2014 9:01 am

 
I'm very sorry, I forgot the js

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.

#12

OfflineGrafix

Grafix
 
Management Team
 Management Team

Posted Mon Sep 01, 2014 2:05 am

 
is this Answered ?

https://socialacademy.forumotion.com
#13

OfflineOrobok

Orobok
 
Member
Member

Posted Mon Sep 01, 2014 12:45 pm

 
I'm so sorry, I think I have a mistake there. Here's the correction
Orobok wrote:[link="/t567-how-to-make-a-line-of-the-sub-forum#4760"]I'm very sorry, I forgot the js

Javascript - Homepage
Code:
$(document).ready(function(){
$('.abcdefg').each(function(){
$(this).find('a:has(img)').next().wrap('<li class="hijklmnop" /><li class="hijklmnop" />');
$(this).find('a:has(img)').remove();
});
$('.abcdefg').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.

#14

OfflineGrafix

Grafix
 
Management Team
 Management Team

Posted Thu Sep 04, 2014 10:18 am

 
Problem Answered => Solved & Locked

https://socialacademy.forumotion.com
#15

OfflineSponsored content


 

Posted

 

Message (Page 2 of 2)


    Go to page : Previous  1, 2


Share Topics Url

Url
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum

 
  • Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com


Social Academy Forum
© Social Academy 2013-2022