Spry Navigation in Dreamweaver CS3

One of the most dramatic enhancements to Adobe Dreamweaver CS3 is the Spry framework, a new set of tools that you can use to create drop-down menus, collapsible panels, and other advanced features. There are so many Spry features, Adobe added a new Insert Bar to the top of the work area to provide easy access to all of the Spry options.

The following tutorial shows you how to create a horizontal drop-down menu bar for site navigation. (You can also use these steps to create a vertical menu bar by selecting Vertical instead of Horizontal in Step 5.)

[Download a preview of this project, here. All files are for personal use only.]

STEP 1 Plan Your Navigation Needs
Even before you start creating a navigation menu like the one shown here, take some time to plan how best to organize the site’s links and structure. As a general rule, it’s good practice to limit the number of links in a navigation bar to no more than six or seven. As a result, many Web designers divide a site into a few main categories and then further divide those into subcategories. For example, this site has a section called “Talent” as a main category, and then has subcategories for talent with different jumping skills.


CREDIT: JASPER JOHAL

STEP 2 Set Up Your Site
You can add a Spry menu to a new or existing page, but like most of the features in Dreamweaver, things work better if you first define your website. If you’ve already gone through the site setup process, you’re ready for the next step. If you’re creating a new site, choose Site>New Site, select the Advanced tab, and fill in the fields in the Local Info category. For more detailed instructions, read the online tutorial “Defining a Site in Dreamweaver” at www.layersmagazine.com/defining-site-dreamweaver.html.

STEP 3 Create New Page/Open Existing One
To create a new page, choose File>New and then select a file type. In the New Document dialog, you can choose from a variety of file types, including ASP, PHP, and CFM; however, if you’re creating a new page for a basic, static website, choose Blank Page, HTML, and a CSS Layout (or choose None to create a completely blank page). If you choose one of the CSS Layouts, you can alter the layout to suit your design by editing the CSS definitions. (You’ll find tips for editing CSS layouts like this one in Layers, July/August 2007, p. 72.)

STEP 4 Insert Spry Navigation Menu
To insert a Spry menu, first open the Spry Insert Bar at the top of the workspace by clicking on the Spry tab. Place your cursor where you want to create the menu in your webpage, and then click on the Spry Menu Bar icon (or go to Insert>Spry>Spry Menu Bar).

STEP 5 Choose Horizontal or Vertical
You can use the Spry Menu Bar dialog to create a menu that displays horizontally across your page with submenu options that drop down below the menu bar. Or you can create a vertical menu bar with submenu options that open to the right of the main menu items. Click on the corresponding button to make your selection and then click OK to insert a generic menu bar into the page. Once the menu bar is inserted, you can customize it by changing the text, colors, fonts, and other options.

STEP 6 Adjust Alignment
The format of a Spry menu is controlled by CSS; thus, to alter the appearance, you need to edit the CSS definitions. By default, the horizontal menu aligns to the left of the page but you can easily align it to the right by changing the definition of the corresponding style. To change alignment, we need to change the Float setting. Start by selecting the style named “ul.MenuBarHorizontal li” in the CSS panel, and then in the Properties pane below it, click to the right of the Float field and use the drop-down list to select Right instead of Left.

STEP 7 Replace Main Text
When a menu bar is inserted, Dreamweaver populates it with placeholder text: Item 1, Item 2, etc. To add your own text, simply click-and-drag to select the text within each navigation box and then type over it to replace it with the word or words you want to use. As you can see, we’ve replaced Item 4 with Agents, and Item 3 with Talent, and we’ve selected the next item. Note: You can also edit menu items using the Properties inspector, as you’ll see in Step 8.

STEP 8 Display Spry Menu Options
To edit the text in the submenus, or to add or remove menu items, you first need to display the Spry menu options in the Properties inspector. To make these options visible, click on the blue tab at the top left of the Spry menu that you inserted into the page. In this example, it’s labeled “Spry Menu Bar: MenuBar1.” When you click on the menu tab, the Properties inspector displays the corresponding Spry options.

STEP 9 Edit Submenu Text
With the Spry menu options open in the Properties inspector at the bottom of the work area, you can edit the submenu text by first selecting the menu item in the leftmost menu field and then selecting the submenu item in the middle menu field. You can edit the text of any selected item in the Text field at the far right of the inspector. In this example, we’ve replaced Item 1.1 with LA Office, Item 1.2 with NY Office, and Item 1.3 is selected so that the text can be edited in the Text field.

STEP 10 Add or Remove Menus and Submenus
You can add menu or submenu items by selecting any item listed in the Properties inspector and then clicking on the plus (+) sign at the top of the corresponding menu field. To remove a menu item, select it and click the minus (–) sign. For example, you can add a third-level menu item by selecting a submenu item and then clicking the plus sign above the third menu field. Here, we’re adding a third-level submenu item, Manhattan, to the submenu item NY Office, which is a submenu item of Locations.

STEP 11 Create and Edit Links
A menu bar, by design, should include links to the main sections and subsections of a website. To turn any menu item into a link, select the item in the Properties inspector and enter the URL in the Link field. You can also use the Browse icon (it looks like a file folder) to locate and select any file in a website and set the link automatically. If you’re setting a link to a top-level menu item, you can also select the text in the main workspace and set the link in the Properties inspector.

STEP 12 Change Text and Background Colors
To edit the text and background colors in a Spry menu, you must edit the corresponding styles. The tricky part is that the style definitions for text and background colors are included in the link styles, which have multiple states. For example, the style named “ul.MenuBarHorizontal a” defines the background and text color that display when a browser first loads a link. However, if you want to change the text or background color that appear when a visitor rolls a cursor over a link, you’ll need to change the definition for the style named “ul.MenuBarHorizontal a:MenuBarItemHover….”

STEP 13 Change the Font Face or Style
By default, the font in a Spry menu is the same as the page font. Thus, if you’ve created a Body style to specify the page font as Verdana, the Spry menu text will also display in Verdana. If you want to change the font used in the menu without altering the page font, you can add a font definition to the style named “ul.MenuBarHorizontal.” To do so, double-click on the style name in the CSS panel and in the CSS Rule Definition dialog, enter a font face or choose a font collection from the Font drop-down menu.

STEP 14 Preview in a Browser to Test
To test a Spry menu, you’ll need to preview your page in a Web browser, such as Safari or Firefox. Just click on a menu or submenu item to see the drop-down items in action and test the links. Beware: If you have two levels of submenus on the right side of the screen, as in this example, they may extend beyond the page display area.

Visitor Comments »

 

i have a probleme with the position of the submenu how can i repositing them

 

Comment by claire | March 12, 2008 @ 11:38 am

 

Any adjustments to a spry menu have to be made in the corresponding CSS files. You’ll need to find the CSS rule that defines the positioning of your submenu and adjust it by changing the settings in the CSS Styles panel.

 

Comment by Janine Warner | March 12, 2008 @ 4:39 pm

 

How do you make the navigation stretch to fit its container, my “wrapper” div is 760px but my spry menu only covers about 65% of that width…

 

Comment by andrew felder | March 14, 2008 @ 2:31 pm

 

dear jeanine,
last year i bought your DVD on dreamweaver 8,
it is done very well and i plan to buy your new one.on drmw8 there is no section that covers how to create a page that clicking “previous/next one can navigate through several images yet the page stays the same.how can i learn to create pages with this features.

 

Comment by sam | March 16, 2008 @ 6:37 pm

 

Is there a way to get the text from the menu into a CSS file so that the pages should all be the same.

 

Comment by Joe | March 24, 2008 @ 3:25 pm

 

i need to know more about the spry menu bars use, and how to change the colour of background and to get menus in same levels.

 

Comment by safana | March 25, 2008 @ 11:48 am

 

How can I create a Transparency Navigation when u use SPRY?

 

Comment by Anthony | April 1, 2008 @ 9:19 am

 

I am doing a spry for the first time ever. I have created a vertical menu bar. How do I remove the border?

 

Comment by BB | April 8, 2008 @ 12:45 pm

 

Thanks for intro into spry. Have had a little play and one neat trick I have found is to manually move sub menus.

In properties bar click on a sub menu item.
In ‘design mode’ you can then click on the edge of the sub menu that shows blue outline. Top left is a square that you can manually ‘grab’ and move the position of whole sub menu – cool!

same applies for sub sub menu of course

I must admit that when I tried to navigate round the css adjustments as shown in your tutorial it was confusing and daunting.

HOWEVER if you go to spry assets folder and open the css sheet it has been annotated by Adobe making it a lot easier to follow

Hope this is of interest

 

Comment by Rowan Bouy | April 8, 2008 @ 3:26 pm

 

I am editing css for my spry nav bar and can’t figure out how to have a different background color for the tab of the page that is open. For example when I am on the HOME page I want that tab a different color so the visitor knows what page they are on. I don’t see a style in the menu bar css that describes this condition. How would I write the selector?

 

Comment by Suzanne | April 9, 2008 @ 2:22 pm

 

Hi, I’m having trouble with the spry vert nav bar in IE7. Not all of the menu items are left justified like they are in FF and Netscape. I do have the z-index ‘hack for IE5′ in my
sprymenubarvertical.css. Is there any new ‘hack’ code to make it work in IE7?

 

Comment by Lamia Stanton | April 10, 2008 @ 6:38 am

 

Figured it out….removed the
f\loat: left;
background: #FFF;
from the IE5.0 hack. My site looks great now in IE7.0 (don’t know about IE5.0) and in all other (normal) browsers :) -Lamia

 

Comment by Lamia Stanton | April 10, 2008 @ 1:37 pm

 

My spry nav menu works fine in IE7, but not in Firefox. Is there a simple fix?

 

Comment by Erin | April 14, 2008 @ 7:16 pm

 

I create a behavior in an image to open a large image in a new window, but there is a blue border in my image once I add the # sign in the link properties. How can I remove this hyperlink border

 

Comment by MiguelAngel | April 21, 2008 @ 9:26 am

 

Here’s how to remove an image border:

The border is automatically added to distinguish that the image is linked, even though you’re just using the #sign as a holder.

It’s easy to remove.

Click to select the linked image in the main Dreawmeaver design area, then in the Property inspector at the bottom of the workspace, enter a 0 in the Border field. This sets the size of the border to 0, making it disappear.

Hope that helps,
Janine Warner

 

Comment by Janine | April 21, 2008 @ 9:26 pm

 

I have created a Spry vertical navigation menu in a Div on the left side of my site pages that looks great in Firefox, but it doesn’t show up in IE6 or IE7. What do I need to do to fix this? I’ve tried to find answers in my books and on the web, but I’m stumped. Thank you.

 

Comment by Debbie Wolfe | April 29, 2008 @ 7:48 pm

 

I have created a Spry vertical navigation menu with a blue background. It looks ok in dreamweaver but when I test it in a browser the backgound color is only behind the text and not the whole box. What did I do wrong?

 

Comment by Bob L | April 30, 2008 @ 9:21 pm

 

I would like to use a Spry menu on our site, but am concerned about updating the menu after the initial implementation. We have over 3,000 pages on the site so when we change the menu in the main template, I want to be able to upload a single file and the changes will appear in all pages without having to reload the individual pages themselves. Can you do this with Spry menus or do all pages have to be reloaded?

 

Comment by Morris Enyeart | May 7, 2008 @ 3:53 pm

 

Horizontal nav bar looks on everybody except IE. No drop down menu’s appear.

 

Comment by kathryn damron | May 15, 2008 @ 1:20 pm

 

My Spry menu won’t show up in IE either. Can someone post the fix?

 

Comment by beachshooz | May 27, 2008 @ 5:37 pm

 

I had some spry menu buttons in place. i did something (?) and now the buttons have become blue outlines, no buttons. it’s not the styles button. what could i have done? I’ve tried to erase old code and start over. buttons will not return!

 

Comment by bob faulkner | May 28, 2008 @ 6:16 pm

 

I’ve used spry horizontal menu on a test page. Works fine in Firefox but in IE7 the sub menu blocks appear at top of web page, not adjacent to menu item. Sub-sub menu blocks behave as expected relative to their parent sub-menu items. Is there a fix for this or do I have to find another way of creating dropdown menus, since yhe majority of my site visitors will use IE?

 

Comment by Rod Rea | May 30, 2008 @ 6:23 am

 

I created a Spry drop down navigation box. When I tested it it opened up immediately if Firefox and with one extra click in IE 6 but when I tried it in IE 7 I got a blocking message in the information bar and then a security warning – so 2 clicks to get it open. I’ve fiddled with security settings but can’t get IE7 to be any friendlier. Haven’t tried it with Safari yet.
Any suggestions? Please!!!!

 

Comment by Ian Fegent | June 2, 2008 @ 11:03 pm

 

My spry menu shows under the iframe that is directly next to my verticle spry menu, is there anything I can do to resolve this?

 

Comment by Fred Munro | June 10, 2008 @ 6:25 am

 

Downloaded Dreamweaver last night. Have always thought websites were hard to do. Your article was so straight forward. Thank you very much.

 

Comment by Tony Campbell | July 2, 2008 @ 1:33 pm

 

Change the Z-index for the menu going uner to like 500

 

Comment by www.shareddynamics.com | July 2, 2008 @ 3:13 pm

 

OK, i have this little problem! I want to have two spry dropdown menus with different css. Any help?

 

Comment by Alex Labanino | July 2, 2008 @ 8:49 pm

 

Hi. I don’t understand how I am supposed to know the difference between the styles listed!?
ul.MenuBarHorizontal
ul.MenuBarHorizontal li
ul.MenuBarHorizontal ul
ul.MenuBarHorizontal ul li….etc!!!

 

Comment by Anna | July 9, 2008 @ 4:45 pm

 

What is this crazy “expanding box” problem I get when I start adding text to my menu? I gave all the menu items a fixed height and width but is still comes up in the validation as a problem in earlier browsers (IE6 and earlier) this is driving me crazy!

 

Comment by sheri hulan | July 12, 2008 @ 12:17 pm

 

Hi, I was just wondering if there is no way to align the spry menu to the center?

 

Comment by Allison | July 13, 2008 @ 12:10 am

 

Hi,
Great page with a good manual how to use Spry Menubar. I’ve create a website (test) with horizontal menu. I’ve also decided to use a frameset in my website.
Top-,left, main and rightframe.

In the topframe I’ve the horizontal menu. But it can’t be shawn properly when I preview it in the webbrowser. The scrolling function doesn’t work? Why? I think it’s because the top and mainframe have fixed pxl values. But what if I want to use frames and the horizontal menu?

The website will contain 33pages and I don’t want to put the menu in every page.

Plz help me, you are my only hope!

Skywalker.

 

Comment by Marcus | July 13, 2008 @ 2:35 pm

 

When I careated a spry menu, each menu title has a little arrow right in the middle of the text. How do I get rid of it.

 

Comment by Greg Crone | July 22, 2008 @ 12:55 pm

 

I have a “fix” for the links not working correctly in IE6 … I noticed from a previous website that was designed for my company, that they had this string of code on line 2:

No one that I have talked with can explain what it says, but when I pasted it onto Line 2 in code view, I was able to view my menu bar in IE without any problems!

Good luck!

 

Comment by Melissa | August 6, 2008 @ 2:31 pm

 

Is there a way to align the spry menu to the center?

 

Comment by Jason | August 6, 2008 @ 3:09 pm

 

Is there a way of creating an external Spry Menu file that all the web pages can read from, like a data base so that menu items can be added or removed easily without altering every page by hand

 

Comment by Glenn | August 13, 2008 @ 12:32 am

 

Anna,

You would need to learn css.

ul.MenuBarHorizontal refers to an unordered list with the class “MenuBarHorizontal”

ul.MenuBarHorizontal li refers t oa list item within same.

ul.MenuBarHorizontal ul refers to an unordered list inside the unordered list with the class “MenuBarHorizontal

I’m sure you can see where this is heading..

 

Comment by Fred | August 13, 2008 @ 7:42 am

 

I am using multiple spry tab panels on my site and i wanted to define different color schemes for each panel. How to do that?

Thanks
http://www.jhankar.pk

 

Comment by naqi khan | August 17, 2008 @ 1:35 am

 

Hi, I was just wondering if there is a way to align the spry menu to the center?

 

Comment by Dave | August 20, 2008 @ 2:15 pm

 

I am using the sprybar but want to use a background.jpg(gif) instead of a color. I can not find it how to do it for just the menubar and not the submenu’s

 

Comment by Gerard | September 1, 2008 @ 6:22 am

 

I am new to spry and have added two spry menus to my site (one vertical, one horizontal). The problem I’m having is that part of the horizontal spry is hiding behind the flash element in the horizontal menu in FF and IE. I’ve tried giving the flash element a z-index below the spry, but to no avail. In IE the horizontal spry hides behind the vertical spry. Any ideas?

Here’s my site: http://www.hvydutyresources.com and my css is http://www.hvydutyresources.com/my_styles.css.

Any help would be greatly appreciated.l

 

Comment by April Branscome | September 21, 2008 @ 8:25 am

 

I have created a vertical menu bar but need to add an additional menu, the default is only three. Is this possible?

Thank you,

Mike

 

Comment by Mike R | September 29, 2008 @ 1:22 pm

 

You can always add more menu or submenu items by clicking on the plus sign at the top of the Property inspector. Just select the menu or submenu and then click plus to add a field.

 

Comment by Janine Warner | September 30, 2008 @ 12:39 pm

 

When I try to view my menu bar in a browser – the content is blocked and will not show the dropdown submenu. I want to make sure that all of the navigation is visible with all browsers – is that not possible?

 

Comment by Cindy G | October 5, 2008 @ 1:08 pm

 

FYI The fix for the flash going in front of the menu is to add and wmode=”transparent” to the embed tags (see below):

 

Comment by mary | October 16, 2008 @ 3:24 pm

 

uh oh… it removed my code.

what you need is, in the param tags, one that says:
param name=wmode value=”transparent” with the appropriate parens around (like the other params), then in the embed code section, add
wmode=”transparent”

 

Comment by mary | October 16, 2008 @ 3:26 pm

 

Melissa, I can’t get my menus to work in IE either!! But your code got edited out! can you send it ot me? mary at maryvogt dot com

Thanks SO MUCH I’m going nuts looking for a fix.

 

Comment by mary | October 16, 2008 @ 3:28 pm

 

Did anyone ever find a solution to why a menu bar won’t show up in IE? It looks great in firefox, but just blue links in IE.

Thanks

 

Comment by Vanessa | October 20, 2008 @ 9:56 am

 

i need help~~~ the other version of dreamweaver i can use picture or even rectangular hotspot to do drop down. for spry menu, it doesn’t seem to have the function…

 

Comment by valerie | October 21, 2008 @ 2:18 am

 

I want to expend the spry menu of an extra row of buttons.
How do I do this?

Exmp.
- Home,
- About,
-me
-you
-early years
-late years
- Contact

Dream weaver let me do till the “you” btn, but how to make the extra once (-early years, -late years)?

 

Comment by Ula | October 24, 2008 @ 7:09 pm

 

When I add a spry toolbar into a frame (leftframe) I cant get the blue menu option in step 8. Is anyone else having this problem?

 

Comment by John Morgan | October 30, 2008 @ 12:16 pm

 

My Spry horizontal dropdown menu works strange in ie7: The drop downs are about 150 pixels higher than the menu location. Also the image at the top doesn’t even showup. I’m using tables to layout the page.

http://www.lohshelp.com

The page shows up great in Safari for Mac.
-many thanks!

 

Comment by jim mcdonald | November 3, 2008 @ 7:01 pm

 

Can I add a sound to a spry menu so that when someone rolls over the menu items you hear a beep or something?

 

Comment by Ronda Allan | November 6, 2008 @ 11:59 am

 

Why does IE insist on indenting my Spry Vertical menu as if it’s li items are normal li items ruled by the site’s CSS instead of the SpryMenuBarVertical.css? All padding and margins are set to 0.

 

Comment by sheila | November 7, 2008 @ 7:52 pm

 

Found an IE 6 fix to the indenting: in the final Spry style (ul.MenuBarVertical li.MenuBarItemIE), I added a negative margin-left value (I used -6px). This corrected the problem without screwing things up in Firefox or Safari.

 

Comment by sheila | November 10, 2008 @ 6:29 pm

 

I’m asking many of the same questions, but mainly I would like to know what to do about my spry horizontal sub-menu showing at the top of the page in IE.

Does anyone ever answer these questions? Where can I go to actually see answers to these questions?

 

Comment by jan | November 11, 2008 @ 12:47 am

 

Spry menu bars have nothing but trouble. Mine finally works in ie, but does not function at al in Firefox. Any suggestions?

 

Comment by Martha | November 11, 2008 @ 12:37 pm

 

No kidding, the person who wrote the article should be answering these

 

Comment by kevin | November 12, 2008 @ 4:44 pm

 

Hey there,

Just wanted you to know that I do read your questions, but most of these will take far more than a simple comment to answer. Look for a new tutorial (coming soon) with many more details about editing drop-down menus. I’m also planning to create a video tutorial so that you can “see” how some of these features work. Drop-down menus are one of the most complex features you can create in Dreamweaver, and it’s impossible to cover it all in one short tutorial. Just wanted you to know I understand how frustrating it is and I’m working with my editor to get more instructions up here soon.

 

Comment by Janine Warner | November 13, 2008 @ 12:56 pm

 

I have a horizontal spry menu in a template. I want to edit it, but I can’t get the blue spry menu tab to show up so I can select it. Can you help?

 

Comment by Becky Pellinger | November 17, 2008 @ 6:06 pm

 

I have an issue too with IE and the submenu loading in the top left hand portion of the screen. I would venture to say… the answer should be in the spry css IE HACK portion of the code. If I figure it out, I’ll post.

@Becky – I was having the same problem, but it was with my submenu and I couldn’t edit it in DW. In the document, the css of the horizontal menu ended up being set at -1000em so it was not showing so I could edit. I set it to 1000em and it worked fine. I can’t rememeber which portion of the css, but I figured it out by looking up the original css for the spry menu online and comparing mine side by side correcting things I didn’t think was right. The bad thing was, I couldn’t just open a new file and insert a new spry menu to start over. It would read from the spry css from the previous menu I created. I was pulling my hair out on that one :s.

I would recommend keeping a copy of the original spry css somewhere handy until you get the hang of those spiffy spry’s, lol.

 

Comment by Crystal | November 22, 2008 @ 5:42 am

 

I can’t get my spry menu to work in IE 7 at all! I’ve been reading dozens of different discussion boards and it’s all no help at all. I feel so frustrated, because I spent forever trying to learn how to get it to work and now i have no clue what to do next. You can see them here:

http://www2.hawaii.edu/~amcclusk/index2.html

any help would be hugely appreciated!
arlen dot mcc at gmail dot com

 

Comment by Arlen McCluskey | November 22, 2008 @ 8:12 pm

 

Hi there, I have created a horizontal drop down menu (Dreamweaver template page). It looks great in Safari but doesn’t work properly in IE7. In IE7 the submenu section appears at the top right hand side of page partially obscured by a cell of the main table. Is there some code I can add to my site to fix this so that it views correctly in IE7?

 

Comment by barb | November 23, 2008 @ 6:41 pm

 

When I preview my spry menu everything looks great, however when I transfer it to my server, the website displays it like a bulletted list. I transferred all the files in my SpryAssets folder, but something seems to be missing. Can anyone help?

 

Comment by Cindy | November 27, 2008 @ 9:32 am

 

Look in the style sheet for the spry css.
delete
float: left;
background: #FFF;
This will fix the ie7 bug

/* 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;
float: left;
background: #FFF;
}
}

 

Comment by MDC101 | December 8, 2008 @ 5:25 pm

 

I created a vertical drop down menu using spry menu bar in dreamweaver cs3 but in the same page i also have flash photo gallery. when i click on the menu bar, the menu appears behind the photo gallery. it looks really bad on firefox. need help! thanks.

 

Comment by cindy | December 9, 2008 @ 2:38 pm

 

I also have a problem with Horizontal spry menu and IE7. When I bring my mouse over the menu, the submenu drops down from right hand side top of the screen. I cannot figure out wats to be done. Please guide me…

Thanks

 

Comment by Damodar | December 14, 2008 @ 10:04 pm

 

Hello everyone,
I have created a website everything is working good even spry menu bar… the only problem i got is if in future if i add any link or spry menu bar or a sub item under one item… then i have to manually do that for each and every pages is their a way if i do changes to one spry menu bar it will change to all?

 

Comment by maulesh | December 17, 2008 @ 11:21 pm

 

Frameset with a spry does not show in the
window, the drop down is hidden behind the adjacent frame. How can I make this visible?

 

Comment by Chris | January 2, 2009 @ 7:39 pm

 

Dreamweaver horizontal spry menu sub menus drop down and open in IE but will not drop down in Firefox, can you help?

 

Comment by Christina Rivet | January 5, 2009 @ 5:52 pm

 

Hi, Im creating a spry horizontal menu and would like the submenu to also be horizontal. Is this possible? I have been trying everything.
Thanks

 

Comment by Sue | January 10, 2009 @ 5:23 am

 

I am using Dreamweaver CS3 and have been having problems with Spry Menu Bars. Adding a submenu causes the program to stop responding. I didn’t have this issue at first but now it happens all the time. I work around it by making revisions in the code, but I would really love to use the Spry feature as intended. Any ideas?

Thank you,
Eileen

 

Comment by Eileen Kwiatkowski | January 11, 2009 @ 11:18 am

 

Im using Spry menu at the first time. I dont like the blue mouse color, how do I change it, have been looking at the CSS, but cant´ find the solution.

 

Comment by Alan | January 25, 2009 @ 6:06 am

 

I have created a template page w/a centered horizontal spry menu. When I create new page from template, my preview (and subsequent new page) is wrong (menu is to the left, background color is gone.) But if I preview that page in IE everything works and is correct – if I go to save that page I am prompted that a widget file containing horizontalbar.css is missing.

 

Comment by Pam Burt | January 25, 2009 @ 6:34 am

 

Ok so we are not going to get any answers from this site – where can I go to find the solution to the same problem as this guy I have psted below? – thanks

‘I’m asking many of the same questions, but mainly I would like to know what to do about my spry horizontal sub-menu showing at the top of the page in IE.
Does anyone ever answer these questions? Where can I go to actually see answers to these questions?’

 

Comment by Ed | January 30, 2009 @ 8:47 am

 

Spry menu template HELP!
I am creating a template to be used across mu website. The only problem I have had is that I would like the spry menu colors to be editable (which I can do)without changing the colors on all pages. When I change the color on the next page it changes them all. I would like a different color for the menu on every page. Can anyone help me define my regions to make this happen?

 

Comment by Mandy | February 1, 2009 @ 5:26 pm

 

Hey all,
I finally found the following page:

http://objectmix.com/macromedia-dreamweaver/399032-another-spry-menu-internet-explorer-problem.html

…where some good soul explained how to get this stuff to work.

There’s way more detail on the page about getting other stuff to work, you should all check it out, but this is the bit I used:

Fix the expanding box problem by removing all &nbsp or tags (non-breaking spaces and line-breaks) from the text you’re adding to the spry menu. This worked for me. Once I removed them and arranged the text without using them, I stopped getting the error messages when I checked browser compatibility. Hope this helps!
:)

 

Comment by Dulcinea | February 10, 2009 @ 2:08 pm

 

i don’t get it still don’t say what navigation means

 

Comment by april.dolby | February 12, 2009 @ 6:02 am

 

hi, i’ve created a menu using spry collapsible panel widget. Can anyone tell me how to trigger the drop down menu by only hovering it instead of clicking on it?

Thx.

 

Comment by kelly | March 3, 2009 @ 6:03 am

 

OMG, and here I’ve been “thinking” of trying to use spry on a website. It seems like there are a lot of mishaps and bugs in this “new technology”, and I’m not sure I want to try it.

Can anyone make it not as scary? Maybe ADOBE techs could actually ANSWER some of these questions, and give some instructions without making us pay more for one of their “nifty” additions to DW.

 

Comment by Ron | March 5, 2009 @ 12:51 pm

 

OMG, and here I’ve been “thinking” of trying to use spry on a website. It seems like there are a lot of mishaps and bugs in this “new technology”, and I’m not sure I want to try it.

Can anyone make it not as scary? Maybe ADOBE techs could actually ANSWER some of these questions, and give some instructions without making us pay more for one of their “nifty” additions to DW.

 

Comment by spstache | March 5, 2009 @ 12:52 pm

 

I am the same problem as this:

“I am editing css for my spry nav bar and can’t figure out how to have a different background color for the tab of the page that is open. For example when I am on the HOME page I want that tab a different color so the visitor knows what page they are on. I don’t see a style in the menu bar css that describes this condition. How would I write the selector?”

Is there a way to do this?

Thanks

 

Comment by ShawnMac63 | March 5, 2009 @ 4:43 pm

 

Everybody should be starting here: http://www.adobe.com/devnet/spry/

As much as I love the Layers tutorials, I think they are better used after you take Adobe or Lynda.com

 

Comment by Marina Post | March 9, 2009 @ 8:50 pm

 

I cannot see Blue Spry Selection Tab. I made sure “show invisible elements” setting is turned on and that Hide All is off. What else could cause the tab to not be visible? Please Help!

 

Comment by Mia | March 10, 2009 @ 11:27 am

 

excellent tutorial. exactly what i was looking for.

 

Comment by Jason | March 24, 2009 @ 8:46 pm

 

Hi – I just want a simple spry menu navigation menu – but I cant see the drop down menu in IE. I am confused – perhaps I am using the incorrect “link” to connect the main menu to the submenu ? Please Help!

 

Comment by Jennifer Gray | April 19, 2009 @ 5:23 pm

 

Can someone just answer the question of how to center a horizontal spry menu???

 

Comment by TIm | May 12, 2009 @ 4:38 pm

 

How do I get rid of the blue border on a selected tab?

 

Comment by Norman Dallura | May 12, 2009 @ 9:30 pm

 

ur site is too long downward make it short if u want users to come again

 

Comment by rahul | May 14, 2009 @ 3:04 am

 

My horizontal spry menu bar looks good except for one thing…after clicking on one of the links, a very think boarder appears around the box. Is there any way to remove this?

The background colors are set to #FFF…not sure why this is happening???

Many thanks in advance!

 

Comment by Ray Kelly | May 27, 2009 @ 9:44 pm

 

When I add a spry toolbar into a frame (leftframe) I cant get the blue menu option in step 8. Is anyone else having this problem?

 

Comment by Becky | June 4, 2009 @ 11:31 am

 

For centering Spry Menu Bar You can look at http://www.thesitewizard.com

 

Comment by Nemira | June 18, 2009 @ 10:33 pm

 

In regards to positioning the menu, I have heard alot of complaints about it going left or right and I had the same problem. I have been struggling with this for days, and I finally decided to play with the padding. To fix my problem, I opened the CSS for ul.menubarhorizontal.li and under “Box” I adjusted “padding left” by pixels amounts. I found that 17 px was the right amount to make it look centered.

 

Comment by Shannon | June 26, 2009 @ 11:29 am

 

What good is having this nice feature, if there is no realistic way to adjust the links contained within globally? This really nice tutorial doesn’t address that at all unfortunately. Starting from scratch, you can utilize templates, but for an existing site, it appears to be useless if you ever have to change a link.

 

Comment by Russell | June 30, 2009 @ 9:42 am

 

I have been doing this for years and cannot figure out how to make this “improved” pop-up menu work vertically in IE -IE any version.
Is ADOBE LISTENING????

 

Comment by L Reed | July 15, 2009 @ 2:43 pm

 

Hi,
Great page with a good manual how to use Spry Menubar.
I’ve create a page in my website with horizontal menu. I’ve also decided to use a frameset in my website.
main Topframe, Downframe and rightframe.

In the topframe I’ve the horizontal menu. But it can’t be shawn properly when I preview it in the webbrowser. The scrolling function doesn’t work properly. Why? It doesn’t shown because is under the downframe, where I would like to drop the links.

What can I do?

 

Comment by diZe | July 15, 2009 @ 4:46 pm

 

Hello,
I have been reading this for a while looking for an answer but I didn’t find it…!
Sorry if someone has already asked this, but I’m going crazy trying to figure out How to make the options in a single line?? I mean, in my menu almost every option has two or three words: too much text: so it automatically makes it in two or three lines. Example: The menu I’m working on now has this options (sorry it’s in spanish):

- Administración
– Concejo Municipal
– Gestión Administrativa
– Desarrollo y Control Urbano

And in the Spry Bar Menu it appear like this:
- Administración
– Concejo
Municipal
– Gestión
Administrativa
– Desarrollo
y Control
Urbano

, making the list looking messy and confusing.

I have been trying in every option making new and modifying Height and width styles, but nothing seems to work yet. If you can help me, any of you, I would really appreciate it.

Thank you very much!

 

Comment by Lucy R. | August 5, 2009 @ 5:27 pm

 

Hello,
I wanted to be able to change the background color of the parent menu to “none” so that the background image shows through. And I want the sub-menu to be a solid color.

I thought I had it, as it looked perfect in Firefox but in Explorer 7, both the parent menu and submenu are white….it seems when you set the bg color to none…it shows as white in explorer 7…..is there a fix for this?

 

Comment by Yvonne | August 5, 2009 @ 5:51 pm

 

Hi,
I found the solution. In the CSS code:
1. Locate the ul.MenuBarVertical li or ul.MenuBarHorizontal li rule.
2. Change the width property to a desired width, or change the property to auto to remove a fixed width, and add the property and value white-space: nowrap; to the rule.

It’s all here: http://livedocs.adobe.com/en_US/Spry/SDG/help.html?content=WS895F3A6D-6D73-42ef-B568-3D04ABD2F171.html

Hope that help somebody else and not just me..!!

 

Comment by Lucy R. | August 7, 2009 @ 11:57 am

 

Hi is there a way to create the navigation 1 time and then pull it into all other pages using css or something else. That way if you need to change the menu bar in the future it will automaticly be updated on all 100+ pages?

 

Comment by TJ | August 25, 2009 @ 5:30 pm

Leave us a comment

Comments RSS | TrackBack URI

Back to Top

 
 
Advertisement
Creative Suite Tutorials
  1. Photoshop Photoshop
  2. Illustrator Illustrator
  3. Indesign Indesign
  4. Dreamweaver Dreamweaver
  5. Fireworks Fireworks
  6. Premiere Premiere
  7. Flash Flash
  8. After Effects After Effects
  9. Lightroom Lightroom
  10. Acrobat Acrobat

Get the latest tips, tricks and news delivered straight to your inbox.

From our Partners
Subscribe to Layers Magazine
 
 
 
  • Back to the Layers Magazine Homepage
  • Creative Suite Tutorials
  • Layers Magazine
  • Reviews on top products
  • Layers Magazine Reader Forums
  • Subscribe to Layers Magazine