views:

247

answers:

3

The building (a museum) has 7 levels (+3 to -3), each divided into different rooms/areas. Hovering over an area will reveal a popup describing that area.

I'm looking for some markup that will accurately represent the 7 levels and their areas. The plan should make sense and be 'navigable' without any CSS/JS.

Edit: Some clarification, the markup only has to represent the 'semantic structure' of the building, not the spatial layout (CSS will add in the layout and graphics).

+1  A: 

Sounds like a job for SVG? (Sample Adobe Building in San Jose)

I realize that this does use JavaScript, but if you have 7 floors * 10+ rooms? this would get rather hairy with pure CSS. You could use some <ul> elements to make nested levels of rooms, but if the building is this big, I don't think the list (even if rendered as blocks) would be meaningful to view.

scunliffe
+2  A: 

Smells like a nested, unordered list to me.

Triptych
I was thinking definition lists?
meleyal
How many rooms per floor?
scunliffe
It varies, between 2-6 rooms per floor
meleyal
I don't think definition lists are meant to be nested; semantically they are a flat list of name/value pairs. A nested unordered list is a good fit for this.
Adam Lassek
It is true that definition lists shouldn't be nested?
meleyal
I posted the definition list question over here: http://stackoverflow.com/questions/389086
meleyal
+1  A: 

Take a look at microformats, specifically the XOXO Microformat.

Chris Pebble
Thanks. What are the advantages of using XOXO, it wasn't made clear on the wiki page?
meleyal