Vertical Menu with CSS
Hi there.
I have been working through the excellent tuturial posted by
Adrian Senior and its the Designing with CSS – Part 4:
Creating a Two-Column Layout one.
I'm happy with doing all that and have successfully completed
what he has done, but I want to know how to stretch the left
floating horizontal menu so that the height is the same as the
content.
I want to be able to create a page with a menu and content,
exactly as the tuturial, but with the background colour of the menu
actually going to the bottom of the page, so however long the
content happens to be.
If anyone can help, I would be very grateful!
Thanks in advance,
Craig Shaw
Google "faux column".
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"craig_shaw" <[email protected]> wrote in
message
news:etr29e$nsj$[email protected]..
> Hi there.
>
> I have been working through the excellent tuturial
posted by Adrian Senior
> and
> its the Designing with CSS ? Part 4: Creating a
Two-Column Layout one.
>
> I'm happy with doing all that and have successfully
completed what he has
> done, but I want to know how to stretch the left
floating horizontal menu
> so
> that the height is the same as the content.
>
> I want to be able to create a page with a menu and
content, exactly as the
> tuturial, but with the background colour of the menu
actually going to the
> bottom of the page, so however long the content happens
to be.
>
> If anyone can help, I would be very grateful!
>
> Thanks in advance,
>
> Craig Shaw
>
Similar Messages
-
Vertical menu with vertical submenu's
Hi,
I would like to create a vertical menu with vertical submenu's. So when you click on a menu item, it slides open and reveals the submenu items. I tried to combine different accordion widgets together and also to combine an accordion with a vertical menu, but this got all quite messy, especially when I previewed it. It seems such simple feature (Muse is using it for its own menu structures, for example the widget-library) so I find it strange that it is not available in the library or somewhere else online...
Thanks for your advice!Hi
How exactly you have tried with accordion ?
With accordion widget this can be achieved , as label the items as main menu and sub menu items.
For example , insert an Accordion , name the label as Main and insert other elements in container area and then link them to specific pages.
You can also , try to insert an accordion with rotation so that the menu items should appear with horizontal expansion.
These video should help you :
http://www.youtube.com/watch?v=dQy_lj0ZXss
http://www.youtube.com/watch?v=_LYbjPQnw9k
Thanks,
Sanjit -
Basic questions about word spacing and vertical alignment with CSS
I'm sill very new to Dreamweaver and web page designing. I've
read the entire manual SC3, one book, and starting another but I
have almost 0 practice.
Q1. so far I haven't been able to produce the effect of the
Word Spacing property. I tried all kinds of tests and I don't know
in what scenario this effect will show. Can someone give me a
simple example that shows the effect of this CSS property.
Q2. Vertical Alignment: this works well with images inserted
into text but I also expected this to work with text against other
text. For example I typed TEST© and assigned a different SCC
style to the © so that I can make it smaller and put it up
with the Vertical Alignment property. Surprisingly this propery
didn't produce any effect. How is htis suppose to be done?> This is some text. This is some text.
You forgot to wrap your text in <p> tags so the style
rule you created
doesn't apply.
Walt
"emil emil" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
Originally posted by:
Newsgroup User
> i don't know about Q1. but for Q2. just delete what you
already have for
> the copyright symbol, and then insert the copyright
special character.
> there's a couple ways to do it: on the main menu at the
top of the
> window, go to Insert, then HTML, then Special
Characters, and select
> Copyright. or you can also find it in the Insert panel,
which is below
> the menu, under Text. ...
>
>
> Thanks courtney, but that was exactly the way I created
the © character
> and
> like in this text here it needs to be scaled down and
moved up
> independently
> from the surrounding text. Can someone please post a
simple code showing
> the
> effect of the vertical alignment of text in relation to
surrounding text.
>
>
>
quote:
Originally posted by:
Newsgroup User
> Q1
>
> <html>
> <head>
> <style type="text/css">
> p
> {
> word-spacing: 30px
> }
> </style>
> </head>
> <body>
>
> <p>
> This is some text. This is some text.
> </p>
>
> </body>
> </html>
>
>
> Thank you Ken, your code works but not the code
generated from
> Dreamweaver
> when I type in the Design View and assing CSS style to
the p tag. Does
> Dreamweaver have trouble generating properly working
HTML or I'm missing
> something here? Here is the code that Dreamweaver
generates and the word
> spacing doesn't work with it.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <title>Untitled Document</title>
> <style type="text/css">
> <!--
> p {
> word-spacing: 50em;
> }
> -->
> </style>
> </head>
>
> <body>
> This is some text. This is some text.
> </body>
> </html>
>
>
> -
Spry vertical menu button shows background color instead of image in preview
Hello All, I'm a newbie (to the forum and Dreamweaver) so my apologies if my question is not in good form. I've searched for this issue but cannot seem to find the exact problem I have.
I've created a website (my first) and used the spry menu bar. It works well using the default blue and grey colors for button and hover. However, I decided I want to spruce it up a little and change the buttons to use a background image (rainbow pattern) instead of background color. I internet researched this for some time and watched all the youtube videos people have posted for this process and editing the spry vertical menu bar CSS. Using the .a and hover lines from the CSS, I was able to add my background .jpg image file. In the design view, the button look exactly how I want them to. However, when I attempt to preview in IE, Chrome, or FF, the buttons still have the default colors and no image. I've gone back and deleted the default blue and grey, but then the preview just shows dark grey and white for the buttoms. is there something that I am overlooking that would cause the background color to show instead of the image I have attached to the buttons. I can't figure out why it looks right in DW but not in preview.
BTW, I'm editing a template file and all the pages are updated with the new image buttons, but none of the pages show correctly in preview.
ThanksPoint taken :-)
This is my spry vertical css code. No sub-menus.
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
border: 1px solid #CCC;
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
border: 1px solid #CCC;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
display: block;
cursor: pointer;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
font-weight: bold;
background-image: url(/Images/Rainbow_Button.jpg);
background-color: ;
background-repeat: no-repeat;
background-position: center;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
background-color: #666666;
color: #333333;
background-image: url(/Images/Rainbow_Button_Hover.jpg);
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
background-color: #0000FF;
color: #FFF; -
Iframe flashing Spry Vertical menu
Hi All,
Im having an issue with the Spry Vertical Menu with flyouts.
It appears that the iframe used for the IE hack is flashing
on the screen whenever I rollover a menu item with a flyout in it.
Anyone having this same issue? Any help would be much
appriciated as I like the new Spry Widgets but I cannot have
glitches such as these... thanks
Here is my CSS:
@charset "UTF-8";
/* SpryMenuBarVertical.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, a fixed width box
with no margin or padding */
ul.MenuBarVertical
margin: 82px 0px 0px 26px;
padding: 0;
list-style-type: none;
font-size: 1em;
cursor: default;
width: 14.5em;
/* 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 same fixed width as parent */
ul.MenuBarVertical li
margin: 0;
padding: 0px 0px 0px 0px;
list-style-type: none;
font-size: 1em;
position: relative;
text-align: left;
cursor: pointer;
width: 14.5em;
/* Submenus should appear slightly overlapping to the right
(95%) and up (-5%) with a higher z-index, but they are initially
off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0;
/* Submenu that is showing with class designation
MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
ul.MenuBarVertical ul.MenuBarSubmenuVisible
left: 0;
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
width: 8.2em;
background-color:#620808;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
text-decoration:none;
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
border: 1px solid #000;
/* Menu items are a light gray block with padding and no text
decoration */
ul.MenuBarVertical a
display: block;
cursor: pointer;
font-size: 1em;
padding: 0.5em 0em 0.5em 2em;
color: #dfc398;
text-decoration:none;
/* Menu items that have mouse over or focus have a blue
background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
background-image:url(../images/office/side_menu_rollover.jpg);
background-repeat:no-repeat;
background-position:6px 8px;
color: #FFF;
text-decoration:none;
/* Menu items that are open with submenus are set to
MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical
a.MenuBarItemSubmenuHover, ul.MenuBarVertical
a.MenuBarSubmenuVisible
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.MenuBarVertical 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.MenuBarVertical 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.MenuBarVertical 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.MenuBarVertical li.MenuBarItemIE
display: inline;
f\loat: left;ok... no sooner than I hit submit... figured it out...
If anyone comes across this, it seems just add width:0,
hieght:0 to the following css:
/* HACK FOR IE: to make sure the sub menus show above form
controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
position: absolute;
z-index: 1010;
width:0px;
height:0px;
Happy coding! -
Hey Guys,
I am have been trying to figure this thing out for hours. I
am new to coding. I made a vertical menu with one sub menu in
products. It works fin on my mac computer when running it on
firefox and safari, but when I run it on on a pc in Internet
Explorer it does not work. Can you please help me, I have a
deadline I am trying to meet.
here is the link:
http://www.fcsenterprises.com/test/cabinetman/index.htmlHi,
I'll give exactly the changes you have to do to have the menu
working on both browsers:
On the SpryMenuBarHorizontal.css file make the following
changes:
- on this rule: ul.MenuBarHorizontal li.MenuBarItemIE ,
delete background: #FFF; property. (This seems to have an influence
here)
- on this ul.MenuBarHorizontal li rule add a fixed height,
height: 30px for example;
- on this ul.MenuBarHorizontal iframe rule add the line:
filter: alpha(opacity=0.1); (This is a known bug that is fixed for
Spry 1.6)
Diana -
How to copy and paste manual menu with hyperlinks from one page to another?
Copy paste does not duplicate hyperlinks. Neither does putting it in the library. Both erases links. This is a general menu that will be on every page of the site, do I really have to hyperlink all 40 buttons in accordion menu again?
There has to be a way to copy the accordion with inset vertical menu with the hyperlinks for each button of menu?!?!?Use a Master Page and create the links on that. (Use A-Master if that will work for your site, but otherwise create a B-Master page (with A-Master as its master - again if that works for your site)). You can then add the hyperlinks once to your new master page and use it for each for each of your other pages. (The new master page is added at the bottom of the "Plan" view of the site and once created you just drag and drop onto the other pages to apply it to them. Hope that all makes sense - it should be pretty easy to do what you want to achieve.
-
Collapsing Menu with Sub-Menus
Hi
I am trying to create a collapsing vertical menu (with nested
submenus). Check out the 'products' quick menu here and you will
know what i mean:
http://www.sofaworldhomefurnishings.com
Does anyone know how to do this using dreamweaver (ASP VBS)
or can point to any reference or tutorial?
Any help greatly appreciated.It's pretty simple to do manually with DW's Change Property
behavior and a
nested list, or you might find some tuts and products here -
http://www.projectseven.com/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"pakora" <[email protected]> wrote in
message
news:ee3vb7$qqd$[email protected]..
> Hi
>
> I am trying to create a collapsing vertical menu (with
nested submenus).
> Check
> out the 'products' quick menu here and you will know
what i mean:
>
http://www.sofaworldhomefurnishings.com
>
> Does anyone know how to do this using dreamweaver (ASP
VBS) or can point
> to
> any reference or tutorial?
>
> Any help greatly appreciated.
> -
Hello! I need help for Adobe Muse vertical menu! very urgent!!!
Hello!
How can i make a menu like this in adobe Muse: http://www.bryanschutmaat.com/
- vertical menu with vertical submenu
Thanks!!To achieve this, you can use an accordion widget with custum styling.
IF you search for Terry White, Muse, accordion, you will find some video tutorials on YouTube. -
Hello. I need assistance in styling my side menu. I would like for it to have a different style than the horizontal bar that is above it. I would like that the side menu have a black background and with white text vertically aligned to the left. But I would also like that the mouse's arrow to turn into a hand when it touches the letters instead of during the entire width of the background. When I began styling the text, everything aligned fine until I added the links in html code. When I added the <a> tag and created a link to another page, the text goes from the left to the center of the black box. And the entire width is a link rather than just the words. To correct this, I tried renaming the div tag containg the menu. I tried renaming the ul tag. And I tried renaming the li tag and changing the declarations. None of these ideas worked. I thought about changing the <a> tag in the head of the document, but that didn't change the styling either. I also tried creating the black background by inserting a black box as a background image with the links over top of the image. It didn't work. I would appreciate your assistance. I will supply the coding if anyone is interested in looking at it. Thank you.
Nora.I can post a link to the page. But I will need to upload it. It will take a day to show. But after I wrote to you. I began working with creating additional a:link styles. I was able to create a shortened clickable area of one the words in the vertical menu. Your advice reinforced what I have learned. The following code shows that I started to make different styles of the a:link for each word on the vertical menu. I think that this will work. To indicate the different a:link style I used bold letters . Thank you very much.
html:
<div class="side_menu_nav">
<ul class="side_menu">
<li class="side_menu"><a href="still image.html">STILL IMAGE</a></li>
<li class="side_menu_video"> <a href="video.html">VIDEO</a></li>
<li class="side_menu" ><a href="animation.html">ANIMATION</a></li>
<li class="side_menu" ><a href="website.html">WEBSITE</a></li>
</ul>
</div>
CSS:
.side_menu_nav {
margin-top: 100px;
width: 190px;
height: 230px;
background-color: #F63;
font-size: 18.5px;
z-index: 5;
font-family: Arial, Helvetica, sans-serif;
side_menu ul {
list-style-type: none;
padding-left: 10px;
side_menu li {
display: list-item;
.side_menu a:link {
text-align: left;
color: #FFF;
background-color: #000;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
width: 190px;
margin-top: 15px;
margin-left: 15px;
margin-right: 0px;
text-decoration: none;
width: 120px;
.side_menu_video a:link {
text-align: left;
color: #FFF;
background-color: #000;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
width: 65px;
margin-top: 15px;
margin-left: 15px;
margin-right: 0px;
text-decoration: none;
.side_menu a:visited {
color: #FFF;
background-color: #000;
.side_menu a:hover {
color: #CCC;
.side_menu a:active {
color: #000;/*text*/ -
Spry Vertical Navigation menu with secondary flyout menu not showing
I'm using Windows and CS3. I have a vertical spry menu with one of the items opening to a secondary vertical menu. The menu is positioned left and I want the flyout menu to open so it can be seen on top of the central content column. I have a background color on the central div and when I hover over the item on the menu bar, you can't see the secondary menu opening. But I know it is there as I have removed the central div and when previewed in the browser (IE) it works fine. But when I replace the central div, the secondary menu is hidden again. I don't want to play around too much as I know Javascript is involved and I can easily ruin those elements which are now working. I hope someone can suggest something reasonably straight forward to assist.
The code is the standard stuff - I have only modified colours basicall with one or two other tweaks to fit the space:
ul.MenuBarVertical
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: 200px;
background-color: #979c9c;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
border-bottom-width: 1px;
border-bottom-color: #FFFFFF;
ul.MenuBarActive
z-index: 1000;
ul.MenuBarVertical li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 200px;
color: #343642;
ul.MenuBarVertical ul
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 200px;
left: -1000em;
top: 0;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 100%;
ul.MenuBarVertical ul.MenuBarSubmenuVisible
left: 0;
ul.MenuBarVertical ul li
width: 200px;
ul.MenuBarVertical ul
ul.MenuBarVertical a
display: block;
cursor: pointer;
background-color: #979c9c;
color: #343642;
text-decoration: none;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 20px;
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
background-color: #343642;
color: #fff;
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
background-color: #343642;
color: #fff;
ul.MenuBarVertical a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
ul.MenuBarVertical a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
ul.MenuBarVertical iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
@media screen, projection
ul.MenuBarVertical li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;
Thanks.Frank,
The code that you have shown us re SpryMenuBarVertical.css is correct so that we can assume that the problem lies elsewhere.
Because you have not shown the rest of the code, we can only make assumptions which may or may not help. From the above screen shot, I see that you are using AP's (Absolute Positioned) elements. This is a NO NO!!!
Have a look at the following wich achieves the same, but without AP's. Just copy and paste in a new document and view in any browser.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style>
margin: 0;
padding: 0;
html {
height: 100%;
background: #FFC;
body {
width: 960px;
margin: auto;
background: #060;
h1, h2, h3, p {
margin: 0 20px;
#header {
height: 95px;
background: #060;
#sidebarL {
width: 160px;
float: left;
color: #CCC;
#content {
width: 800px;
float: left;
background: #FFF;
#sidebarR {
width: 200px;
float: right;
background: #FF3;
#footer {
height: 50px;
background: #060;
color: #CCC;
clear: both;
</style>
</head>
<body>
<div id="header"><h1>This is my Header</h1></div>
<div id="sidebarL">
<h3>This is my sidebar</h3>
<p>This is where our menu goes</p>
</div>
<div id="content">
<div id="sidebarR">
<h3>This is my other sidebar</h3>
<p>Sed do eiusmod tempor incididunt ullamco laboris nisi velit esse cillum dolore. Duis aute irure dolor sunt in culpa lorem ipsum dolor sit amet. Qui officia deserunt consectetur adipisicing elit, ut enim ad minim veniam.</p>
</div>
<h2>This is the content</h2>
<p>Velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor sit amet, ullamco laboris nisi sed do eiusmod tempor incididunt. Ut labore et dolore magna aliqua. Sunt in culpa in reprehenderit in voluptate ut aliquip ex ea commodo consequat.</p>
<p>Duis aute irure dolor quis nostrud exercitation lorem ipsum dolor sit amet. Ullamco laboris nisi consectetur adipisicing elit, qui officia deserunt. Ut labore et dolore magna aliqua. Quis nostrud exercitation. Velit esse cillum dolore ut aliquip ex ea commodo consequat.</p>
<p>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut enim ad minim veniam. Eu fugiat nulla pariatur. Duis aute irure dolor sunt in culpa lorem ipsum dolor sit amet. Cupidatat non proident, excepteur sint occaecat velit esse cillum dolore.</p>
</div>
<div id="footer"><p>and lastly here is my footer</p></div>
</body>
</html>
Gramps -
Centering a file in the browser vertically with CSS
I remember there was an issue doing this with tables and I am
wondering
if this is also hard to to with CSS. I would like to center a
flash
file, both vertically and horizontally. I have it centered
horizontally
but not vertically. This is what I have so far.
body {
background-color: #fff;
margin: 0;
padding: 0;
#container {
width: 800px;
margin: 0 auto;
background-color:25231a;
My flash file is inside of the container in the html file.
What do I need to do, to get this centered vertically as
well?
I tried this, but with no luck.
#container {
width: 800px;
margin: auto;
background-color:25231a;
Thank you for any help!
BrianIf I don't hear anything positive from Adobe about fixing it,
I am going to
be much more vocal.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
".: Nadia :. **AdobeCommunityExpert**"
<[email protected]> wrote in
message
news:[email protected]...
> It is getting more and more difficult to support such
posts. I don't have
> that much time to copy and paste a link,find it's wrong
and then have to
> copy and paste again...........
>
>
> --
> Nadia
> Adobe� Community Expert : Dreamweaver
> --------------------------------------------
>
http://www.csstemplates.com.au
- CSS Templates | Free Templates
> --------------------------------------------
>
http://www.perrelink.com.au
- Web Dev
>
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
>
http://www.adobe.com/devnet/dreamweaver/css.html
> -------------------------------------------------
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>>I will no longer support posts that contain broken
links like that.
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> ".: Nadia :. ACE :."
<[email protected]> wrote in message
>> news:[email protected]...
>>> OMG - nothing against you Excavatorak, but links
posted via the web
>>> forum interface come through as an absolute mess
on the nttp forum :\
>>>
>>>
>>> --
>>> Nadia
>>> Adobe� Community Expert : Dreamweaver
>>> --------------------------------------------
>>>
http://www.csstemplates.com.au
- CSS Templates | Free Templates
>>> --------------------------------------------
>>>
http://www.perrelink.com.au
- Web Dev
>>>
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
>>>
http://www.adobe.com/devnet/dreamweaver/css.html
>>>
>>>
>>>
>>>
>>>
>>> "Excavatorak" <[email protected]> wrote
in message
>>> news:[email protected]...
>>>> <a target=_blank
class=ftalternatingbarlinklarge
>>>> href="
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html">http://www
>>>>
.jakpsatweb.cz/css/css-vertical-center-solution.html</a>
>>>> <a target=_blank
class=ftalternatingbarlinklarge
>>>> href="
http://milov.nl/code/css/verticalcenter.html">http://milov.nl/code/css/ver
>>>> ticalcenter.html</a>
>>>>
>>>>
>>>
>>>
>>
>>
>
> -
Vertical menu using javascript and css
Hi all,
I have to build a vertical top-level menu for a customer. for a few days I surfing the internet to find a good sample. The only sample I found is http://javascript.internet.com/navigation/expanding-menu.html. this is what the customer wants. But this sample has just one level of subitems. I need a sample or source with dynamical levels of subitems. I'am not so formiliar with javascript and css to build it by my own very quickly.
Has someone a sample for me or can someone change the sample so that I can use it in my toplevel menu.
RichardRichard,
Are you trying to implement this vertical menu at Portal's Top Level Navigation? If so, please be aware that these menu's might run into issues which SAP will not support.
Also, there might be issues with upgrades on your portal. We have encountered the same for your client implementation and had to finally decided against the idea until SAP released their own version.
Hope this helps.
Regards,
Winston
PS: reward points if you find this useful -
How do I get a submenu to have a scroll bar? My list goes past the bottom of the page and I would like the submenu to have a scroll bar to see the additional items.
Sure, I couldn't see from here...did you actually have a link to your page?
But you should have a comparable rule in the vertical menu:
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0;
height: 200px; /*make this value whatever you want to so that your menu stays on the page */
overflow: scroll;
You may need to actually specify submenus, too, but it should cascade from the above rule...
ul.MenuBarVertical ul ul {
height: 200px;
overflow: scroll;
If you TRULY only need one submenu to scroll, throw an ID on that submenu's ul and address it in the CSS with a special rule (leaving it off all the ones you don't want to scroll):
ul#specialscroll {
height: 200px;
overflow: scroll;
Beth -
Vertical Menu Bar with custom positioning
I am working on a site that uses the very old mm_menu script. It is a PITA to maintain and modify. However, it allows on thing I have been unable to accomplish with Spry Vertical Menu -- the second level menus appear in the same vertical space as the first level menu. The normal operation for such menus is for the second level to start more or less with the vertical position of the first level button. But this means the second level often drops far below the bottom of the lowest first level button.
Does anyone know of a way to customize where each second level appears (third and fourth are not needed)? Or some other UL/LI based menu code that can do this?Hi Bob,
My first suggestion would be to re-order your navigation list to avoid the problem in the first place or figure out a different design altogether. By re-ordering, I mean place menu items with the largest submenu at the top, and those with the smallest at the bottom. Of course I understand there may be reasons not to do this, so here is what you can do to control where the menu positions itself. The vertical positioning is controlled by "position: absolute;" style in all <ul>s contained within a <ul class='MenuBarVertical'>. When you position something with absolute, it looks for its nearest parent that is positioned relatively (in this case the <li> items within <ul class='MenuBarVertical'>). from there you can designate pixels or ems to offset from the top or bottom of the parent. so an example of a way to do this is below.
to give your menu the most control, you can assign each submenu its own class and decide its vertical positioning.
your current html/css is something like:
<style>
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0; /* <-------this is what you will change for each submenu */
</style>
so to change this you could assign a class name to each submenu to look something like this
<ul class='MenuBarVertical'>
<li>
<a href='#' class='MenuBarItemSubmenu'>Item 1</a>
<ul class='item_1'>
<li>sub1</li>
<li>sub2</li>
<li>sub3</li>
</ul>
</li>
<li>
<a href='#' class='MenuBarItemSubmenu'>Item 2</a>
<ul class='item_2'>
<li>sub1</li>
<li>sub2</li>
<li>sub3</li>
</ul>
</li>
<li>
<a href='#' class='MenuBarItemSubmenu'>Item 3</a>
<ul class='item_3'>
<li>sub1</li>
<li>sub2</li>
<li>sub3</li>
</ul>
</li>
<li>
<a href='#' class='MenuBarItemSubmenu'>Item 4</a>
<ul class='item_4'>
<li>sub1</li>
<li>sub2</li>
<li>sub3</li>
</ul>
</li>
</ul>
and extend the class styling to control each menu's vertical position. "top:0;" is what is default and aligns the top of the submenu with the top of its parent <li>. Giving it a negative number would move the submenu up and a positive number would move it down (can be in pixels, ems, etc.). You can also use "bottom:0;" to align the bottom of the submenu with the bottom of its parent <li>. Giving it a negative number would move the submenu down, and a positive number would move it up. So using the above menu/list format you could position each submenu exactly where you want to:
<style>
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
/* top: 0; <-------comment this out or remove it. we will set the position for each menu*/
ul.MenuBarVertical ul.item_1
top: 0;
ul.MenuBarVertical ul.item_2
top: -30px;
ul.MenuBarVertical ul.item_3
bottom: -2em;
ul.MenuBarVertical ul.item_4
bottom: 0;
</style>
Of course there are other ways to do this, but the lesson to remember is how absolute positioning works. It looks for its nearest relatively positioned element and positions itself from that using top/bottom/left/right. I hope this gives you a workable solution or at least gets you moving in the right direction.
Dan
Maybe you are looking for
-
On opening a PDF file adobe starts but then closes as there is an unidentified error.
I am using Windows 7 and up until a couple of weeks ago had no problems opening PDF files. I have Adobe Reader version X1 (11.0.10) and on requesting a file to open it starts but after a short while the page goes opaque and a message comes up advisin
-
Po Creation With Reference to contract
Dear Experts We are creating the purchase order with reference to contract the contract quantity not copied to po. it is asking to enter the qty. but it should copy the contract quantity. the same contract price also not copied to
-
Help with buttons on a JSP Page
Hi All, I have a HTML page , that has certain text fields.... on entering values into the text fields, it is directed to a servlet. The servlet(puts the values into the database) then directs to a jsp with the values entered in the form. I would like
-
Connection problem with adobe download assistant
Hello, I'm using windows 7 and I try to install the trial version of the Master Collection cs6. I have download Adobe Download Assistant (multiple times) but every time I try to connect myself with my Adobe ID, it doesn't work. I can click on Connect
-
hi every one i just upgrade my ios7 i have one problem when some one call me automatic disconnect. when the same user call me again my ring will buzzzz so any idea please i m tried for that, give me solution thnaks