Simple Machine Codes
April 20, 2024, 01:11:11 am
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 V1

Pages: 1 [2] 3   Go Down
  Print  
Author Topic: Add More Tabs V1  (Read 6821 times)
0 Members and 1 Guest are viewing this topic.
legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #15 on: April 26, 2008, 08:05:43 pm »

ok try this:

Code:

<script>
function addlinks(){
//Created by Agent Moose
$(function() {
var links = new Array()
links[0] = ["Watch vid here","http://www.youtube.com"]

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

addlinks();
</script>


although after the tab it has [url] which im not sure y ? maybe its auto coz i searched through theres nothing saying that

legend 1234
Report Spam   Logged

Pages: 1 [2] 3   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