Navbar

I want to create a standard horizontal navigation bar. No drop downs - just six nav links. I am using graphics for my text and I have up, over and down states.
Is the spry menu a good choice for this? (when using graphics for text)
I gave Fireworks a try and wasn't successful - maybe because I created the graphics in Photoshop - plus I'm not very familiar with Fireworks.
I don't think DW CS5 has a navbar creator anymore.
What is currently the best way to do this?

How about doing something simple like this:
First your code:
 <ul id="navigation">
    <li><a href="#">Home</a></li>
    <li><a href="#">About</a></li>
    <li><a href="#">Services</a></li>
    <li><a href="#">Staff</a></li>
    <li><a href="#">Portfolio</a></li>
    <li><a href="#">Contact</a></li>
</ul>
Then your CSS as follows:
 ul#navigation {
                margin-left: 0;
                padding-left: 0;
                list-style-type: none;
                background: #036;
                float: left;
                width: 100%;
ul#navigation li {
                display: inline;
ul#navigation a {
                display: block;
                float: left;
                padding: .2em 1em;
                text-decoration: none;
                color: #fff;
                background: #036;
                border-right: 1px #fff solid;
ul#navigation a:hover {
                color: #000;
                background: #69c;
this should give you a start.  I am of course assuming you know basic HTML/CSS but the above code is complete and it should work straight out of the box!!!!
Good luck.

Similar Messages

  • How do i get my navbar to stay on one line when the browser window is minimized?

    I am new to coding and have just created my first website in html and css.  I know that the coding is pretty dire and that I have a lot to learn and hope that someone can guide me in how to solve this problem.  When the browser window is minimized, the navbar breaks down into 2 or 3 lines but I want the navbar to fit to the window whatever the size of the client machine.
    I think I need to add a media query but i'm not sure if i do and if so what code to use and where to put it?
    I am worried that the page will only be viewable properly on a desktop and i really want to learn how to make a fluid layout which can be viewed on 320px, 768px and 1200px.
    Any guidance would be greatly appreciated.
    Here is my code:
    HTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>The Engineer's Corset</title>
    <link href="styles/style.css" rel="stylesheet" type="text/css" media="screen">
    <style type="text/css">
    body {
        background-color: #000;
    </style>
    </head>
    <body>
    <div id="container">
    <div id="navbar">
        <ul id="nav">
        <li><span class="current-menu-item">Home</span></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="workshops.html">Workshops</a></li>
        <li><a href="news.html">News</a></li>
        <li><a href="gallery.html">Gallery</a></li>
        <li><a href="contact.html">Contact Us</a></li>
        </ul>
    </div>
    <div id="header">
      <img src="images/final/headerbeauty3.png" width="1100" height="341" alt="The Engineer's Corset">
    </div>
    <div id="links">
    <ul id="link">
    <li><a href="https://www.facebook.com/Bristolengineer" target="_blank"><img src="images/final/fb3.png" width="200" height="45" alt="Follow Us on Facebook"></li>
    <li><a href="https://twitter.com/Engineerscorset" target="_blank"><img src="images/final/twitter2.jpg" width="200" height="45" alt="Follow us on Twitter"></a></li>
    </ul>
    </div>
    <div class="chantry">
    <img src="images/final/CD Logo fin.png" width="240" height="200" alt="Chantry Dance Company">
    </div>
    <div class="about">
      <p> The Engineer's Corset is a new play written by Janet Goddard for performance by the community of Bristol in 2015. <br>  ~ <br>
    The play is based on the extraordinary real-life events of 1843 surrounding Isambard Kingdom Brunel's near-death experience after swallowing a coin.  We travel through time to explore the adventure and horror of Victorian industrialisation. <br> ~ <br> Using a community theatre group The Engineer’s Corset tells a familiar tale of Brunel’s near death experience when he swallows a gold half sovereign. His wife Mary fights to maintain her composure but is ripped apart by the waiting game. Her servants and his workforce, using dance and sound, broaden her horizons. Just like Mary the audience too will see life in the 1840s through a different lens.</p>
    </div>
    <div class="workshops">
    <img src="images/final/bridgebridge.jpg" width="1100" height="713" alt="clifton suspension bridge">
    <span><a href="workshops.html">We will be running a series of workshops prior to production and hope you will join us.  For further information, click here.</a></span>
    </div>
    <div id="sponsorspace"></div>
    <div id="footer"> <p> &copy; Heartprints Web Design 2014 </p> </div>
    </div>
    </body>
    </html>
    CSS
    @charset "utf-8";
    /* CSS Document */
    body {
        font-family:Arial, Helvetica, sans-serif;
        font-size:125%;
    @media screen {
        #navbar:
    #navbar li {
        font: 25px Arial;
        display: inline;
        list-style-type: none;
        background: #09F;
        color: #000;
        border-radius: 20px;
        padding: 15px 25px;
    .current-menu-item {
        color: #0FF;
    #navbar a {
        padding: 15px 25px;
        background-color: #6cf;
        color: #000;
        text-decoration: none;
        border-radius: 20px;
    #navbar a:hover {
        background-color:#0FF;
        color: #000;
        padding: 15px 25px;
    #header {
        width: 1100px;
        height: 340px;
        margin-left: 50px;
        margin-top: 0px;
        margin-bottom: 0px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
    #links li {
        display: inline;
        width: 700px;
        margin-left: 300px;
    .chantry {
        margin-left: 40px;
    .about {
        position: relative;
        width: 860px;
        text-align:center;
        background-color: #CCC;
        color: #000;
        border-style: ridge;
        border-width: 3px;
        border-color:#09F;
        border-radius: 15px;
        float: right;
        margin-top: -200px;
        margin-right: 90px;
    .workshops{
        position:relative;
        width: 1100px;
        height: 713px;
        font-size:24px;
        margin-left: 50px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
        margin-top: 130px;
    .workshops span {
        position: absolute;
        background: #6CF;
        color: #000;
        left: 30px;
        top: 30px;
        right: 800px;
        padding: 15px;
        font: 1em georgia, serif;
        font-style:italic;
        text-align:center;
        border: 5px solid #09F;
        border-radius: 20px;
        margin-top: 35px;
    .workshops span a {
        color: #000;
    #link li {
        border-style: solid;
        border-color: #6CF;
        padding: 30px 10px 5px 10px;
    .info {
        text-align:center;
        width: 1100px;
        margin-top: 50px;
        margin-bottom: 50px;
    .CDC {
        float: left;
        margin-right: 50px;
        margin-left: 45px;
    .workshopinfo {
        height: 250px;
        text-align:center;
        margin-top: 50px;
    .photos {
        Height: 500px;
        text-align:center;
        margin-top: 50px;
    #footer {
        text-align:center;
        margin-top: 700px;
        color:#0CF;
    .brunel {
        margin-top: 50px;
        margin-left: 400px;
    #workshops2{
        width: 1000px;
        border-style: outset;
        border-width: 5px;
        padding: 15px;
        border-color:#09F;
        background-color: #6CF;
        margin-left: 100px;
        text-align:center;
    #workshops2 a {
        color: #000;
    #sponsorspace {
        height:  300px;
        background-color: #6CF;
        border-style: outset;
        border-color: #09f;
        margin-top: 15px;

    Give #navbar a width that is wide enough to hold all of the buttons within it.
    #navbar {
         width:####px;
    Replace #### with a pixel number large enough to hold the nav buttons.

  • Editing exported navbar

    Hi,
    I've created a .png nav bar, with pop-down menus, which I
    want to use across my website. I've exported it to an html page in
    dreamweaver, and it all works fine. However, I'd also like to be
    able to edit the original .png in a way that changes it for every
    page it's on. Changing the colour of the buttons etc in fireworks
    automatically updates in dreamweaver, but I can't seem to change
    the pop-down menus or behaviour of the buttons without having to
    delete the imported html in dreamweaver, and reapplying it to the
    page.
    Can anybody advise a better way? The idea is not to have to
    fiddle with every page on the site every time I want to make a
    navbar edit!
    Thanks :)

    harmonyangeldust wrote:
    > Can anybody advise a better way? The idea is not to have
    to fiddle with every
    > page on the site every time I want to make a navbar
    edit!
    The best way to accomplish it is to wait until you are
    finished with the
    pages, and sure you don't need to make any changes, before
    exporting and
    adding the navbar.
    Linda Rathgeber
    [email protected]
    Adobe Community Expert-Fireworks
    http://www.adobe.com/communities/experts/

  • Help creating an animated gif for a navbar!!

    Hey guys, I am very new to fireworks and dreamweave and am having a problem that is making my head spin! I have to create a simple animated .gif for a navigation bar (which will be made in dreamweaver). The navigation bar should function similar to this: http://www.eden.rutgers.edu/~baronson/ITI320/Exercise2/functionality.html. Essentially, all that is happening is I create this animated image and in dreamweaver, when I create the AP NavBar, I set the mouseover to that image. My problem is that in comparison to this website's mouseover image  ( http://www.eden.rutgers.edu/~baronson/ITI320/Exercise2/images/navi/audience_OVER.gif ) my animated gif has multiple layers and states, where as his only has one layer. I can't seem to figure out how to include both the text, and the gif image, and incorporate them under the same layer.
    A follow up question after having found how to incorporate both into the same state, would I have to lasso out each piece of my animated gif for the individual state I want to have it applied to?
    Any help/pointer to where the information can be found would be greatly appreciated. I've read through the manuals and watched many of Babbage's videos but haven't been able to figure this out. Thanks!

    Your gif doesn't need to have multiple layers, but it does need to have multiple states. To save yourself a lot of confusion, create the animated gifs first, and then export them. Create your navbar in the usual way, with simple rolloveres or swap images. Export the navbar.Rename the animated gifs with the names of the over state of the navbar images, and then delete (or mone to another folder) the over state images of the navbar. Move the renamed gif animations into the image folder of the navbar. Preview in browser. The animated gifs should have replaced the original over state of the buttons.

  • Creating a custom view - define NavBar ID

    Hi Guys,
    Well im new to all this but like ive got some preliminary knowledge. The problem is i started off with the cookbook but somehow got blocked. I wanted to create my own views.
    As far as ViewSet and ViewAreas and Views are concerned i got through. But here is the problem How am i suppose to link them.
    I mean where? and what sort of changes are required.
    Coz what ive been through till now was not much of a help. The problem is that when i followed the examples i was supposed to get automatically generated in and outbound plugs. So i dint get any.
    In navigation bar which way should i follow. I mean in the Navigation Bar entry i tried to hang up one. But it was obviously wrong one so i had runtime errors. Where and how should i define my NavBar ID so it can be called.
    My question is getting uglier. So id stop. I hope ud understand.
    Regards,
    Ragwan

    Thanks alot Anand,
    But where am i supposed to define this TargetID in SPRO. Coz right now im through with the link but its not shown in the browser. As soon as click on this defined link of mine i come up with a browser window with std. SAP Header and footer but the rest is gone. I think the way you have pointed out its because of this missing hook.
    Thats why i wanted to know the exact location where in SPRO am i supposed to hook it up. I know it sounds a bit preliterate, but i'd appreciate your help.
    Regards,

  • Dreamweaver MX - troubles with a pop-up menu/navbar combo

    Hi all,
    I'm attempting to create a 4-button navigation bar, where
    three of the buttons produce a popup menu with links to other pages
    within the site onMouseOver. The navbar itself works great, but I
    put all of that in a template, which of course is automatically
    placed in a template folder. I have 6 or 7 other pages that all use
    that template, and when I preview the template, the drop-down box
    links work fine and I can get to an actual page from the template.
    However once I'm at an actual page, every time I try to use the
    navbar dropdown links again to get to another page, the browser
    can't find the page! I tried moving the template to the same folder
    as the pages, which solves the actual problem, but then prevents
    the pages that are using the template from being automatically
    updated, and therefore creates a new problem.
    Should I just not use a template at all, and copy/paste the
    template code into each page? Or is there another way to fix this
    issue?
    Thanks!

    I'm presuming you are using the DW pop up menus... may I
    suggest that you
    read this article first before going any further:
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    There are better ways to create your menu, without all the
    hassles of these
    DW generic ones. Another article:
    http://apptools.com/rants/menus.php
    Anyway, you should not move the template file out of the
    Template folder-
    because as you say, it won't progate any changes to the child
    pages.
    The problem with the popups and the use of templates is in
    the links. The
    dwt file cannot read the actual links that are written in the
    javascript
    file the popups generate. There is a technote at the Adobe
    site, but I
    can't find it right now (seems to be a linking problem on the
    site) do a
    search for: "Using site root-relative paths with Fireworks
    Pop-up Menus in
    Dreamweaver templates", it may explain the issue further for
    you
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    ~ Forum Posting Guidelines ~
    http://www.adobe.com/support/forums/guidelines.html
    "dudewithasock" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi all,
    >
    > I'm attempting to create a 4-button navigation bar,
    where three of the
    > buttons
    > produce a popup menu with links to other pages within
    the site
    > onMouseOver. The
    > navbar itself works great, but I put all of that in a
    template, which of
    > course
    > is automatically placed in a template folder. I have 6
    or 7 other pages
    > that
    > all use that template, and when I preview the template,
    the drop-down box
    > links
    > work fine and I can get to an actual page from the
    template. However once
    > I'm
    > at an actual page, every time I try to use the navbar
    dropdown links again
    > to
    > get to another page, the browser can't find the page! I
    tried moving the
    > template to the same folder as the pages, which solves
    the actual problem,
    > but
    > then prevents the pages that are using the template from
    being
    > automatically
    > updated, and therefore creates a new problem.
    >
    > Should I just not use a template at all, and copy/paste
    the template code
    > into
    > each page? Or is there another way to fix this issue?
    >
    > Thanks!
    >

  • Navbar alignment issue in IE. OK in Chrome. [was:Please help guys!]

    I just spent days and nights trying to learn as much as possible about web design and i think i was doing pretty good until i got to this problem. I dont know what to do, the navbar sits well in google chrome, but in internet explorer it doesnt. And i dont know what to do anymore!! please help guys!
    Heres how it shows up in google chrome:
    And heres how it sits in internet explorer:
    I have tried everything guys i dont know how to fix it!!
    Heres my html:
    <!doctype html>
    <html>
    <head>
    <meta charset=&quot;utf-8&quot;>
    <title>General Concrete Solutions</title>
    <link href=&quot;styles/gcs_cs6.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;>
    <script type=&quot;text/javascript&quot;>
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf(&quot;#&quot;)!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf(&quot;?&quot;))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    <body onLoad=&quot;MM_preloadImages('images1/images/navbar/images/images/navover_01.png','image s1/images/navbar/images/images/navover_02.png','images1/images/navbar/images/images/navove r_03.png','images1/images/navbar/images/images/navover_04.png','images1/images/navbar/imag es/images/navover_05.png')&quot;>
    <div id=&quot;container&quot;>
      <div id=&quot;header&quot;>  
        <div id=&quot;logo&quot;><img src=&quot;images/logo4.png&quot; width=&quot;186&quot; height=&quot;69&quot; alt=&quot;logo&quot;></div>
        <div id=&quot;navbar&quot;><a href=&quot;#&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Home','','images1/images/navbar/images/images/navover_01. png',1)&quot;><img src=&quot;images1/images/navbar/images/navbar_01.png&quot; width=&quot;190&quot; height=&quot;50&quot; id=&quot;Home&quot;></a><a href=&quot;#&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Services','','images1/images/navbar/images/images/navover _02.png',1)&quot;><img src=&quot;images1/images/navbar/images/navbar_02.png&quot; width=&quot;190&quot; height=&quot;50&quot; id=&quot;Services&quot;></a><a href=&quot;#&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Portfolio','','images1/images/navbar/images/images/navove r_03.png',1)&quot;><img src=&quot;images1/images/navbar/images/navbar_03.png&quot; width=&quot;190&quot; height=&quot;50&quot; id=&quot;Portfolio&quot;></a><a href=&quot;#&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Company Info','','images1/images/navbar/images/images/navover_04.png',1)&quot;><img src=&quot;images1/images/navbar/images/navbar_04.png&quot; width=&quot;190&quot; height=&quot;50&quot; id=&quot;Company Info&quot;></a><a href=&quot;#&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Contact Us','','images1/images/navbar/images/images/navover_05.png',1)&quot;><img src=&quot;images1/images/navbar/images/navbar_05.png&quot; width=&quot;188&quot; height=&quot;50&quot; id=&quot;Contact Us&quot;></a></div>
      </div>
      <div id=&quot;main_image&quot;></div>
      <div id=&quot;left_column&quot;>Content for  id &quot;left_column&quot; Goes Here</div>
      <div id=&quot;center_column&quot;>Content for  id &quot;center_column&quot; Goes Here</div>
      <div id=&quot;right_column&quot;>Content for  id &quot;right_column&quot; Goes Here</div>
    </div>
    </body>
    </html>
    And heres my CSS:
    @charset &quot;utf-8&quot;;
    /* CSS Document */
    #container {
    width: 968px;
    background: #FFF;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    overflow:hidden;
    #main_image {
    background-image: url(../images/concrete-driveway.jpg);
    background-repeat: no-repeat;
    height: 376px;
    width: 968px;
    #left_column, #center_column, #right_column {
    width: 316px;
    float:left;
    #center_column, #right_column {
    margin-left: 10px;
    #header {
    color: #FFF;
    background-color: #000;
    height: 100px;
    body {
    font-family: &quot;Trebuchet MS&quot;, Arial, Helvetica, sans-serif;
    color: #3b3b3b;
    background-color: #FFF;
    margin: 0px;
    #logo {
    width: 170px;
    height: 70px;
    float: left;
    background-color: #000;
    position: static;
    padding-top: 15px;
    padding-right: 19px;
    padding-bottom: 0px;
    padding-left: 0px;
    left: auto;
    right: 400px;
    margin-left: 390px;
    #navbar {
    height: -36px;
    width: 950px;
    margin-right: auto;
    margin-left: 10px;
    position: absolute;
    left: 59px;
    top: 362px;

    For best possible help with layout issues, we need to see a link to the live page.  Please upload your work so far to a TEST folder on your remote server and post the URL here.
    In the meantime, remove borders from linked images with the following CSS rule.
    a img {border:none}
    Nancy O.

  • Now I'm stuck again - flash overlay navbar works in IE but not Firefox

    >_<  I spoke too soon on my "success".  My flash navbar and flash slideshow is showing up in IE but it's not loading in Firefox.  Can someone please check on their firefox to see if it's loading?  I've updated all flash plugins and firefox versions but it's not loading.
    Here's the link: http://www.butterflyphotography.ca/Portfolio/Glamorize/glamorize.html
    I've already tried changing the various wmode settings and it doesn't do anything in Firefox.  With wmode = transparent for the navbar, and wmode = opaque for the slideshow, I do get what I want in IE, but not in Firefox.  However, I have another page that doesn't have the slideshow (loader.swf) file and the navbar loads perfectly in Firefox.
    Is it the object tags for embedding the files correct?  I thought it should be correct since I got it from the google support site.  >_<  I would appreciate any help you can give me.
    Thanks again.  And thank you for your patience.

    You have an invalid path reference. in one version of the object tag it reads ../../navbar.swf, in the other this is truncated to ../navbar.swf. Hence the browser can simply not find the file (IE and FF each look at differnt parts of the code).
    Mylenium

  • How to stop the standard navigation to view from NavBar?

    Hi Folks,
    My solution is in CRM IC 5.0. My application is a Z one. I have a custom button in the "Followupdetails" view
    Initially the "Identify Customer(BupaDetail)" view loads up as soon as we log onto IC. Navigation to any other view selected from the nav bar should only be possible if my custom button is clicked. Otherwise the navigation should not happen and it should continue to remain in the same window and throw an error message.I capture the value of whether this custom button is clicked in the attribute GV_CLEAN_WASTE.
    I wrote the below code in "DO_CLEANUP_CONTEXT" of the BupaDetail view.
    IF ZL_CRM_IC_BREADCRUMBSVIEW_IMPL=>GV_CLEAN_WASTE <> 'C'.
       IF me->view_manager IS BOUND.
          lr_message = view_manager->get_message_service( ).
          lr_message->add_message(
              iv_msg_type       = if_genil_message_container=>mt_error
              iv_msg_id         = 'ZCRM_WW'
              iv_msg_number     = '012' ).
      endif.
    ENDIF.
    The above code throws error message but the navigation to the view selected in NavBar still happens.I want to block that.
    How can i acheive it?
    Thanks
    Abishek

    Hi ,
    You need to write the below logic in the event handler of the custom button.
    IF ZL_CRM_IC_BREADCRUMBSVIEW_IMPL=>GV_CLEAN_WASTE 'C'.
    IF me->view_manager IS BOUND.
    lr_message = view_manager->get_message_service( ).
    lr_message->add_message(
    iv_msg_type = if_genil_message_container=>mt_error
    iv_msg_id = 'ZCRM_WW'
    iv_msg_number = '012' ).
    endif.
    return.
    ENDIF.

  • Error with Category using Navbar as a Portlet

    I have published a NavBar as a portlet, and placed the portlet on a page. The NavBar includes standard elements Category and Perspective. When I hit the GO for either Category or Perspective, I get this error:
    Error: No page has been created for this Content Area (WWS-32141)
    Oracle Portal Version: 3.0.6.6.5
    Thanks!
    null

    Change the settings from...
    Menu --> Tools --> Settings --> Connection --> USB --> PC Suite.
    Once you change this, PC Suite will recognise the phone and then you can use the One Touch Access.
    Hope this helps!

  • How to create multiple pages within one navbar entry

    I'm trying to revamp my site to include specific information and files for the classes I teach at the university. What I'd like to do is to have one entry on the navbar entitled "University Classes" or some such, and have it lead to a page where I can have a list of classes as links, each leading to its own page. Is it possible to do this, or do I need to create an entire new site for this purpose?

    To make the link to the second site be incorporated in to the navbar of the main site add a totally blank page in the main site and name it to indicate the classes site. Then put the following code in an HTML snippet on that blank page:
    <script type="text/javascript">
    parent.window.location = "URL TO PAGE ON SITE YOU WANT TO REDIRET TO"; </script>
    Thanks to Cyclosaurus for this code
    When that page is clicked on the visitor will be immediately redirected to the classes site. You can put a similar blank page on the classes site redirecting them back to the main site.
    OT

  • Navbar problems in different browsers

    Please help! I designed a navbar using a preformatted Dreamweaver template, but found that it displays differently in different browsers. The file can be found at
    http://www.npc.org/NPC909/links.html
    It displays fine in Opera and Safari (both Mac), but in Netscape and Firefox (both Mac) the navbar is bumped onto a second line. In IE (Mac) the navbar is on one line, but the dropdown submenus do not display.
    On the PC side, in IE 8 the navbar is vertically stacked while the two submenus display on the far left of the navbar, instead of directly below their parent links. In IE 7 the submenus don't line up with their parent links, and there is a thin black line on the right of the navbar. Again, Safari displays just fine.
    Our target audience is most likely to be a PC user with IE as their browser, but any suggestions you can provide to make the navbar and submenus display consistently across all browsers would be greatly appreciated.
    Thanks,
    Arthur

    Hi, Arthur,
    I don't notice that you put an id on the li for "orderpub" like this:
    <ul class="MenuBarHorizontal" id="MenuBar1">
           <li><a class="MenuBarHorizontal" href="index.html" style="text-decoration: none;">Home</a></li>
           <li><a href="background.html" style="text-decoration: none;">About NPC</a></li>
           <li><a href="#" class="MenuBarHorizontal MenuBarItemSubmenu">Members</a>
             <ul>
               <li><a href="membynam.html" style="text-decoration: none;">By Name</a></li>
               <li><a href="membycom.html" style="text-decoration: none;">By Organization</a></li>
               <li><a href="membycat.html" style="text-decoration: none;">By Category</a></li>
             </ul>
           </li>
           <li><a class="MenuBarItemSubmenu" href="reportsbydoc.html" style="text-decoration: none;">Reports</a>
             <ul>
               <li><a href="reportsbyyear.html" style="text-decoration: none;">Reports By Year</a></li>
               <li><a href="emergency.html" style="text-decoration: none;">Emergency<br/>
               Planning & Preparation</a></li>
               <li><a href="energyoutlook.html" style="text-decoration: none;">Energy Outlook</a></li>
               <li><a href="environissues.html" style="text-decoration: none;">Environmental Issues</a></li>
               <li><a href="natgas.html" style="text-decoration: none;">Natural Gas</a></li>
               <li><a href="refining.html" style="text-decoration: none;">Refining</a></li>
               <li><a href="research.html" style="text-decoration: none;">Research</a></li>
    <li><a href="resourcedev.html" style="text-decoration: none;">Resource Development</a></li>
    <li><a href="storage.html" style="text-decoration: none;">Storage</a></li>
               <li><a href="stratpetrolres.html" style="text-decoration: none;">Strategic<br/>
                 Petroleum<br/>
               Reserve</a></li>
    <li><a href="transport.html" style="text-decoration: none;">Transportation</a></li>
             </ul>
           </li>
           <li id="orderpub"><a style="text-decoration: none;" href="orderpub.html">Order Publications</a></li>
           <li><a href="links.html" style="text-decoration: none;">Links</a></li>
           <li class="MenuBarHorizontal"><a href="contactus.html" style="text-decoration: none;">Contact Us</a></li>
         </ul>
    In your CSS file, all you need to do is:
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: center;
        cursor: default;
        float: left;
        text-indent: 0px;
        width: 9.25em; /* make this slightly narrower */
    li#orderpub {
        width: 9.54em; /* make this as wide as it needs to be, adjusting the previous rule as needed also */
    You don't actually need all that other coding for
    #home {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        cursor: default;
        width: 10%;
    #aboutnpc {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        cursor: default;
        width: 15%;
    #members {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        cursor: default;
        width: 15%;
    #reports {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        width: 15%;
    #orderpub {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        cursor: default;
        width: 20%;
    #links {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        cursor: default;
        width: 10%;
    #contactus {
        font-size: 100%;
        background: #039;
        text-align: center;
        text-indent: 0px;
        margin: 0px;
        padding: 0px;
        float: left;
        list-style: none;
        position: relative;
        cursor: default;
        width: 15%;
    which I would restyle as the following, in case you did want them:
    li#home, li#aboutnpc, li#members,li#reports, li#orderpub, li#links, li#contactus {
           font-size: 100%;
         background: #039;
         text-align: center;
         text-indent: 0px;
         margin: 0px;
         padding: 0px;
         float: left;
         list-style: none;
         position: relative;
         cursor: default;
    li#home {width: 10%;}
    li#aboutnpc {width: 15%;}
    li#members {width: 15%;}
    li#reports {width: 15%;}
    li#orderpub {width: 20%;}
    li#links {width: 10%;}
    li#contactus {width: 15%;}
    Applying those ids to the html, we get:
    <ul class="MenuBarHorizontal" id="MenuBar1">
           <li id="home"><a class="MenuBarHorizontal" href="index.html" style="text-decoration: none;">Home</a></li>
           <li id="aboutnpc"><a href="background.html" style="text-decoration: none;">About NPC</a></li>
           <li id="members"><a href="#" class="MenuBarHorizontal MenuBarItemSubmenu">Members</a>
             <ul>
               <li><a href="membynam.html" style="text-decoration: none;">By Name</a></li>
               <li><a href="membycom.html" style="text-decoration: none;">By Organization</a></li>
               <li><a href="membycat.html" style="text-decoration: none;">By Category</a></li>
             </ul>
           </li>
           <li id=reports"><a class="MenuBarItemSubmenu" href="reportsbydoc.html" style="text-decoration: none;">Reports</a>
             <ul>
               <li><a href="reportsbyyear.html" style="text-decoration: none;">Reports By Year</a></li>
               <li><a href="emergency.html" style="text-decoration: none;">Emergency<br/>
               Planning & Preparation</a></li>
               <li><a href="energyoutlook.html" style="text-decoration: none;">Energy Outlook</a></li>
               <li><a href="environissues.html" style="text-decoration: none;">Environmental Issues</a></li>
               <li><a href="natgas.html" style="text-decoration: none;">Natural Gas</a></li>
               <li><a href="refining.html" style="text-decoration: none;">Refining</a></li>
               <li><a href="research.html" style="text-decoration: none;">Research</a></li>
    <li><a href="resourcedev.html" style="text-decoration: none;">Resource Development</a></li>
    <li><a href="storage.html" style="text-decoration: none;">Storage</a></li>
               <li><a href="stratpetrolres.html" style="text-decoration: none;">Strategic<br/>
                 Petroleum<br/>
               Reserve</a></li>
    <li><a href="transport.html" style="text-decoration: none;">Transportation</a></li>
             </ul>
           </li>
           <li id="orderpub"><a href="orderpub.html" style="text-decoration: none;" class="">Order Publications</a></li>
           <li id="links"><a href="links.html" style="text-decoration: none;">Links</a></li>
           <li id="contactus" class="MenuBarHorizontal"><a href="contactus.html" style="text-decoration: none;">Contact Us</a></li>
         </ul>
    Note that each main head li has an id now.
    Beth

  • How can I make a navbar in my template and have it editable so It can have an image in the down state on each page?

    I want to make a navbar in my template to base all my webpages on,
    but when I looked in Dreamweaver CS4 help the comments said navbars were obselete and that I should use swap image behavior.
    There was a tutorial linked about how to make the button stay in down position on each page but there was nothing written about how to do this when each page will be based on the template.
    I read somewhere that if i were to make the navbar in my template and set it as an editable region some of the stuff that would need to be changed to make the buttons in the down position on the pages made from the template would be outside of the editable region.

    Get DIVA GPS.   The Free version may be all you need.
    http://www.divahtml.com/products/divaGPS/current_menu_location.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Deleted pages in iWeb and on hosting site but still appear in navbar?

    I've deleted a couple of pages in a site built in iWeb and also deleted the files and html of those pages where my site is hosted (Earthlink). However, I'm still seeing the names of those pages in the navbar — NOT in iWeb, but when i actually access the site. The pages themselves are not there anymore, but their names remain in the navbar (and click through to an error msg).
    This makes me think I haven't uploaded all the necessary changes. Where does the code for the navbar reside? I reloaded the home file+html (among other pages) but not the index.

    If you are using the iWeb default navigation, try publishing to a local folder and upload the feed.xml with your FTP application.

  • Spry Navbar Dropdown Under swf file image

    I've built an intranet page that works fine in IE but not in
    Netscape and Firefox. The spry horizontal drop down falls under the
    swf file in Netscape and Firefox, making the drop down items
    inaccessible. I've put z-indexes on the navbar, flash component and
    the frame around the flash piece. The navbar only falls under the
    flash component.
    Any suggestions? Thanks.

    It's not a z-index issue.
    All Active content on a page will always rise to the top, so
    to speak,
    including Flash, certain form elements, Java applets, and
    Active X controls.
    This means that each of these will poke through layers. There
    is not a good
    cross-browser/platform reliable way to solve this issue, but
    if you can be
    confident in your visitors using IE 5+ or NN6+, then you can
    use the Flash
    wmode parameter (however, Safari does not support this
    properly!).
    PVII article:
    http://www.projectseven.com/support/answers.asp?id=127
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "sdamico" <[email protected]> wrote in
    message
    news:fqhbdi$7rn$[email protected]..
    > I've built an intranet page that works fine in IE but
    not in Netscape and
    > Firefox. The spry horizontal drop down falls under the
    swf file in
    > Netscape
    > and Firefox, making the drop down items inaccessible.
    I've put z-indexes
    > on
    > the navbar, flash component and the frame around the
    flash piece. The
    > navbar
    > only falls under the flash component.
    >
    > Any suggestions? Thanks.
    >

  • IWeb-generated site OK in Safari and Firefox, but no NavBar in IE

    I created a site in iWeb and it displays fine in Safari and Firefox. However, the entire NavBar section is not displaying in Internet Explorer, despite loose permissions for running code in IE.
    The script section from one of the pages appears below, and any help or suggestions are much appreciated. I need to get this site up, and really need it to be accessible for IE users.
    Thanks.
    <script type="text/javascript"><!--//--><![CDATA[//><!--
    new NavBar('widget0', 'Scripts/Widgets/Navbar', 'Scripts/Widgets/SharedResources', '.', {"current-page-GUID": "79F60B32-4240-4A88-8823-11CC50E1FDF2", "path-to-root": "", "isCollectionPage": "NO", "navbar-css": ".navbar {\n\tfont-family: 'Times', 'Times New Roman', serif;\n\tfont-size: .9em;\n\tcolor: #817B67;\n\tmargin: 0px;\n\tline-height: 25px;\n}\n\n.navbar-bg {\n\ttext-align: left;\n}\n\n.navbar-bg ul {\n\tlist-style: none;\n\tmargin: 0px;\n\tpadding: 0px;\n}\n\n\nli {\n\tlist-style-type: none;\n\tdisplay: inline;\n\tpadding: 0 25px 0 0px;\n}\n\n\nli a {\n\ttext-decoration: none;\n\tpadding: 0px;\n\tcolor: #817B67;\n}\n\nli a:visited {\n\ttext-decoration: none;\n\tpadding: 0px;\n\tcolor: #817B67;\n}\n\nli a:hover\r{\r\n \tcolor: #3F3F3C;\n\ttext-decoration: none;\r}\n\n\nli.current-page a\r{\r\t color: #3F3F3C;\n\ttext-decoration: none;\r}\n"});
    //--><!]]></script>

    Are you using the navigation menu that comes with the page template? If so, it will not display on a PC with Internet Explorer unless javascript is turned on in the preferences. The template nav bars in iWeb use java and if this is not enabled on some computers, then it cannot be seen.
    What you can do so that it will show up in IE, is to create your own text based navigation bar instead - to do this, just open the Inspector and then go to Page - second choice in and click on the boxes which say hide navigation menu and then just create your own by using a text box, shape or whatever. Don't forget to hyperlink to your pages though.

Maybe you are looking for