Preview of Final Results. Checkout Live demo here!
Last updated 4/22/12 to fix issues address herehere and here! :p

Step 1

Setup center column of feature layout. Follow setting below and save your changes.

Step 2

The HTML: Copy and paste the html code below to the 1st textbox that we add on the
center column (see screenshot above). Important:make sure that you are in html mode when
pasting the code and save your changes.

 

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://api.ning.com:80/files/JHw5Rw1dl6EzQodA1ybSCIJaDOcuGnda991bRWvHRKexSEXhz3lfokr7olFZ316enFRjdaqGCsZ0XYuJXa0gdOXUkZKGWsZ7/jquery.tools.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$('.xj_leaderboard_module').addClass('indented_content');
$("ul.tabs").tabs(".indented_content");
});
</script>
<ul class="tabs">
<li><a class="current" href="#">Monthly Top 10</a></li>
<li><a href="#">Latest Activity</a></li>
<li><a href="#">Discussions</a></li>
<li><a href="#">Blogs</a></li>
</ul>

Step 3 (Final)

The Custom CSS: Copy and paste the css code below to the Advance section of your design
Studio or advance appearance if you are using the old editor. Important: there may be a need to
change some of the values on each properties below since we have different settings of our network themes. Please do so when needed.

 

ul.tabs {
height: 42px;
}
ul.tabs li {
background: none repeat scroll 0 0 #054C83;
border-right: 1px solid #FFFFFF;
float: left;
list-style: none outside none !important;
margin: 0 !important;
text-align: center;
width: 122px;
}
ul.tabs a, ul.tabs li a:hover {
background: none repeat scroll 0 0 transparent;
color: #FFFFFF;
display: block;
padding: 5px 0;
}
ul.tabs a.current {
width: 122px;
}
ul.tabs li:hover, ul.tabs a.current {
background: none repeat scroll 0 0 #0088C3;
color: #FFFFFF;
}
ul.tabs a.current:after {
border-color: #0088C3 transparent;
border-style: solid;
border-width: 10px 10px 0;
content: "";
display: block;
margin-left: 10%;
margin-top: 5px;
position: absolute;
width: 0;
}

 

save now your changes and your good to go. If you still in trouble following my steps please drop your questions down below and I will get back to you as fast as I can.

Tags: toptip

Views: 11218

Reply to This

Replies to This Discussion

I want like this codes but for new action and also for picture

i cant get it to work..??

http://mygamethis.ning.com/index.php

I updated the code for the way I did mine and added The News Feed To It Too. I used the same box that my slider is in to attach mine. See it live here. *NOTE* I'm not using the code in this tip. This is a little more simple since you don't have to use the custom code box.

@Ceddy 1 of the coolest network that ive visted 

Thanks Solo, I really appreciate the kind words. :-)

Nice website King.

Please can you show me how to use your code with the (ads, New Mixtape etc) on left ?

I have a tab on the right but would love to add another one.

Thanks

Hi Ceddy, did you post the code for this somewhere? It looks great!

How should the script read if the order should be 1)Blogs, 2)RSS, 3)Activity, 4)Events?

I thought it would work by replacing activity-module by blogs-module:

<script type="text/javascript">
$(function() {
$('.module_blogs').addClass('indented_content');
$("ul.tabs").tabs(".indented_content");
});
</script>

Hi, I really like the idea of saving space on the home page with this jquery tab feature. I was just wondering if one of the tabs could be for content not on a feed just something I can update as and when? Thank you for your time.

Thanks Vaqz! Works great!

Hi guys,

trying to get this to work so that it has 4 tabbed modules and then one module constantly visible underneath.

So my code is:

<script src="http://cdn.jquerytools.org/1.2.6/jquery.tools.min.js" type="text/javascript">// <![CDATA[

// ]]></script>
<script type="text/javascript">// <![CDATA[
$(function() {
$('.module_photo,.module_groups,.module_video,.module_events').addClass('indented_content');
$("ul.tabs").tabs("#xg_layout_column_2 .indented_content");
});
// ]]></script>
<ul class="tabs">
<li><a class="current" href="#">Groups</a></li>
<li><a href="#">Videos</a></li>
<li><a href="#">Photos</a></li>
<li><a href="#">Events</a></li>
</ul>

and this works fine.

But I want the forum constantly showing under the tabbed items and even though it's in the right place on the Features Layout and i have not added the indented_content class to .module_forum above, it still doesn't show in the 2nd column.

Any ideas?

SP

Did you get to solve this? I have the same problem.

RSS

Latest Activity

Kos replied to Elshara Silverheart's discussion 'More Feature Requests'
"I'll send back my email and let you know if they elaborate on "why""
29 minutes ago
Kos replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"btw I noticed your tabs "overflow" a bit creating a 2nd row.  If you'd like…"
31 minutes ago
Kos replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"Good morning; no problem.  Currently your font size right there is 1.4em  I've…"
36 minutes ago
Rowald replied to Monica Diaz's discussion 'How are you using member categories in Ning 3.0?'
"Hi Monica, I am aware of this but thanks for your help. All this (Country) information is already…"
3 hours ago
caro commented on kid k's group 'Ning French Networks'
"voila mon histoire et j'en pleure je prend meme des medoc kil me laisse la matrce tel kel de…"
3 hours ago
caro commented on kid k's group 'Ning French Networks'
"kikou robert on pas t'etat d'ame ning j'ai 8 ans de ning2 mon site est plein de…"
3 hours ago
caro commented on kid k's group 'Ning French Networks'
"mdr c pas gagner hein il est bidon ning3 je le haiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii je garde…"
3 hours ago
Thiago Santos de Moraes replied to Elshara Silverheart's discussion 'More Feature Requests'
"Thanks, Kos. I would like to understand the reason for this, it seems that the Ning wants to…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service