Advertise Here

Author Topic: [Code] Add More Tabs  (Read 31570 times)

0 Members and 2 Guests are viewing this topic.

Offline coke

  • SMF For Free Full Member
  • *
  • Posts: 148
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: Add More Tabs
« Reply #15 on: June 05, 2007, 01:10:52 am »
I've noticed a problem, the extra links will show up next to the mark all messages as read column.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Add More Tabs
« Reply #16 on: June 05, 2007, 09:04:03 am »
I relised that to.  I can make it so it doesn't do that, but then it will only show up on the Board index, and no where else, and it will also make the code longer.
Check out Revolution X's Brand new Code Index!

Offline coke

  • SMF For Free Full Member
  • *
  • Posts: 148
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: Add More Tabs
« Reply #17 on: June 05, 2007, 01:25:29 pm »
If it's not too much work you should anyways, some people might not mind only having it on the board index.

Offline Crasy

  • Global Moderator
  • *
  • Posts: 3960
  • Semi-Retired ;)
    • View Profile

  • Total Badges: 29
    Badges: (View All)
    Poll Starter Poll Voter Seventh year Anniversary Arcade Highscore Windows User
Re: Add More Tabs
« Reply #18 on: June 05, 2007, 01:58:20 pm »
Can't you just put the code in a board description or something so that it is only on the board index?
Then you wouldn't need to make a whole new code..and it would only show up on the index.
Did my answer help you? Want to help out hosting costs?


Every donation counts.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Add More Tabs
« Reply #19 on: June 05, 2007, 02:07:41 pm »
You could try that too.
Check out Revolution X's Brand new Code Index!

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Add More Tabs
« Reply #20 on: June 09, 2007, 09:30:07 am »
You will probably need to download it because it isn't installed right when you create one.
Check out Revolution X's Brand new Code Index!

Offline lOOmis

  • SMF For Free Full Member
  • *
  • Posts: 138
    • View Profile
    • UnBoundKillerz

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add More Tabs
« Reply #21 on: September 02, 2007, 07:02:33 pm »
Forum Url: http://unboundkillerz.smfforfree3.com
Is there a way to change the existing tabs text. Instead of the HOME tab I would like it to say FORUM HOME because I've created a tab to direct anyone that wishes back to the Main Website, www.unboundkillerz.com which will have UbK HOME PAGE. People will get to the forums from this site, but once on the forums having a way to get back through the tabs would be great. Well, I can do it, but back to the question at hand. Changing the tabs text? Anyone......

lOOmis

Offline x-Treme

  • SMF For Free Hero
  • *
  • Posts: 592
  • formally known as Gordie!!!
    • View Profile
    • xTreme Arcade

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: [Code] Add More Tabs
« Reply #22 on: September 10, 2007, 07:11:25 pm »
I can't get this code to work. I placed the correct code in the header, and placed this in the footer:

Code: [Select]
<script>
function addlinks(){
//Created by Agent Moose
$(function() {
var links = new Array()
links[0] = ["E-Cards" , "http://cards.123greetings.com/cgi-bin/cards/sendcard.pl?log=gateway"]

for(m=0;m<links.length;m++){
$(".maintab_last").before("<td valign='top' class='maintab_back'><a href='"+links[m][1]+"'>"+links[m][0]+"</a></td>");
};});}

addlinks();
</script>

Offline deathwilldie

  • Style Designer
  • *
  • Posts: 770
  • Give me an idea for a Stylesheet
    • View Profile
    • Revolution X

  • Total Badges: 28
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary Search Eighth year Anniversary Seventh year Anniversary
Re: [Code] Add More Tabs
« Reply #23 on: September 10, 2007, 07:46:19 pm »
Have you added this code to the headers yet?

Code: [Select]
<script language="JavaScript" type="text/javascript" src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>

Offline Osurin

  • SMF For Free Member
  • *
  • Posts: 35
  • MASTER ROLEPLAYER
    • View Profile
    • Steel Destiny

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Add More Tabs
« Reply #24 on: September 11, 2007, 06:24:09 pm »
Is there anyway to sort the tab to first place on the bar??

srry if I am repeating someone elses question.

Offline x-Treme

  • SMF For Free Hero
  • *
  • Posts: 592
  • formally known as Gordie!!!
    • View Profile
    • xTreme Arcade

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: [Code] Add More Tabs
« Reply #25 on: September 12, 2007, 04:46:59 pm »
Forum Url: http://gateway.smfforfree.com.smfforfree.com
Just wondering...I want to add a tab with a link to my chatroom. I want the chatroom to open in a pop-up window.This is the code I usually use to create the pop-up chatroom:
Code: [Select]
<a href="http://client0.addonchat.com/sc.php?id=245925"
   onClick="window.open('http://client0.addonchat.com/sc.php?id=245925',
      'addonchat','width=620,height=440,status=no,scrollbars=no,menubar=no,resizable=yes');
      return false">Gateway Chat</a>

Is there anyway to place that code into the "add more tabs code" so that it still opens in a  small pop-up window? I hope I haven't confused anyone.
You can see the chatroom at the very top of my forum.

Offline Coreeeey

  • SMF For Free Sr. Member
  • *
  • Posts: 307
    • View Profile
    • Forum Evolve

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add More Tabs
« Reply #26 on: September 13, 2007, 02:31:29 pm »
Is there anyway to sort the tab to first place on the bar??

srry if I am repeating someone elses question.

I would like to know this too, I want the Logout tab to be last

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Add More Tabs
« Reply #27 on: September 13, 2007, 02:52:15 pm »
Is there anyway to sort the tab to first place on the bar??

srry if I am repeating someone elses question.

I would like to know this too, I want the Logout tab to be last

Moose would need to rewrite the code, if it is even possible, in order to do that.

Offline Coreeeey

  • SMF For Free Sr. Member
  • *
  • Posts: 307
    • View Profile
    • Forum Evolve

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add More Tabs
« Reply #28 on: September 13, 2007, 04:48:28 pm »
Forum Url: http://pspforums.smfforfree3.com
I can't get the
Code: [Select]
target=_blank to work
« Last Edit: September 13, 2007, 04:52:32 pm by Coreeeey »

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [Code] Add More Tabs
« Reply #29 on: September 15, 2007, 08:52:53 am »
Try useing this target='_blank'
Check out Revolution X's Brand new Code Index!

 

Related Topics

  Subject / Started by Replies Last post
22 Replies
7211 Views
Last post January 29, 2009, 07:59:16 pm
by s3xy v0id
1 Replies
2054 Views
Last post November 12, 2008, 07:59:32 am
by simply sibyl
0 Replies
1645 Views
Last post January 26, 2011, 05:53:59 pm
by Arekay