Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
|
|
« on: May 14, 2007, 08:24:13 pm » |
|
Footers: <script> function addlinks(){ //Created by Agent Moose $(function() { var links = new Array() links[0] = ["LINKS NAME","URL FOR LINK"]
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> Ok, LINKS NAME is where you put the links name, then in URL FOR LINK, you get the URL of the link and place it there. If you want to add more links, just add more of these lines: links[0] = ["LINKS NAME","URL FOR LINK"] Make sure you change the 0 to a 1, then if you want to add another, you would change the 1 to a 2 and so on.
|
|
« Last Edit: November 08, 2007, 07:45:17 pm by Agent Moose »
|
Report Spam
Logged
|
|
|
|
|
deathwilldie
100 Club Member
Offline
Posts: 214
|
|
« Reply #1 on: May 18, 2007, 10:56:05 pm » |
|
This is really cool.
|
|
|
|
|
Littlekidder
Starter
Offline
Posts: 7
|
|
« Reply #2 on: May 26, 2007, 04:56:02 am » |
|
Question: I've got a site i want to put on which isn't a smf.
So it will come up with my url of forum/url of site
Any help with that?
I'm not good at coding and stff
|
|
|
|
Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
|
|
« Reply #3 on: May 26, 2007, 11:40:46 am » |
|
do you have it like this? http://www.siteurlhere.com IF you don't it will do what your saying.
|
|
|
|
˘ω
Starter
Offline
Gender:
Posts: 18
|
|
« Reply #4 on: January 06, 2008, 11:32:21 pm » |
|
why aren't any of ur codes working?
|
|
|
|
Agent Moose Jr.
Ultra Contagious
Global Moderator
Offline
Gender:
Posts: 1,045
|
|
« Reply #5 on: January 07, 2008, 05:22:43 am » |
|
they are working fine make sure you have this in your headers <script src="jquery.js"></script> if you need any more help just post or pm me
|
Newest:
|
|
|
mr burns
Starter
Offline
Posts: 6
|
|
« Reply #6 on: January 17, 2008, 10:10:38 am » |
|
when i use it,i click it and it becomes this survey thing
|
hi iam new with coding <---------click me and come to war
|
|
|
Agent Moose Jr.
Ultra Contagious
Global Moderator
Offline
Gender:
Posts: 1,045
|
|
« Reply #7 on: January 17, 2008, 04:52:54 pm » |
|
you need to make sure the url is like this http://www.url.com/
|
Newest:
|
|
|
mr burns
Starter
Offline
Posts: 6
|
|
« Reply #8 on: January 18, 2008, 01:55:08 am » |
|
thanks!
|
hi iam new with coding <---------click me and come to war
|
|
|
Agent Moose Jr.
Ultra Contagious
Global Moderator
Offline
Gender:
Posts: 1,045
|
|
« Reply #9 on: January 18, 2008, 02:11:38 pm » |
|
thats why im here! to help and serve! your very welcome
|
Newest:
|
|
|
˘ω
Starter
Offline
Gender:
Posts: 18
|
|
« Reply #10 on: January 18, 2008, 10:44:34 pm » |
|
jr., is it suposed to look like this?
<script src="jquery.js"></script>http://www.gdhangout.smfforfree4.com/
|
|
|
|
Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
|
|
« Reply #11 on: January 19, 2008, 11:28:47 am » |
|
Try this <script src="http://www.gdhangout.smfforfree4.com/jquery.js"></script>
|
|
|
|
Kalphiter
100 Club Member
Offline
Gender:
Posts: 203
Never forget to drink coffee.
|
|
« Reply #12 on: April 06, 2008, 04:09:48 pm » |
|
How do you put content in the tabs?
|
Java is your friend.
|
|
|
Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
|
|
« Reply #13 on: April 06, 2008, 05:13:24 pm » |
|
Just put the content you want where it says LINK NAME
|
|
|
|
legend 1234
100 Club Member
Offline
Gender:
Posts: 461
Legend 1234
|
|
« Reply #14 on: April 07, 2008, 04:24:01 am » |
|
also april fools
there is now add a tab 2.5
so it looks better and is infront of logout button
legend 1234
|
|
|
|
|
|