S'up bitchez?
Here's a little tip to get some social icons inserted into your navigation bar so it looks something like this:
First off you need to find the div ID of the final nav tab in your navigation menu. You can do this using Firefox Firebug (great tutorial here from Elson Tan). In the example used in the code below, the div id of the tab is #xg_tab_xn47 but yours could be Members: #xg_tab_members or Blogs: #xg_tab_blogs, or whatever.
Once you know the tab div ID, replace the green code below with yours.
The red code will also need changing depending on your urls and choice of wording.
Once you've done that, insert the code into your custom code box and you're done.
<script type="text/javascript">
x$(' #xg_tab_xn47').after('<li style="padding-left:10px;
border:none;"><a style="font-family:georgia; font-style:italic;"> Follow</a></li><li
style="border:none; margin-right:-10px;"><a target="_blank" href=" http://yourTwitterURL"><img
src="https://storage.ning.com/topology/rest/1.0/file/get/11386512?profile=original"
width="20" /></li><li style="border:none; margin-right:-10px;"><a
target="_blank" href=" http://www.yourLinkedInURL.com"><img
src="https://storage.ning.com/topology/rest/1.0/file/get/11386518?profile=original"
width="20" /></a></li><li style="border:none; margin-right:-10px;"><a
href=" https://yourGPLUSURL" style="text-decoration:
none;"><img src="https://ssl.gstatic.com/images/icons/gplus-32.png" style="border:
0;" height="20" width="20" /></a></li><li style="border:none;
margin-right:-10px;"><a target="_blank" href=" http://www.facebookURL"><img
src="https://storage.ning.com/topology/rest/1.0/file/get/11386528?profile=original width="40" /></a></li>');
</script>
This tip will only really work on networks that don't have many tabs and sadly i'm only using it on a development site at present so don't have a working version to show, but i thought i'd drop it in for anyone who could use it.
Script attached as well
Cheers
SP
ps, further tip, if your Manage Network tab is cluttering things up, hide it by putting this in the advanced css section:
#xg_tab_manage{
display:none;
}
Replies
Sp
GREat tip. HOw can i add images like u added in Tabs. thats innvoative.. Community Blogs.
SP
Wasn't me.
Thanks for the tip!
LMAO!!! OMG Sp haha, your intro...oh and great post! thank you! Now if only I could find a good translation widget that doesn't mess up my network i will put up there too. I'll be saving this awesome post.
It's not showing up on my network and I'm sure I did everything right. And yes it is in the Custom Code Box
SP
looks like you have got the right tab id but your code is broken over several lines. try the code in the attachment :-)
It worked perfectly when I copied via the attachment! Thank You Superstar :)
great. Cheers, SP
Hi, I've used attachment code but my last tab is 'Admin' so hidden from public view - I've tried using both the Admin tab code and the final public code 'Help' but this wonderful thing doesn't appear :-/ Also tried making nav shorter...would the hidden Admin tab be causing this?
http://members.card-making-world.com
(and I removed LinkedIn code)