www.webdeveloper.com
Results 1 to 8 of 8

Thread: Moving NAvigation Bar

  1. #1
    Join Date
    Mar 2004
    Posts
    69

    Moving NAvigation Bar

    I need the code for situation like this

    I see on the some websites that the
    navigation table or bar on one side of the webpage
    keep moving down or upwards as we move up
    or down.
    Navigation bar keeps itself in the center of the page

    Can u please give me code for that.

    i am using D/W

    With Regards

  2. #2
    Join Date
    Feb 2003
    Location
    Britain
    Posts
    1,335
    Which kind? There are three types of that effect. The first, and best, doesn't work in IE; if you're using IE you won't have seen it. It involves using the CSS attribute position:fixed to fix the menu in one place.
    The other two ways are more feasible, and basically we need to know how it looked. Did it jerk after you, or did it follow smoothly? If it jerked along strangely, then google for javascript fixed navigation or something. If it was smooth, and you're using IE, it must have been frames, in which case you need a frameset document.

  3. #3
    Join Date
    Mar 2004
    Posts
    69
    Please tell me which one to use
    i am preparing my second website only and i am not experienced webmaster.
    I am not using frames for layout of the website and using IE as explorer.
    Regards

  4. #4
    Join Date
    Jan 2004
    Location
    United Kingdom
    Posts
    610
    google dhtml menus i.e javascript floating menu. check out http://javascript.internet.com and see if you can find one there.

    Best Wishes,
    David
    More of a journal than a blog.

    Truly great madness cannot be achieved without significant intelligence.
    GMail | Mezzoblue | 1976 Design | Zeldman | Justwatchthesky | Jon Hicks | Airbag | All In The Head

  5. #5
    Join Date
    Dec 2003
    Location
    A series of tubes known as the "internets"
    Posts
    2,165
    http://javascript.internet.com/navig...able-menu.html

    it appears as though you can set it to be X pixels from the top or left.

    NOTE --- since this menu is javascript, not all of your visitors will be able to use it.
    "Outside of a dog, a book is a man's best friend. Inside a dog, it is too dark to read." - Mark Twain

  6. #6
    Join Date
    Mar 2004
    Posts
    69

    Thanks

    Thank you,
    this is what i was looking for but as u said not all visitors will be able to use it.Can users of IE can use it properly.
    and where i can learn to meke such kind of things
    regards

  7. #7
    Join Date
    Dec 2003
    Location
    A series of tubes known as the "internets"
    Posts
    2,165
    the code works just fine in IE. there are several different sites and resources for learning javascript. w3schools is the top of the top.
    "Outside of a dog, a book is a man's best friend. Inside a dog, it is too dark to read." - Mark Twain

  8. #8
    Join Date
    Mar 2004
    Posts
    69

    Can u please se where its wrong

    hi again
    i tried to use it,
    its top positioning is not working finely.
    i set left 0px top 100 px z index 2
    and the menu appears on the top
    not 100 px down
    what might be wrong in that can u please see it.

    Secondly what is this z index.


    <div id="object1" style="position:absolute; visibility:show; left:0px; top:100px; z-index:2">
    <table width="95" border="0">
    <tr>
    <td height="24"><a href="/index.htm"><img src="/assets/home.jpg" alt="www.mytutoronline.com" width="90" height="25" border="0"></a></td>
    </tr>
    <tr>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles