TinyPortal
Development => Support => Topic started by: darrenelkins on February 12, 2009, 02:59:38 PM
Hi,
I am wondering if any of you can help me? I don't really have a clue about PHP coding but would like the following
A block that is able to switch between weblink sections.
At the moment I have a block with a long list of weblinks, I would like to segregate these, almost like a tab effect in a block. I hope you understand what I mean.
i.e.
Tab 1 Tab 2 Tab 3 Tab 3
link link etc
link link
when I click on the tab the list appears in the block.
here is my list of sites I have as a single list atm:
{echo "<b>WoW Info</b><br>";}
echo "<a target=\"_blank\" href=\"http://eu.wowarmory.com/guild-info.xml?r=Wildhammer&n=Wisdom+and+Strength&p=1\">Guild Roster</a><br>";
echo "<a target=\"_blank\"
href=\"http://eu.wowarmory.com\">WoW Armory</a><br>";
echo "<a target=\"_blank\"
href=\"http://thottbot.com\">Thottbot</a><br>";
echo "<a target=\"_blank\"
href=\"http://wow.allakhazam.com\">Allakhazam</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.wowhead.com/?talent\">Talent Calculator</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.wowhead.com\">Wowhead</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.wowwiki.com/Portal:Main\">Wowwiki</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.wowdb.com\">WoWdb</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.worldofwarcraft.com/splash-wrathlaunch2.htm\">WoW.com</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.wow-europe.com/en/index.xml\">WoW.eu</a><br>";
{echo "<b>WoW Maps</b><br>";}
echo "<a target=\"_blank\"
href=\"http://www.worldofwar.net/wiki/Main_Page\">Worldofwar</a><br>";
echo "<a target=\"_blank\"
href=\"http://mapwow.com\">MapWoW</a><br>";
echo "<a target=\"_blank\"
href=\"http://wow.gamepressure.com\">Game Atlas</a><br>";
{echo "<b>WoW Interface</b><br>";}
echo "<a target=\"_blank\"
href=\"http://wow.curse.com/downloads/wow-addons/default.aspx\">Curse</a><br>";
echo "<a target=\"_blank\"
href=\"http://wow.curseforge.com\">CurseForge</a><br>";
echo "<a target=\"_blank\"
href=\"http://www.wowinterface.com/find.php\">WoW Interface</a><br>";
echo "<a target=\"_blank\"
href=\"http://wowui.worldofwar.net/?p=home\">WoWui</a><br>";
{echo "<b>Class Information</b><br>";}
echo "<a target=\"_blank\"
href=\"http://elitistjerks.com/f31\">Elitist Jerks</a><br>";
echo "<a target=\"_blank\"
href=\"http://petopia.brashendeavors.net\">Petopia</a><br>";
There are several code snippets in the Block Code Snippets forum which show how to create tabbed content in a block.
Try
http://www.tinyportal.net/index.php/topic,11820.0.html
http://www.tinyportal.net/index.php/topic,27772.0.html
http://www.tinyportal.net/index.php/topic,7915.0.html
http://www.tinyportal.net/index.php/topic,6100.0.html