- Kollermedia.at - http://www.kollermedia.at -
Easy Tabs 1.1 – free Tab Menu
Posted By Jürgen Koller On 4. Juli 2007 @ 11:42 In Scripts etc. | 25 Comments
There is a brand new Version of the Tab Menu available - it's called Easy Tabs 1.2 and you can find and download it here [1].
The first Version [2] of my free Tab Menu has been downloaded over 5000 times. The script was ok but far away from perfect. So i've optimized the code (as good as i could) and made a few improvements to the menu. The Menu is now called Easy Tabs 1.1 (free for private and commercial projects).
Here are three basic examples:
There are 4 Settings you have to set in the javascript:
//Set the id names of your tablink (without a number at the end)
var tablink_idname = new Array("tablink")
//Set the id name of your tabcontentarea (without a number at the end)
var tabcontent_idname = new Array("tabcontent")
//Set the number of your tabs
var tabcount = new Array("4")
//Set the Tab wich should load at start (In this Example:Tab 2 is visible on load)
var loadtabs = new Array("2")
If you have more than one tabmenu, just enter another value in the Arrays for Example:
//Set the id names of your tablinks (without a number at the end)
var tablink_idname = new Array("tablink","anotherlink")
//Set the id names of your tabcontentareas (without a number at the end)
var tabcontent_idname = new Array("tabcontent","anothercontent")
//Set the number of your tabs in each menu
var tabcount = new Array("4","6")
//Set the Tabs wich should load at start (In this Example:Menu 1 -> Tab 2 visible on load, Menu 2 -> Tab 5 visible on load)
var loadtabs = new Array("2","5")
For better understanding -> In the tablinks you call the easytabs function with 2 values. The first value is the Menu and the second the Tabnumber. So the easytabs call for the third tab of the first menu would be:
onmouseover="easytabs('1', '3');"
The call for the 4 tab in the 3rd menu would be:
onmouseover="easytabs('3', '4');"
I hope this Tab Menu is useful for you, if you have questions or improvements please post a comment [6], thank you.
Easy Tabs 1.1 [7] (7,0 KiB, 8.660 hits)
Easy Tabs 1.2 [9] (9,9 KiB, 443.280 hits)
This Related Posts, Tags, Rating, Statistic Menu:
Article printed from Kollermedia.at: http://www.kollermedia.at
URL to article: http://www.kollermedia.at/archive/2007/07/04/easy-tabs-11-free-tab-menu/
URLs in this post:
[1] you can find and download it here: http://www.kollermedia.at/archive/2007/07/10/easy-tabs-12-now-with-autochange//
[2] first Version: http://www.kollermedia.at/archive/2007/02/20/download-tabmenu-for-free/
[3] Example with one Tabmenu: http://www.kollermedia.at/wp-content/themes/kollermedia/specials/easytabs1.1/example_one_menu.html
[4] Example with two Tabmenus: http://www.kollermedia.at/wp-content/themes/kollermedia/specials/easytabs1.1/example_two_menus.html
[5] Example with threeTabmenus: http://www.kollermedia.at/wp-content/themes/kollermedia/specials/easytabs1.1/example_three_menus.html
[6] post a comment: http://www.kollermedia.at/archive/2007/07/04/easy-tabs-11-free-tab-menu/#respond
[7] Easy Tabs 1.1: http://www.kollermedia.at/download/5/
[8] Infos here: http://www.kollermedia.at/archive/2007/07/10/easy-tabs-12-now-with-autochange/
[9] Easy Tabs 1.2: http://www.kollermedia.at/download/4/
Click here to print.
Copyright © Kollermedia.at. All rights reserved.