TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 408
  • Total: 408

ITS HERE!!! Yahoo styled tabbed content

Started by akulion, August 30, 2006, 09:18:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knat

you can use the shade.gif as titlebg.gif on the rest of your site to get it to mach.. i did that  8)

or visa versa you can use you titlebg.gif insted of that shade.gif  ;)

Or you can just make your own little gradient gif to match your forum  ;D

4thHorseman

#81
Yes that is good, but to center it just do this,
edit the:
  tabcontent.css
Quotefind   
text-align: center; /*set to left, center, or right to align the menu as desired*/

its about 8 lines down

then edit your text and put <center>,</center> comands in like this,
oh and you don't have to use the head and body tags, it will work fine without.

Quote<head>
<link rel="stylesheet" type="text/css" href="http://your site.com/forum/tabs/tabcontent.css" />

<script type="text/javascript" src="http://yoursite.com/forum/tabs/tabcontent.js">

</script>
</head>
<body>

<center>

<ul id="maintab" class="shadetabs">
<li class="selected"><a href="#" rel="tcontent1">Tab 1</a></li>
<li><a href="#" rel="tcontent2">Tab 2</a></li>
<li><a href="#" rel="tcontent3">Tab 3</a></li>
<li><a href="#" rel="tcontent4">Tab 4</a></li>
<li>Link 1</li>
</ul>

<div class="tabcontentstyle">

<div id="tcontent1" class="tabcontent">
<p>Content 1</p>
</div>

<div id="tcontent2" class="tabcontent">
<p>Content 2</p>
</div>

<div id="tcontent3" class="tabcontent">
<p>Content 3</p>
</div>

<div id="tcontent4" class="tabcontent">
<p>Content 4</p>
</div>

</div>

<script type="text/javascript">
//Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
initializetabcontent("maintab")
</script>

</center>
</body>

That will center it in the page.


now to make the center blocks bigger just put your info into a table and make the with what you want "i use 600 pixs wide

Quote<table border="0" width="600" id="table1" cellspacing="0" cellpadding="0">
<p>Content 1</p>
</table>

http://unrealhorsemen.com

brianjw

You are using BBC in your code 4th Horsemen. It's not the right code.

Assistance

i think he did that to show people that is where u put your ..url

brianjw

btw i tried doing with the center tags and it centered it but also centered all the little div parts that i didnt want to be centered more like left or right ;)

samo_zin123

how to embed  afunction inside it 
like umm
ssi_recentTopics();

or
ssi_topTopicsReplies();


samo_zin123

how can u add involve another block under any button on this table
i saw that table in that path to peace site each button of the table contian adifferent blick
like
random images
random arcade
...etc



IchBin

Why would you post for support on your problem in another persons topic that is totally not related?

samo_zin123

#89
not releated?
how come ?
this is the code of the table u were talking about
i want support in the this topic we are in
any way i  deleted my posts here cuz u find them not related




This website is proudly hosted on Crocweb Cloud Website Hosting.