Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Navigation Bar

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Navigation Bar

    Hey folks.

    need some quick Advice on navigation bars.
    i make web designs in photoshop and put them into dreamweaver then make Divs ect ect..

    my question is, do you make navagation bars in photoshop and then slice them up, and if yes how do you make a navigation bar go into a already made template with a div space ready for it to be put in ?
    if no do you make them in flash ?

    iv tried looking on google and watching videos but not much help.

    Thanks for your help peeps

  2. #2
    Moderator Corrosive's Avatar
    Join Date
    May 2010
    Location
    Bristol, UK
    Posts
    980
    Thanks
    18
    Thanked 27 Times in 20 Posts
    If you are making navigation in HTML the semantic way of doing it is to use an unordered list of links. There are loads of examples at; Listamatic: one list, many options - Using CSS and a simple list to create radically different list options. If you want to use images/rollovers for menus then check out the CSS Sprite Technique; A List Apart: Articles: CSS Sprites: Image Slicing’s Kiss of Death.

    Flash for menus is OK as long as you offer an HTML alternative for non-flash devices such as iPads.

    Hope that helps.

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey Corrosive thanks for your time, I had a look at the list info. and i understand it.

    so how would i take an image of a nav bar i make on photoshop and put it into the list items the way it is on photoshop if that makes sence, ( yes im a rookie :P )

    i made a quick nav image so say i sliced this into parts ... if you can help me understand how i put this into lists for a navigation that would be a great help.



    thanks for your help

    Adam

  4. #4
    Moderator Corrosive's Avatar
    Join Date
    May 2010
    Location
    Bristol, UK
    Posts
    980
    Thanks
    18
    Thanked 27 Times in 20 Posts
    Before I dive into this, how much do you understand about CSS?

  5. #5
    Junior Member
    Join Date
    Apr 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Im Fairly new to CSS as my college tutor dosnt teach it just now.

  6. #6
    Moderator Corrosive's Avatar
    Join Date
    May 2010
    Location
    Bristol, UK
    Posts
    980
    Thanks
    18
    Thanked 27 Times in 20 Posts
    Quote Originally Posted by Smuj56 View Post
    ... my college tutor dosnt teach it just now.
    <rant>Excuse me? Where did they dig him up from? 1996?? That is disgraceful!</rant>

    Anyhoo, you'll probably have to do some background reading as well (oh and maybe change college courses).

    The way I'd tackle that menu is to create an unordered list in HTML;

    Code:
    <ul id=nav>
    <li>Home</li>
    <li>About Me</li>
    <li>Gallery</li>
    <li>Services</li>
    <li>Contact Me</li>
    </ul>
    Then remove the text from your nav bar image so you are left with just the background. Set that image as the background to the nav id with CSS.

    Display the li tags inline so that they line up next to each other (default is display: block;) and then use the link pseudo classes (link, visited, hover, active) to set the link colour text as green and no underline (default is blue and underlined). Then set a rollover colour on hover and active.

    Set some margin and padding on the li tags so they space out nicely and you are done.

    Before doing much more you need to get a really good grasp of how to use CSS and HTML to create a website. If your school won't teach you then get on W3 and do some reading/playing/learning; W3Schools Online Web Tutorials

    Let us know how you progress.

  7. #7
    Senior Member sweetums's Avatar
    Join Date
    Jun 2008
    Location
    Bristol (UK)
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Alternatively CSS-tricks has a really good video introduction that goes through the basics of html & css in about 30mins: css-tricks.com/video-screencasts/58-html-css-the-very-basics/
    Twitter: liamjay66

    Website: liamjaydesigns.com

  8. #8
    djb
    djb is offline
    Senior Member djb's Avatar
    Join Date
    Apr 2010
    Location
    Farnham, Surrey
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Or cheat!

    CSS Menu Generator

  9. #9
    Junior Member
    Join Date
    Apr 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for all your replies.

    will take a look at this video for css just now.
    and will also look into the unordered list method.

    David thanks for your idea haha but i need to understand how to do it, if i ever need a nav bar thats dosnt have to be important i know where to look now ;) cheers haha.

    Adam

  10. #10
    Moderator Corrosive's Avatar
    Join Date
    May 2010
    Location
    Bristol, UK
    Posts
    980
    Thanks
    18
    Thanked 27 Times in 20 Posts
    Quote Originally Posted by Smuj56 View Post
    David thanks for your idea haha but i need to understand how to do it
    Nice one Adam. That's exactly the right attitude to have if you are going to conquer web design.

Page 1 of 2 12 LastLast

Similar Threads

  1. Animating CSS ul navigation with jQuery
    By rosedani in forum Website Coding & Programming Forum:
    Replies: 2
    Last Post: 09-02-2011, 12:58 PM
  2. PHP Navigation problems
    By Royale-Graphics in forum Website Coding & Programming Forum:
    Replies: 2
    Last Post: 10-28-2009, 10:39 AM
  3. Updated website with navigation!
    By designer01 in forum Website Design Critique:
    Replies: 7
    Last Post: 05-12-2009, 08:35 AM
  4. Slimbox navigation keys
    By MarkS in forum Website Coding & Programming Forum:
    Replies: 2
    Last Post: 02-16-2009, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •