Simple Machine Codes
March 28, 2024, 03:06:02 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Add More Tabs V2

Pages: [1]   Go Down
  Print  
Author Topic: Add More Tabs V2  (Read 2526 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: November 08, 2007, 07:44:33 pm »

Footers:
Code:
<script>
var Agent = new Array()
Agent[Agent.length]=["NAME","URL"];

tabs = "";for(Moose=0;Moose<Agent.length;Moose++){
//Created by Agent Moose (smcodes.smfforfree3.com)
tabs += "<td valign='top' class='maintab_back'><a href='"+Agent[Moose][1]+"'>"+Agent[Moose][0]+"</a></td>"
};
$(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").after('<td class="maintab_last">&#'+'8195;</td><td class="maintab_first"></td>'+tabs);
</script>

NAME = The Name for the link.
URL = The URL of the link.

If you want to add more tabs, just add more of these lines:
Code:
Agent[Agent.length]=["NAME","URL"];

Enjoy Smiley
Report Spam   Logged

Share on Facebook Share on Twitter

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #1 on: January 04, 2008, 01:15:45 pm »

nice job
Report Spam   Logged

Newest:

Magestickown
Starter

Offline Offline

Posts: 10


View Profile
« Reply #2 on: January 27, 2008, 12:23:51 am »

Sad I put four in. But when I did . It only showed one. Why? SadSad PLEASE HELP.
Report Spam   Logged
Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #3 on: January 27, 2008, 12:33:46 am »

Forum URL? Wink
Need that to have a look at how you did it.
Report Spam   Logged

Magestickown
Starter

Offline Offline

Posts: 10


View Profile
« Reply #4 on: January 27, 2008, 12:41:23 am »

www.magestickown.co.nr -Thanks anyways I fixed it. I'd appreciate if you took a peek at my site though Cheesy

I really like this code. Its very useful I put alot of different tabs on my site


Posted on: 27 January 2008 at 10:34:56 pm

I really like this code. Its very useful I put alot of different tabs on my site
« Last Edit: January 28, 2008, 08:42:38 am by Omikron 9861 » Report Spam   Logged
Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #5 on: February 05, 2008, 09:11:15 am »

Thanks, this code is great I'm really going to use this Smiley

I love this code Moose It's really great Smiley
« Last Edit: February 07, 2008, 07:47:12 am by Myrtle » Report Spam   Logged

camobeast23
100 Club Member

Offline Offline

Posts: 167



View Profile
« Reply #6 on: February 27, 2008, 10:39:57 pm »

Name is the name of my forum right?

Does this have forums in the tab?

And Ive made a Testing forum and it's not working. It's not showing up at all.
« Last Edit: February 27, 2008, 11:07:06 pm by camobeast23 » Report Spam   Logged
Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #7 on: February 28, 2008, 12:58:31 am »

Name= What the tab will show to users. eg-> XYZ Forum
URL= What the url of the forum is. eg -> http://xyzforum.smfforfree4.com/

Could you post up the url of your test forum?
Report Spam   Logged

camobeast23
100 Club Member

Offline Offline

Posts: 167



View Profile
« Reply #8 on: February 28, 2008, 09:07:24 am »

http://testinglab.smfforfree4.com
Report Spam   Logged
Celebrus
Artificially Conscious
Administrator

Offline Offline

Gender: Male
Posts: 1,337


aka Omikron


View Profile WWW
« Reply #9 on: February 28, 2008, 10:33:56 am »

Wrong jQuery include code. You have:
Code:
<script src="http://YOUR_FORUM.smfforfreeX.com/jquery.js"></script>
You should have:
Code:
<script src="http://testinglab.smfforfree4.com/jquery.js"></script>
Report Spam   Logged

camobeast23
100 Club Member

Offline Offline

Posts: 167



View Profile
« Reply #10 on: February 28, 2008, 11:08:16 pm »

Thank you! I figured it out about an hour ago. But thankyou! Smiley
Report Spam   Logged
GodGurl25
xXGodGurl25Xx
Members

Offline Offline

Gender: Female
Posts: 32



View Profile WWW
« Reply #11 on: May 02, 2008, 09:26:47 pm »

Hey! How to add stuffs in it? I don't know... hm...  Cry
Report Spam   Logged

Hope I'm welcum here guys.
from:
xXGodGurl25Xx
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #12 on: May 03, 2008, 11:23:05 am »

What do you mean?  Like HTML.

If so, just place it where the name part is.
Report Spam   Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy