Simple Machine Codes
March 21, 2010, 04:44:53 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 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 3268 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,668



View Profile WWW
« Reply #15 on: April 28, 2008, 02:35:35 pm »

Try this:

Code:
<script>
function addlinks(){
//Created by Agent Moose
$(function() {
var links = new Array()
links[1] = ["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]+"</a></td>");
};});}

addlinks();
</script>
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 © 2006-2009, Simple Machines LLC
Hostgator Hosting