I have been having an offline dialog with some folks that is too important to not post here. First off, I wish to publicly thank Walter Davis, Fred Kylander, Max Fancourt, and Joe Billings for their contributions. I cannot emphasize the brilliance of these gentlemen when it comes to code.
What you are going to read here works in Firefox (Mozilla browsers), as well as in Safari and Chrome (Webkit browsers). It doesn’t work in IE6, IE7 or IE8. But I am told it might work in IE9, when it comes out. The great news is that your menus will still work in IE, you just won’t get the fancy shadow or curved corners.
My goal was to clean up my CSS Menus a bit, making them more distinguishable (i.e., shadow needed) and more like OS X (i.e., rounded corners at the bottom). Unfortunately, the CSS Menus action does not include this functionality. However, thanks to the efforts of the aforementioned code-wizards, there is a simple solution that involves copying and pasting the following code into the "Before " section of Page Markup:
<style type="text/css">
<!--
.sub {
-webkit-box-shadow: #000000 3px 3px 8px;
-moz-box-shadow: #000000 3px 3px 8px;
box-shadow: #000000 3px 3px 8px;
}
ul.sub, ul.sub li.fwLastChild, ul.sub li.fwLastChild a {
-webkit-border-bottom-right-radius: 7px;
-webkit-border-bottom-left-radius: 7px;
-moz-border-radius-bottomright: 7px;
-moz-border-radius-bottomleft: 7px;
border-bottom-right-radius: 7px;
border-bottom-left-radius: 7px;
}
-->
</style>
Play around with the numbers in the code above to see how the effect changes.
You will then need to experiment with CSS Menu settings, determining if you want a Border or not, and how colors impact the look of your menus.
If you would like functionality like this to be included in an easy to use GUI form, don’t hesitate to tell SoftPress about it. Even though I got this to work via Page Markup, I’d still like to be able to do it through the CSS Menus action itself. I use Freeway because I don’t like to code for the web! But thanks again to those coders who helped put this together.
Sincerely,
James Wages
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options