I’m using 6 horizontal graphic buttons for navigation and I want to wrap them up as an ul list just like I would do if using text-based nav. Two good examples of this are Cultured Code <http://www.culturedcode.com/> and Apple. I’ve been experimenting and managed something similar in appearance code-wise by using markup items to wrap each graphic element in a
tag and then wrapping the entire menu in a
tag. Again, it’s similar but the links don’t work and seems a bit clunky to build. I would like to do this in FW though hand-coding it seems so much simpler. What’s the most efficient way to build it in FW? Or is this the best way? Maybe hand-code the entire menu and insert it as a mark-up item?
IIRC, both Tim Plumb and Paul Dunning each took a whack at this. I
believe Paul’s is the most finished. Basically, you lay out your
buttons in a table, apply the Action to the table, and get a UL in
return. Neither one of them has the action posted at their site,
you’ll have to pester them directly.
Walter
On Dec 15, 2007, at 11:44 AM, Todd wrote:
I’m using 6 horizontal graphic buttons for navigation and I want to
wrap them up as an ul list just like I would do if using text-based
nav. Two good examples of this are Cultured Code <http:// www.culturedcode.com/> and Apple. I’ve been experimenting and
managed something similar in appearance code-wise by using markup
items to wrap each graphic element in a
tag and then
wrapping the entire menu in a
tag. Again, it’s similar
but the links don’t work and seems a bit clunky to build. I would
like to do this in FW though hand-coding it seems so much simpler.
What’s the most efficient way to build it in FW? Or is this the
best way? Maybe hand-code the entire menu and insert it as a mark-
up item?
No, you just use tables for your layout. The output of the Action is
an actual UL. The nice thing about this approach is that if you make
a horizontal navbar, you will see it as a horizontal element in your
layout, rather than the no-graphic-feedback markup item or worse, the
vertical list of navigation elements in a collapsing div.
Walter
On Dec 15, 2007, at 12:01 PM, Todd wrote:
OK, thanks. I don’t want to use tables so I’ll play around with my
original idea or just code it.
Todd
On Dec 15, 2007, at 10:52 AM, Walter Lee Davis wrote:
IIRC, both Tim Plumb and Paul Dunning each took a whack at this. I
believe Paul’s is the most finished. Basically, you lay out your
buttons in a table, apply the Action to the table, and get a UL in
return.