Spry menu and image viewer

I am using a spry horizontal menu.
Two problems I am trying to fix:
1. The drop down menus shift to the right in IE7 on PC
instead of coming up directly below the parent menu item.
2. The drop down menus overlap an 'image viewer flash
element' area and struggle to stay on top when the slide show is
playing. Is there a way to make them drop down over the flash area
or will that always conflict?
I am very new to Dreamweaver--I stalled on switching over
from GoLive which I have used since 1997.
Thanks for any help. I feel like a newbie all over again!
Kate
site:
http://www.mtelliott.com/test

#comp_image {
background-image: url(../images/signs.jpg);
background-repeat: no-repeat;
position: relative;
height: 210px;
width: 745px;
Try making that rule like this -
#comp_image {
background-image: url(../images/signs.jpg);
background-repeat: no-repeat;
position: relative;
height: 210px;
width: 745px;
overflow:hidden;
Does that help?  I believe what's causing the gap is the top margin on the <h1> tag which will 'escape' the container.  By making the container a new block formatting context with the overflow style, you can prevent the margin from escaping.  Alternatively, just add this rule -
#comp_image h1 {
margin-top:0;

Similar Messages

  • Spry menu and Explorer

    I'm a beginner with DW and CSS. In Dreamweaver cs3 if I make
    a new page and put the spry vertical menu on it, then preview in IE
    (5.2 for the Mac), it doesn't work. It does work in every other
    browser. What do I have to do in order to get this to work in
    Explorer?
    I've made a 35 page site with a spry menu and I do hope there
    is a way to fix this.
    thanks!
    Ed A

    1: Don't use Spry. It has been discontinued by Adobe.
    2: There are tools out there that will excellently do what you are looking to do as a Dreamweaver Plugin. This includes having text over a repeating image background, like the one you have there.
    3: There is a pure CSS method that will allow you to learn how to build exactly what you want.
    One from Line 25.
    One from CSSWizardry.
    One that includes a generator.
    One that includes gradients.
    A really good tutorial from Rob Glazebrook.
    One that uses just 12 lines of JavaScript.
    So, don't use Spry. Use the ones above. If you don't want to have to learn anything, simply download the one from Project Seven, install the plugin, craft the menu and, Bob's your uncle. Easy to maintain and add onto as well. Worth the money spent.
    The rest of the ones do require some knowledge of HTML and CSS and, if you are going to continue to develop for the web, I recommend you learn those things.

  • Header, Spry Menu and Body not properly aligned

    Please take a look at my page http://www.seanmccuedesign.com/shemwebsitenew/index.html and tell me why the Header, Horizontal Spry Menu and Body are wonky and not aligned properly.
    Thanks very much,
    Sean

    The header is a bit to the left, the spry menu hangs too far to the right, and the body is too far to the right as well. I simply need them all centered...

  • How to make Spry menu and submenu backgrounds different

    Hi all. I have a horizontal spry menu bar, and i'm using a gradient image for the background of the main menu, but I want the submenu to just be a solid color. I figure i should just be able to use css for this solid BG, but I can create an image no problem if need be. I just think it looks unprofessional to have multiple segments of a horizontal gradient stacked vertically. I know this is possible, the second to last example on this link demonstrates but doesn't explain:
    http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html
    I would greatly appreciate any available help on this subject!  Thanks again!

    Thanks for asking, no that is not my complete css file. Those are only *additional* lines to place adjacent to existing styles in your "SpryMenuBarHorizontal.css", but in each case as the next style, in the location I have indicated. Here, I'll put my complete file here for you:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
         margin: 0;
         padding: 0;
         list-style-type: none;
         font-size: 100%;
         cursor: default;
         width: auto;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
         z-index: 1000;
    /* 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: left;
         cursor: pointer;
         width: 8em;
         float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
         margin: 0;
         padding: 0;
         list-style-type: none;
         font-size: 100%;
         z-index: 1020;
         cursor: default;
         width: 8.2em;
         position: absolute;
         left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
         left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
         width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
         position: absolute;
         margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
         left: auto;
         top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
         border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
         display: block;
         cursor: pointer;
         background-color: #EEE;
         padding: 0.5em 0.75em;
         color: #333;
         text-decoration: none;
    ul.MenuBarHorizontal ul a {
         background-color: yellow;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
         background-color: #33C;
         color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
         background-color: #33C;
         color: #FFF;
    ul.MenuBarHorizontal ul a.MenuBarItemHover, ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal ul a.MenuBarSubmenuVisible {
         background-color: green;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
         background-image: url(SpryMenuBarDown.gif);
         background-repeat: no-repeat;
         background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
         background-image: url(SpryMenuBarRight.gif);
         background-repeat: no-repeat;
         background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
         background-image: url(SpryMenuBarDownHover.gif);
         background-repeat: no-repeat;
         background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
         background-image: url(SpryMenuBarRightHover.gif);
         background-repeat: no-repeat;
         background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
         position: absolute;
         z-index: 1010;
         filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
         ul.MenuBarHorizontal li.MenuBarItemIE
              display: inline;
              f\loat: left;
              background: #FFF;
    .fleft {
         clear: none;
         float: left;
    The idea with putting the new styles *after* the original styles is that they are logically similar to but 'sub' styles to existing styles. In fact, you could probably put them way at the bottom, but if you wanted to edit them you might not find them again easily. I was trying to keep similar style rules together.
    Z

  • Spry Menu and Web Design Problem

    Hello Folks,
        I've been working feverishly on a layout for my father's new company but my progress has recently hit a snag. For the past hour and a half I've been trying to solve two problems:
    1. In Internet Explorer (IE 6), Opera, and Firefox (3.x) - there are a white lines appearing in the spry navigation menu (usually towards the right) after the last tab called "Company Info." The following URL is an example of my problem:
    http://www.personal.psu.edu/sbk142/real_test1.html
    2. Only in Firefox (believe it or not) - there is a space occuring between my spry navigation bar and the company logo (refer to the URL above). I'm pretty sure it has something to do with the spry menu properties that I assigned but I'm not sure where to begin.
    Thanks in advance for your help and happy holidays.
    Sam
    PS> The following are the CSS files for my website. Let me know if there are other files you need me to upload.
    ------------------Beginning of SpryMenuBarHorizontal-----------------------------
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        padding: 0;
        list-style-type: none;
        font-size: 97%;
        cursor: default;
        width: auto;
        margin-bottom: 0em;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 9.5em;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 8.2em;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 8.2em;
        border-top-width: .1em;
        border-top-style: solid;
        border-top-color: #FFFFFF;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin-left: 8em;
        margin-top: 0.5em;
        margin-right: 0em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCCCCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #5B6372;
        text-decoration: none;
        text-align: center;
        color: #FFFFFF;
        padding-top: 0.05em;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #33C;
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #33C;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(/sbk142/SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(/sbk142/SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(/sbk142/SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(/sbk142/SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    /* @media screen, projection */
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    ----------------Beginning of Website Layout (CSS) File----------------------------
    #left_pane {
        background-image: url(/sbk142/left_pane.gif);
        background-repeat: no-repeat;
        height: 682px;
        width: 131px;
    #nav {
        background-image: url(/sbk142/navigation.gif);
        background-repeat: no-repeat;
        height: 19px;
        width: 800px;
    #mission_content {
        background-image: url(/sbk142/mission_content.gif);
        background-repeat: no-repeat;
        height: 191px;
        width: 639px;
    #news_content {
        background-image: url(/sbk142/news_content.gif);
        background-repeat: no-repeat;
        height: 365px;
        width: 307px;
    #promo_content {
        background-image: url(/sbk142/promo_content.gif);
        background-repeat: no-repeat;
        height: 161px;
        width: 309px;
    #pop_content {
        background-image: url(/sbk142/pop_content.gif);
        background-repeat: no-repeat;
        height: 161px;
        width: 309px;
    #body_top_border {
        background-image: url(/sbk142/mission_top_border.gif);
        background-repeat: no-repeat;
        height: 11px;
        width: 669px;
    #body_border_left {
        background-image: url(/sbk142/body_left_border.gif);
        background-repeat: no-repeat;
        height: 671px;
        width: 14px;
    #body_border_right {
        background-image: url(/sbk142/body_border_right.gif);
        background-repeat: no-repeat;
        height: 671px;
        width: 16px;

    After spending another hour and a half trying to understand my mistakes I decided to create a new layout.
    http://www.personal.psu.edu/sbk142/template7.html
    Thanks to those who allocated some time to help me.
    HAPPY HOLIDAYS!!!!!!!!

  • Is this possible with Spry menu and Dreamweaver cs4?

    I just starting to learn DreamWeaver cs4 and Spry, I am building a website that has a flash banner, menu bar(which is using the Spry Menu Bar, and a area for content.  I have set up the content area with a DIV tag content_column.  Now, I would like to have the link from the menu bar, populate the "content_column" with a external web page.  I know that I can use the _parent, _blank, etc. setting for the target which just opens that link into a new browser page or replaces my current page,  but I would like that link to open in the "content_column" part of my web site.  The reason why I want this to happen, is so that the whole page, including the banner doesnt have to load ever single time the user click on a differnt menu option.  These external pages will have different elements in them suchs as text, images, and .swf files.
    Thanks in advance,
    Gregg

    Gregg,WELCOME!!! To the Dreamweaver Spry Forum! I see it is your first post...
    Instead of using frames (of any kind) to show "other" web pages within your present page, try out the Spry Tabbed Panels widget.
    I think it will do what you want. I've used it quite a bit, in various incarnations, and it is quite satisfactory in not redrawing the page every time you strike a tab.
    Here's a link to some Spry simulations: http://www.adobe.com/devnet/dreamweaver/articles/spry_simulations.html
    And some more info on Widgets: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS48A27B01-5D59-409c-99B2-CB838B2985FCa .html
    Beth

  • Spry Menu and website differ on linked pages

    Two pages on my website (www.SimplyGreen.biz) are pointing to an incorrect page on my Spry Menu Bar.  When I look at the Spry Menu Bar set up - it is correct and when I look at the code behind that menu bar - it is pointing to the correct page also.  When I preview the page in browser, it comes up correct.  When I go to my website, the index page comes up correctly, but when you point or hover over the first menu item (Corporate Solutions on the far left) it opens the Driving Positive Solutions page instead of the index page it's supposed to.  The Spry menu is correctly pointing to the correct files.  I have manually taken the spry menus off the remote site and reloaded the new local site file........ and it still won't change it.  It must be saved somewhere else & I can't figure out where else to look.
    The same situation (wrong page opening up) happens under the Sustainable Solutions menu item (4th menu item) which is bringing up the Value of Partnerships page instead of it's own page (that shows up correctly also in the Spry Menu Bar and its deign code.
    It's driving me crazy!  I have reloaded the entire site, the dependent files, removed the template and reloaded it onto remote site, changed to another page and then back to force it over, etc.    I can't figure out where the wrong linked page info is coming from and why only those two pages bring up a different page than they are supposed to.

    Is it possible that your problem is caused by a web cache bringing up the wrong information? Clear history in your browser, or test on another machine to see if this is the problem.

  • Spry Menu and IE Issue (Hover Font Size)

    I'm not able to figure out why the hover focus setting works fine with Firefox or Chrome, but I can't find a setting in the CSS to ensure the value for the font on a hover within IE remains fixed. on a hover, the font size increases slighly in IE and pushes menu out of alignment very slightly. I was able to keep the hover size fixed in Firefox and Chrome via the CSS values for the spry, but not sure why IE is doing this and if there is a setting specific to IE that would allow me to keep the hover font size fixed, but not change the values in Firefox/Chrome. Is there any way to lock in the hover value using CSS for the font so in IE it remains constant?
    http://oregonstate.edu/~labellec/CDfiles/index.html
    Page is under development, but if you open it up in IE, the menu hover causes too much movement. I'm new to CS4, so, any help appreciated.
    Thanks,
    Chris

    Perhaps you could adapt the techniques used here for your
    Spry menu:
    http://www.projectseven.com/products/menusystems/pmm2/see-through.htm
    Al Sparber - PVII
    http://www.projectseven.com
    The Finest Dreamweaver Menus | Galleries | Widgets
    http://www.projectseven.com/go/pop
    The Ultimate DW Menu System
    "Webkil" <[email protected]> wrote in
    message
    news:gnmh2l$dvo$[email protected]..
    >I have tried this. I want a transparent background no
    colour. As soon as I
    >add transparent IE comes up with the word false in the
    sub menus.

  • Horizontal Spry Menu and Header Collapse in Browser

    If you look at this webpage in anything other than IE (specifically Safari), the header and spry menu are kind of collapsed into about a 600px frame, as opposed to the designated 800px area. Any thoughts on why this is happening? It looks fine in IE however... hmmm
    Thanks
    Sean

    Der nevermind. Answered my own question by opening my eyes.
    Thanks
    Sean

  • Spry Menu and iframe

    Hi, I want to link my spry menu to my iframe, so when I click on something on my menu, a different page will show up on the iframe, can someone please explain to me how to do this? Thanks

    Here some other links, maybe you prefer words instead of a video:
    Examples
    http://users.tpg.com.au/j_birch/plugins/superfish/examples/
    http://www.egrappler.com/a-stylo-modern-jquery-accordion-akordeon/
    http://craigsworks.com/projects/simpletip/
    http://calebjacob.com/tooltipster/
    http://www.solutions4website.com/Extensions/nova_dropdown_menu.aspx
    Tutorials:
    http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    http://try.jquery.com/
    http://learn.jquery.com/
    https://tutsplus.com/course/30-days-to-learn-jquery/
    http://www.w3schools.com/jquery/

  • Spry menu and target window

    I have made a html document in Dreamweaver with a pre-defined layout: 2 column fixed, left sidebar, header and footer and inserted a spry menu in the <div class="sidebar1">. I would like the links to open in the main window <div class="content">, but my links open in new windows. I have tried to put in a target-tag "_self", but it doesn't seem to work. Any ideas how I get my links to show in the right frame?
    Part of the code:
    <div class="container">
      <div class="header"><!-- end .header --></div>
      <div class="sidebar1">
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
        <ul>
          <li><a href="#">Item 1.2</a></li>
    </ul>
      <!-- end .sidebar1 --></div>
      <div class="content">
    /Mette

    Hi Pam,
    Please take care of the following
    Upgrade to Spry version 1.6.1. This can easily be done using the Spry Updater that can be found here
    Upload all Spry files to the server. At this moment there is no SpryMenuBar.js on the server
    After that, if the problem has not been eliminated, please come back here.
    Ben

  • Spry Menu Background image not working in IE

    I have created a website using Dreamweaver CS5 and having trouble with my Spry bar in internet explorer. It looks great in chrome, firefox, etc, but in IE there is a white background instead of my background image and the submenus have moved WAY right.. can someone help me!
    SpryMenuBarHorizontal.CSS is below:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 800px;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* 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: pointer;
    width: 160px;
    float: left;
    background-image: url(file:///E|/MAIN_website/images/menu_background.jpg);
    ul.MenuBarHorizontal li a{
    color:#FFF;
    ul.MenuBarHorizontal li li{
    background-image: url(../images/menu_background1.jpg);
    ul.MenuBarHorizontal li li a{
    color:#000;
    ul.MenuBarHorizontal li li li{
    background-image: url(file:///E|/MAIN_website/images/index_06.jpg);
    ul.MenuBarHorizontal li li li a{
    color:#FFF;
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover,
    ul.MenuBarHorizontal a.MenuBarSubmenuVisible{
    color:#33CCFF;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 8.2em;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 160px;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    padding: 0.5em 0.75em;
    color: #FFF;
    text-decoration: none;
    font-family: Cambria, Arial, sans-serif;
    font-size: 14px;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    color: #FFF;
    text-decoration: underline;
    /* [disabled]background-image: url(file:///E|/MAIN_website/images/menu_background.jpg); */
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #33C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

    Because I can't see your site and code in context, I will make a guess that this style is throwing off your alignment:
    /* 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: pointer;
    width: 160px;
    float: left;
    background-image: url(file:///E|/MAIN_website/images/menu_background.jpg);
    Remove the text-align:center; from the above style.
    Instead of centering your list element (li), center the link text (a) itself:
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    padding: 0.5em 0.75em;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    font-family: Cambria, Arial, sans-serif;
    font-size: 14px;
    If you don't want the submenu text to be centered, do this immediately after the previous style:
    ul.MenuBarHorizontal ul a {text-align: left;}
    The sub-submenus are also set up by default to be jogged a bit to the right. You can adjust this style:
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    that causes sub-submenus to fly out to the right of the submenus to which they attach.
    Submenus themselves (not the sub-submenus) should fall directly under the top menu item by default, once you remove the text-align: center; on the li item (above).
    Beth

  • Spry XML and image map

    Hi all-
    I'm new to using spry and xml, but not new to xhtml and layout, having said that. I'm trying to store file paths in my xml and parse that xml to repace <href> tags in an image map. For example (the actual cooridnates in the map are just made up for the example below, the actual map has 88 locations and very detailed coordinates, as it is a state map):
    <head>
    <script src="../SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
    var ds1 = new Spry.Data.XMLDataSet("../files/research/counties_census.xml", "ohio");
    </head>
    <body>
    <div spry:region="ds1">
    <img src="../images/CountyMap.gif" width="565" height="611" usemap="#Map">
            <map id="Map" name="Map">
              <area shape="rect" coords="103,156,155,202" href="../files/research/{Location}" />
              <area shape="rect" coords="216,156,286,210" href="../files/research/{OtherLocation}" />
            </map>
    </div>
    </body>
    Am I just making a syntax error or is this just outside the scope of what I can use spry for? Any help is appreciated.
    thanks in advance

    I have one more question. What you gave me worked like a charm btw. Thanks a lot. Onto the question:
    I'd like to use the same XML to also power a drop down menu, here's a snippet of the XML/XHTML below. I can't seem to get it to work on the drop down, the image map works great.
    XML snippet:
    <locations>
      <location>
         <filepath>P1008.pdf</filepath>
         <coords>192,496,193,497,194,497,195,497,196,497,197,497,199,497,201,497,201,498,202,498,2 01,498,201,499,202,499,203,500,204,500,204,501,205,502,206,502,206,503,207,503,207,504,207 ,506,207,510,207,511,207,512,207,514,207,518,207,521,207,522,207,524,207,525,207,526,207,5 27,207,528,207,529,207,530,207,531,207,532,207,533,207,535,207,537,207,538,207,539,207,540 ,207,541,207,542,207,543,207,545,207,547,207,548,207,549,207,550,206,552,206,554,206,555,2 06,556,206,558,206,559,206,560,206,562,206,563,206,564,206,565,206,566,206,567,206,568,206 ,569,206,570,206,571,205,571,205,572,204,572,204,573,203,573,203,574,203,573,202,573,201,5 73,201,572,200,572,200,571,200,570,199,570,199,569,199,568,199,567,198,566,197,566,197,565 ,196,565,196,564,195,564,194,564,194,563,193,563,192,563,192,562,191,562,190,562,189,562,1 88,562,187,562,186,562,186,561,187,561,186,561,185,561,184,561,183,561,182,561,182,560,181 ,560,180,560,179,559,178,558,177,557,176,557,176,556,175,556,174,556,174,555,173,555,172,5 55,171,556,169,556,168,556,168,557,167,557,166,557,165,557,164,557,164,558,163,558,162,558 ,161,558,160,559,159,559,159,560,158,560,158,561,158,562,158,563,157,563,157,564,157,565,1 57,566,156,567,155,567,155,568,154,568,153,568,153,567,152,567,151,567,150,566,149,566,149 ,565,149,564,149,563,149,562,149,561,149,560,149,559,149,558,149,557,149,555,150,555,150,5 54,150,553,150,552,150,551,150,549,150,548,150,547,150,546,150,545,150,544,151,543,151,541 ,151,540,151,538,151,537,151,536,151,534,151,532,152,531,152,530,152,529,152,528,152,527,1 52,526,152,525,152,523,152,522,152,521,152,520,152,519,153,519,153,518,153,517,153,516,153 ,515,153,514,153,513,153,512,153,510,153,508,153,507,154,506,154,505,154,504,154,503,154,5 02,155,502,156,502,159,502,160,502,161,502,162,502,163,502,164,502,165,502,165,501,166,501 ,167,501,168,501,169,501,170,501,170,500,171,500,172,500,173,500,174,500,175,500,175,499,1 76,499,177,499,178,499,179,499,180,499,180,498,182,498,184,498,188,497,189,497,190,497,191 ,497</coords>
         <county>Adams County</county>
      </location>
      <location>
         <filepath>P1009.pdf</filepath>
         <coords>132,183,132,184,132,185,132,186,132,187,132,188,132,189,132,190,132,192,132,194,1 31,195,131,196,131,197,131,199,131,201,131,202,131,203,131,204,131,206,131,207,131,208,131 ,209,131,210,131,211,131,212,131,213,131,214,131,216,131,217,131,218,131,219,131,220,131,2 21,131,223,131,224,131,225,131,226,131,227,131,228,131,229,130,229,129,229,126,229,125,229 ,124,229,123,229,122,229,119,229,118,229,117,229,116,229,114,229,113,229,112,229,111,229,1 10,229,109,229,108,229,107,229,106,229,105,229,104,229,102,229,102,227,102,226,100,226,99, 226,98,226,97,226,96,226,95,226,92,226,90,226,89,226,87,226,87,225,87,224,87,222,87,221,85 ,221,84,221,83,221,82,221,81,221,80,221,78,221,77,221,76,221,75,221,72,221,71,221,69,221,6 8,221,65,221,65,220,65,219,65,218,65,217,65,216,65,215,65,214,65,212,65,211,65,210,65,209, 65,207,65,206,65,205,65,204,65,203,65,201,65,200,65,199,66,199,67,199,68,199,70,199,71,199 ,72,199,73,199,73,197,73,196,73,195,73,194,73,193,73,192,74,192,75,192,76,192,77,192,79,19 2,80,192,81,192,82,192,83,192,84,192,85,192,86,192,87,192,88,192,90,192,91,192,92,192,95,1 92,99,192,100,192,101,192,102,192,102,191,102,190,102,188,102,187,102,186,102,185,105,185, 106,185,107,185,108,185,109,185,110,185,111,185,113,185,114,185,115,185,116,185,117,185,11 7,184,117,183,117,182,118,182,119,182,120,182,121,182,122,182,123,182,124,182,125,182,126, 182,127,182,128,182,129,183</coords>
         <county>Allen  County</county>
      </location>
    </locations>
    Here's my XHTML:
    <div spry:region="ds1">
         <p>Click on a county, or select from the following:
              <select onchange="jumpMenu(this)" name="menu1">
              <option spry:repeat="ds1" value="../files/research/{filepath}">{county}</option>
              </select>
         </p>
            </div>
    <div spry:region="ds1"> <img src="../images/OhioCountyMap.gif" usemap="#Map">
         <map id="Map" name="Map">
         <area spry:repeat="ds1" shape="poly" coords="{coords}" href="../files/research/{filepath}">
         </map>
    </div>

  • Thumbnails and image viewer

    I need to make a page with a bunch of thumbnails, where
    clicking on any of the thumb nails makes that image appear bigger
    in a different part of the screen. I know this can be done but I
    cant remember that the terminology is. Could someone tell me what
    this is called so I can google a tutorial on this?
    thanks
    james

    Hi.
    It´s easy. I will try, with my bad english, explain you
    how to do it. Only
    as trainer.
    1. Create a table with 2 cells and 2 rows.
    2. Now in the first left cell insert one of the thumbnail.
    3. In the second left cell insert another thumbnail.
    4. Now select the two right rows, while click right and
    select table-combine
    cells. Insert here one of your big image. This will be the
    image wich will
    be seen when the page loads.
    5. Select the images, one to one, and down in the Properties
    Inspector you
    will see a small image. Give a name to every image in the
    small white box.
    6. Select the first thumbnail and click the Tag Inspector
    menu. Click the +
    in Behaviors and select Swap Image.
    7. In the new Swap image box select the name of your big
    image and in the
    Source image click browse and select the big image wich
    correspond to the
    thumbnail you select in point 6.
    Repeat the process.
    For default the swap image is set on mouse over, click over
    "on mouse over"
    and change it for on click.
    I hope that you understand this steps.
    "jdldn" <[email protected]> escribió en
    el mensaje de noticias
    news:g83mp2$sah$[email protected]..
    > Thanks Miguel.
    > I found this tutorial on Disjointed rollover.
    >
    http://www.youtube.com/watch?v=FJpUs6NBbWo
    >
    > Sorry I didnt state earlier, but what I want is a
    Disjointed rollover, but
    > where you have to click on the thumbnails, not just
    hover your mouse over
    > them.
    >
    >

  • Spry Menu and Pointer Changing in FireFox

    I've created a Spry Rollover Menu in Dreamweaver CS3 and have
    noticed the pointer switches to text insert when rolling over the
    menu in FireFox 2.0.0.8. Does anyone know of a fix?

    Can you post a link to the page? This happens when a
    triggering event has
    been applied directly to the <img> tag, rather than to
    an <a> tag that wraps
    the <img> tag, so we would need to see the code to
    advise you.
    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
    ==================
    "Mr. Angier" <[email protected]> wrote in
    message
    news:flgc1g$i3l$[email protected]..
    > I've created a Spry Rollover Menu in Dreamweaver CS3 and
    have noticed the
    > pointer switches to text insert when rolling over the
    menu in FireFox
    > 2.0.0.8. Does anyone know of a fix?

Maybe you are looking for