Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Add menus to your submenu; without eating away at your wrappers :0)
Topic Started: Nov 16 2006, 08:29 PM (1,517 Views)
KodiackDaKing
I LIEK SQUIRRELZ!!1!!11!1!!!1
 *   *  
EDIT: Not all boards come with this! Scroll down to the next post to get everything to work out right. ;) Hey, think of it this way! It hardly takes any wrapper space! :lol: :)

Find this in your board wrappers under Header & Body:

Quote:
 

<div class="customsubmenu"><a  href="http://SERVER#.invisionfree.com/BOARD_NAME/index.php?act=Help">Help</a><a href="http://SERVER#.invisionfree.com/BOARD_NAME/index.php?act=Search&f=">Search</a><a href="http://SERVER#.invisionfree.com/BOARD_NAME/index.php?act=Members">Members</a><a href="http://SERVER#.invisionfree.com/BOARD_NAME/index.php?act=calendar">Calendar</a><a
href="http://SERVER#.invisionfree.com/BOARD_NAME/index.php?act=boardrules">TOS</a>


Please note that your Server # and board name will already be filled in!!!

Once you have found that, you may copy and paste the following HTML before an "<a href" or after a "</a>" depending on where you wish to place the new submenu link:

<a href="URL of Site/place you want link to take you">Text that will appear in Submenu</a>

Be sure to keep the quotation marks! They're important in this. I'll show you an example. Let's say I wanted to link to babyrubberchicken.com and I wanted the text to be clicked called "Rubber Chicken," I would put this:

<a href="babyrubberchicken.com">Rubber Chicken</a>

That's it! Pretty easy once you get used to it! ^_^

One more thing, if you wish to have an image before your link, put in the following before you put in the "<a href="URL of Site">text to click</a>"...

<img src="AREA/URL of Image">

I know this is a bit sloppy, and I apologize. This is my first, uh, "code snippet" as you may say. I'm also a bit shy. :$
Offline Profile Quote Post Goto Top
 
HelenaZF
Member Avatar
advanced techno feeb
 *   *   *   *   *   *   *  
Yes, your skin apparently has a custom submenu included. For those with without that feature:

If you use the above custom submenu code, you will want to remove the existing submenu bar.

Do that by going to your CSS:

ACP > Skinning & Styles > Manage Style Sheets

find:
Quote:
 
#submenu  { border:1px solid #BCD0ED;background-color: #DFE6EF;font-size:10px;margin:3px 0px 3px 0px;color:#3A4F6C;font-weight:bold;}


replace with:
Quote:
 
#submenu  { display: none;}
Offline Profile Quote Post Goto Top
 
KodiackDaKing
I LIEK SQUIRRELZ!!1!!11!1!!!1
 *   *  
HelenaZF
November 16, 2006 09:53 PM
Yes, your skin apparently has a custom submenu included. For those with without that feature:

If you use the above custom submenu code, you will want to remove the existing submenu bar.

Do that by going to your CSS:

ACP > Skinning & Styles > Manage Style Sheets

find:
Quote:
 
#submenu  { border:1px solid #BCD0ED;background-color: #DFE6EF;font-size:10px;margin:3px 0px 3px 0px;color:#3A4F6C;font-weight:bold;}


replace with:
Quote:
 
#submenu  { display: none;}

Oh, okay! Thanks. ^_^ I edited something in so that people would be sure to do that if they weren't fortunate to have one of the skins like that. ;)

Thanks again. :)
Offline Profile Quote Post Goto Top
 
Kurai Ikazuchi
Member
 *  
:hug: awesome code 7.5/10 its only a tad confusing on how u explained it but other then that nice (notes yes i know old topic but i found and used on my site decided to comment) :arr: <lawl its yellow
Offline Profile Quote Post Goto Top
 
reaper the hedeghog
Member
 *   *  
mine is better! >:D
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code Snippets · Next Topic »
Add Reply