News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Tabbed Pages [HTML]

Started by KensonPlays, May 25, 2011, 11:08:38 AM

Previous topic - Next topic

KensonPlays

I use Dream Portal, and I have a page set up. I would, like on www.smfpacks.com, have tabbed pages. Nibogo said it's HTML tabs. I am searching, but can anybody here help me? I would like a few pages tabbed, not all of them.

Owner of Mesozoic Haven

KensonPlays

Bump. I still would love this please.

Owner of Mesozoic Haven

Suki

search for "jquery tabs"  http://jqueryui.com/demos/tabs/


or another JavaScript framework like prototype:

http://livepipe.net/control/tabs
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

KensonPlays

I installed JQUERY and referenced it correctly but I cannot figure out the JQUERY tabs system.
Here is the coode I used:

<script src="http://www.kcmartz.com/jquery/jquery.js"></script>

<meta charset="utf-8">
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
<div class="demo">

<div id="tabs">
   <ul>
      <li><a href="#tabs-1">Nunc tincidunt</a></li>
      <li><a href="#tabs-2">Proin dolor</a></li>
      <li><a href="#tabs-3">Aenean lacinia</a></li>
   </ul>
   <div id="tabs-1">
      <p>Tab 1 content</p>
   </div>
   <div id="tabs-2">
      <p>Tab 2 content</p>
   </div>
   <div id="tabs-3">
      <p>Tab 3 content</p>
   </div>
</div>

Owner of Mesozoic Haven

Suki

http://www.kcmartz.com/jquery/jquery.js    it gives me a not found page.


<script>  should be    <script type="text/javascript">
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

KensonPlays

I decided to use the GOOGLEAPIS jquery

Owner of Mesozoic Haven

mashby

OK, then you'll also need to use the jQuery UI file too. Might also need to roll out a theme and host that as well. That's what I did on the home page of my site. Fun stuff.
Always be a little kinder than necessary.
- James M. Barrie

KensonPlays

Alright, I will do that at school tomorow (I have 2 days of my Senior HS year, finally)

Owner of Mesozoic Haven

Advertisement: