Hello,
this is my first menu. It is a horizontal menu with images for first level.I have tried many examples but with no results. I am aware that time is a problem for everyone...
I have made a menu which HTML code for two horizontal image buttons are:
<div class="menu-main">
<ul><li>
<a href="#"><img src="assets/template/images/m_1_off.gif" class="roll"></a>
<ul>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a> <ul><li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a>
<ul><li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
</ul>
</li></ul>
</li></ul>
</li>
<li><a href="#"><img src="assets/template/images/m_2_off.gif" class="roll"></a>
<ul>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a>
<ul><li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a>
<ul><li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
<li><a href="">submenu</a></li>
</ul>
</li></ul>
</li></ul>
</li>
</li></ul>
</div>
Having only this simple HTML code and css is working fine. But I am having troubles with chunks and the snippet call. I don’t know how to integrate this code. Could someone suggest me the right solution?
Thanks
Sandra
Can someone tell me where to place the code for these templates: outerTpl, rowTpl, InnerTpl, etc?
-
☆ A M B ☆
- 24,524 Posts
Those are "chunks". Just create a new chunk for each of them. You can name them what you please, just make sure to use exactly the same name in your Wayfinder snippet call’s parameters.
Oh, duh - thanks for answering my newb question.
I just tried it - it worked!