Navigation with style

This is a discussion on "Navigation with style" within the Starting Out section. This forum, and the thread "Navigation with style are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Sep 25th, 2007, 08:26
Junior Member
Join Date: Sep 2007
Location: somerset
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Navigation with style

Hi guys, I have decided that I want a navigation at the top, underneath my title, but i want each section in a 'box' if you understand me. If possible I also want a drop down menu on each section. Thanks Frankiiei x
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Sep 25th, 2007, 10:05
Reputable Member
Join Date: Apr 2007
Location: Scotland
Age: 17
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

What exactly is your question?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Sep 25th, 2007, 10:18
Junior Member
Join Date: Sep 2007
Location: somerset
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

I want the navigation to be across the top of my webpage but each topic e.g 'houses' or whatever to be in like a box, and when you put the cursor across it, you get a drop down menue?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Sep 25th, 2007, 11:01
Junior Member
Join Date: Sep 2007
Location: UK
Age: 21
Posts: 31
Thanks: 4
Thanked 0 Times in 0 Posts
Re: Navigation with style

You may need to use a javascript for the drop down menu effect, try searching google for drop down menu javascripts, they will come with tutorials on most sites so are easy enough to use.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Sep 25th, 2007, 11:16
Junior Member
Join Date: Sep 2007
Location: somerset
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

what if i just went for a navitagtion at the top, instead of having just the 'links' i want the text inside 'boxes'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Sep 25th, 2007, 11:21
Reputable Member
Join Date: Apr 2007
Location: Scotland
Age: 17
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

You can do that with CSS.

take a look at this site: http://www.cssplay.co.uk/menus/

It shows a lot of styles you can apply to menus.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Sep 26th, 2007, 03:02
New Member
Join Date: Sep 2007
Location: Sydney, Australia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

The standards compliant way of doing this would be to use a suckerfish -

>> Make a Suckerfish

This is a very simple method. It allocates a css class to a list which is hidden and swaps it to a css class which displays on rollover as a javascript event, however for accessibility reasons dropdown menus can be problematic
_________________
Web Design Sydney, Demonz Media
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Sep 26th, 2007, 12:09
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

There is no need to use Javascript for a drop down menu. Suckerfish is an easy example but not the best.

Use the link that Blake provided. There are so many ALL CSS drop down menus there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Sep 26th, 2007, 16:02
Junior Member
Join Date: Sep 2007
Location: somerset
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

Ok i have gone off the idea of the drop down menu. I just want a menu that has boxes aroud the text, and you click on the box not the text. Would i find that in the same link, I do not know what it is called.
Thanks you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Sep 26th, 2007, 16:37
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

Yes

it's basically just making sure you have the display: block; property with a width and height added to the a { }

Something like this

HTML: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-CA" xml:lang="EN-CA">

<head>
    <title>Some title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    <style type="text/css">
    #navigation{
        padding-top: 10px;
        margin-bottom: 20px;
    }

    #navigation ul {
        list-style: none;
        display: inline;
    }

    #navigation ul li {
        float: left;
        position: relative;
        margin-right: 5px;
    }
    
    #navigation ul li a {
        text-decoration: none;
        display: block;
        font-size: 17px;
        letter-spacing: 1px;
        font-weight: bold;
        color: #fff;
        padding: 0 20px;
        background-color: #060;
    }

    #navigation ul li a:hover {
        background-color: #900;
        
    }
    </style>    
</head>

<body>

<div id="navigation">
    <ul>
        <li><a href="/">menu</a></li>
        <li><a href="/">menu</a></li>
        <li><a href="/">menu</a></li>
        <li><a href="/">menu</a></li>
        <li><a href="/">menu</a></li>
    </ul>
</div>

</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Sep 27th, 2007, 05:11
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: Navigation with style

This type of question can get hundreds of answer.
Try google them!

just a minute....
.....................

ahh, there you are, I found you!

CSS Drop Down Menu Tutorial Code

The Example
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Sep 27th, 2007, 15:01
Junior Member
Join Date: Sep 2007
Location: Atlanta, Georgia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Navigation with style

Just be sure to test it on multiple browsers before you go live with it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
My navigation style TheSealPortalTeam Graphics and 3D 12 Jan 23rd, 2008 17:30
style MetallicWarfare Starting Out 12 Aug 13th, 2007 09:00
How to tell IE7 to use a pariticular style in a single style sheet figo2476 Web Page Design 5 May 25th, 2007 14:23
List style / rollover image navigation disappears in IE on the Mac eskymo Web Page Design 5 Mar 1st, 2006 00:43
Just for style? timmytots Web Page Design 4 Nov 17th, 2005 21:01


All times are GMT. The time now is 02:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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