fade_tabs

The ColorWay Theme fade tabs function.

Description

fade_tabs(); 

Usage

  1. if ( !function_exists( 'fade_tabs' ) ) { 
  2. require_once '/functions/tabs.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = fade_tabs(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions/tabs.php  
  1. function fade_tabs() 
  2. ?> 
  3.  
  4.  
  5. <!-- Begin Tabbed Content --> 
  6. <div id="tab"> 
  7. <ul class="nav"> 
  8. <li><a href="#recent" class="current">Recent<span></span></a></li> 
  9. <li><a href="#popular">Popular<span></span></a></li> 
  10. <li><a href="#comment">Comment<span></span></a></li> 
  11. </ul> 
  12. <div class="list-wrap"> 
  13. <ul id="recent"> 
  14. <?php getLatestPosts(); ?> 
  15. </ul> 
  16. <ul id="popular" class="hide"> 
  17. <?php getTopPosts(); ?> 
  18. </ul> 
  19. <ul id="comment" class="hide"> 
  20. <?php getRecentComments(); ?> 
  21. </ul> 
  22. </div> 
  23. </div> 
  24. <!-- End Tabbed Content --> 
  25.  
  26. <?php