Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Corganno (New Admin) 8/28/2011 1:18 PM EST : RE: Two Row Nav Bar
Corganno
Posts: 584
Zomgawsh Poster

Awesome! 

Thanks Mottie, you rock
TopBottom

Corganno (New Admin) 8/29/2011 1:37 PM EST : RE: Two Row Nav Bar
Corganno
Posts: 584
Zomgawsh Poster

If there's anyone else out there like me, our guild has a number of "member-only" and/or "super admin -only" tabs. When there's only 4-5 tabs the public can see, the second row on the navbar looks a little odd. 

So I used Mottie's "Hide the Shoutbox from non-members" code to set our site up so that members/council/officers/admins see the second row, but the public/associates only see one row:

<script type="text/javascript">
$(document).ready(function(){
 var accessLevel = "$block[userlevelname]";
 if (accessLevel.match('public|associate')) {
 
 } else {
  /*** This script will make your Standard Tabs into two rows ***/
 var navbar = $('table.TabBar');
 navbar.after( navbar.clone(true) )
  .removeClass('mBottom')
  .find('td:odd').html('<div class="emptyTab"></div>');
 $('table.TabBar:last')
  .addClass('SecondRow')
  .removeClass('mTop')
  .find('td:even').html('<div class="emptyTab"></div>');
 }
})
</script>

... I hope I did this properly, it seems to work  lol
TopBottom

deverture (New Admin) 1/23/2012 6:29 PM EST : Navigation bar background

deverture
Posts: 2
Getting Started!

hello Mottie, this has nothing to do with having 2 nav bars but rather seing if its possible to have a url background on the nav bar for example.



http://www.getfreeimage.com/pictures/blue-ice-background-pic.jpg

thats the image i want for my nav bar i realy hope its possible it would look great
for my theme
TopBottom

Mottie (MVP) 1/23/2012 7:14 PM EST : RE: Navigation bar background
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Devenrture!

The image you shared doesn't look like it would repeat horizontally to replace the dynamic images type of bar, so maybe you want to use the static images navigation style? Go to Control Panel > Style Tools > Navigation Style > Static Images tab.

If that isn't the style of navigation you want, I do have a thread with other tab style variations.
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%