|
Cookbook /
HTML5Extensions-TalkSummary: Talk page for HTML5Extensions.
Maintainer:
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment. What sort of markup would I need for the <menu> tag? According to w3schools, it looks like this: <menu type="toolbar">
<li><command onclick="alert('Good morning world')">
Good morning!</command></li>
<li><command onclick="alert('Good evening world')">
Good evening!</command></li>
</menu>
I'd like to use this for my PageActions Edit: seems as though <command> is not working in either Chrome or Firefox (haven't tried others). Will devolve to using lists: <menu type="toolbox">
<li><a href="url1">command1</a></li>
<li><a href="url2">command2</a></li>
</menu>
So, how should I do this markup? Something like: (:menu type=toolbox:)
(:menuitem:) [[url1|command1]]
(:menuitem:) [[url2|command2]]
(:menuend:)
you'd need to add 'menu' to the list of tag keywords in the Markup definition, excerpt: ...|header|footer|nav|menu|.... Talk page for the HTML5Extensions recipe (users?). |