Standard Module Chromes: Difference between revisions
From Joomla! Documentation
m spacing |
m more formating |
||
| Line 10: | Line 10: | ||
|- | |- | ||
!rounded<br />(default for menus on milkyway) | !rounded<br />(default for menus on milkyway) | ||
| | |<source lang="html4strict"> | ||
<source lang="html4strict"> | |||
<div class="module_menu"> | <div class="module_menu"> | ||
<div> | <div> | ||
| Line 25: | Line 24: | ||
</div> | </div> | ||
</source> | </source> | ||
| | |[[Image:Module_chrome_rounded.png]] | ||
[[Image:Module_chrome_rounded.png]] | |||
|- | |- | ||
!none | !none | ||
| | |<source lang="html4strict"> | ||
<source lang="html4strict"> | |||
<ul class="menu"> | <ul class="menu"> | ||
<li><!-- various menu items --></li> | <li><!-- various menu items --></li> | ||
| Line 39: | Line 36: | ||
|- | |- | ||
!table | !table | ||
| | |<source lang="html4strict"> | ||
<source lang="html4strict"> | |||
<table cellpadding="0" cellspacing="0" class="moduletable_menu"> | <table cellpadding="0" cellspacing="0" class="moduletable_menu"> | ||
<tr> | <tr> | ||
| Line 54: | Line 50: | ||
</table> | </table> | ||
</source> | </source> | ||
| | |[[Image:Module_chrome_table.png]] | ||
[[Image:Module_chrome_table.png]] | |||
|- | |- | ||
!horz | !horz | ||
| | |<source lang="html4strict"> | ||
<source lang="html4strict"> | |||
<table cellspacing="1" cellpadding="0" border="0" width="100%"> | <table cellspacing="1" cellpadding="0" border="0" width="100%"> | ||
<tr> | <tr> | ||
| Line 79: | Line 73: | ||
</table> | </table> | ||
</source> | </source> | ||
| | |[[Image:Module_chrome_horz.png]] | ||
[[Image:Module_chrome_horz.png]] | |||
|- | |- | ||
!xhtml | !xhtml | ||
| | |<source lang="html4strict"> | ||
<source lang="html4strict"> | |||
<div class="moduletable_menu"> | <div class="moduletable_menu"> | ||
<h3>Main Menu</h3> | <h3>Main Menu</h3> | ||
| Line 117: | Line 109: | ||
</div> | </div> | ||
</source> | </source> | ||
|[[Image:Module_chrome_outline.png]] | | [[Image:Module_chrome_outline.png]] | ||
|- | |||
|} | |} | ||
Revision as of 01:33, 28 July 2014
This article is tagged because it NEEDS UPDATING. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.
Reason: References to 1.5 and 1.6.
Note that this example includes class additions because the examples are taken using mod_mainmenu. The suffix "_menu" to the div class and the "menu" class on the ul tag are not present with other modules.
Note that the Module chrome doesn't necessarily change the appearance all that much - this depends on the CSS used in the template. For example, the 'none' and 'horz' chromes look very similar, although the underlying HTML code is very different.






