• •
it is NOT about “Changing a Theme” slight modifications only
Slide 69
2
Slide 70
DROPDOWN MENUS
➚
Slide 71
Examples
Slide 72
www.traust.is
Slide 73
www.htmldog.com
Slide 74
Son Sonofofthe Suckerfish Suckerfish Dropdowns
Slide 75
Patrick Griffiths and
Dan Webb
Slide 76
• Accessible • valid CSS • obvious and clean XHTML
Slide 77
PLONE Dropdowns
Slide 78
Slide 79
by Paulo Lopez
Slide 80
• Plone 2.5.x, Plone 2.1.x • manual work • need to read the how-to
Slide 81
PLONE 3
Slide 82
FUN
Slide 83
• Plone 2.5.x, Plone 2.1.x • manual work • need to read the how-to
Slide 84
• Plone 3.0.x • NO manual work • NO need to read the how-to
Slide 85
New Product
Slide 86
webcouturier.dropdownmenu
Slide 87
Site’s structure
Slide 88
Slide 89
Slide 90
• • •
uses INavtreeStrategy
•
works in all modern browsers, incl. Safari, IE6, IE7
uses SitemapQueryBuilder() uses ‘sitemapDepth’ (default == 3) in portal_properties/navtree_properties
Slide 91
1
Slide 92
ROUNDED CORNERS
Slide 93
“Rounded corners in CSS has become
sort of a holy grail”
• • • •
The more radius the more complex CSS Too ugly XHTML No hooks in Plone People don’t like dealing with CSS if they can change images
Slide 100
Images-based solutions
Slide 101
Example Techniques
Slide 102
Sliding Doors
Slide 103
Adam Kalsey technique
Slide 104
http://tutorials.alsacreations.com
Slide 105
And so on...
Slide 106
•
Plone has XHTML hooks in portlets for this
• •
Pretty simple (but not trivial) CSS
• •
Fixed set of images for the corners
Most of the cases use nested HTML elements
Inflexible for changes
Slide 107
JS+CSS solution
Slide 108
• •
The most flexible
•
Does not require additional CSS
Does not require nested elements in HTML to be put manually
Slide 109
Examples
Slide 110
Nifty Corners Cube
Slide 111
JQuery corners
Slide 112
•
First seems not to work with borders and background images
•
The second one doesn’t work nice with Safari and requires JQuery
Slide 113
CurvyCorners library
Slide 114
by
Cameron Cooke and
Tim Hutchison
Slide 115
Pros
Slide 116
• • • •
Supports most of the modern browsers Works with borders Works with background images Supports antialiased corners
Slide 117
Slide 118
Cons
Slide 119
•
Some obvious problems when background images are used and box has different radiuses
•
Other small issues when used with other rounded boxes - box shifts to the top or bottom