PDA

View Full Version : submenus in menus


stormclouds
08-26-2002, 03:56 PM
Hi Im new to CSS and well im making my first website. Its not going to badly but i keep running into problems where i cant seem to find a simplified answer on the web. Now ive found this forum and am hoping yers might be able to help me out.

I have a menu on the left side of each page. And I have discovered that for the link to my "Backgrounds/Graphics" page I would rather break it up and give a choice of going to say "banners" or 'backgrounds" or "graphics" Do yers understand what im trying to get at?
anyways heres the page i was wanting help with - well any of the pages cos im going to have to add it to all the menus on each page.
so i guess yer could look at the front page and ifn yer click on backgrounds/graphics it will take yer to a page of banners and then i have a little text link to backgrounds (theres only one in there at the moment lol)

heres the addy:http://stormcloudes.bravepages.com/

thanks in advance

PauletteB
08-26-2002, 08:27 PM
Probably the easiest is to add the link as a new link, accessible from anywhere on your site. The way it is now, you can only access your background page through the banner page.

This is how to do this...

The easiest way:

Replace the existing link group with this group:

<a href="index.html">Home</a>
<a href="neopets.html">Neopets</a>
<a href="animation.html">Animation</a>
<a href="storms.html">Storms</a>
<a href="links.html">Links</a>
<a href="banners.html">Graphics</a>
<a href="neopetsbackgrounds.html">Backgrounds</a>

and you'd now have seven links on each page instead of six.
Paste this on each page. Note that you don't need the long urls, but you can use them if you want.

(and remove the background link inside the center of your banner page)

The longer way is to have only six links per page. The link you wouldn't need is the one that you're on, but that would involve six "groups" of links instead of one.

To have a return on each page, add this to the above group:
<a href="javascript:history.go(-1)">Return</a>

There are plenty of other ways...

g Luck

stormclouds
08-26-2002, 09:29 PM
I did what yer suggested since i cant seem to find out how to do submenus! lol
and thanks for the tip on not having to put the full address in that was helpful and the return i also used that! :)
Im going to teach myself how to make backgrounds as well and maybe other thinks like buttons etc and add them also - not sure how to do that yet really - ive seen so many peoples pages with lots of squares of backgrounds on their pages - i guess i will cross that bridge when i come to it! :)
Thanks again!

Stormy