1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div id="example-one">

    <ul class="nav">
                <li class="nav-one"><a href="#featured" class="current">Featured</a></li>
                <li class="nav-two"><a href="#core">Core</a></li>
                <li class="nav-three"><a href="#jquerytuts">jQuery</a></li>
                <li class="nav-four last"><a href="#classics">Classics</a></li>
    </ul>

    <div class="list-wrap">

    <ul id="featured">
        <?php query_posts('category_name=teknik&posts_per_page=10&order=DESC'); ?>
                  <?php while (have_posts()) : the_post(); ?>
                  <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
                  <?php endwhile;?>
    </ul>

     <ul id="core" class="hide">
     <?php query_posts('category_name=film&posts_per_page=10&order=DESC'); ?>
                  <?php while (have_posts()) : the_post(); ?>
                  <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
                  <?php endwhile;?>
     </ul>

     <ul id="jquerytuts" class="hide">
     <?php query_posts('category_name=musik&posts_per_page=10&order=DESC'); ?>
                  <?php while (have_posts()) : the_post(); ?>
                  <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
                  <?php endwhile;?>
     </ul>

     <ul id="classics" class="hide">
     <?php query_posts('category_name=spel&posts_per_page=10&order=DESC'); ?>
                  <?php while (have_posts()) : the_post(); ?>
                  <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
                  <?php endwhile;?>
     </ul>

    </div> <!-- END List Wrap -->

 </div> <!-- END Organic Tabs (Example One) -->