using classes for menu and submenu items
2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 7, 2009 (RSS)
By markr - March 7, 2009
I looked at a couple examples of js pulldown menus and I am trying to reconcile one in particular with categorylist.php. Problem is menu and submenu items need a class. Figured I could just use multiple section editors unless you can work your magic whereby '_listItemStart' can insert a class
<p><a href="http://www.dynamicdrive.com" class="anchorclass" rel="submenu1">Default Example</a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
<li><a href="http://www.cssdrive.com">CSS Drive</a></li>
</ul>
</div>
anylinkcssmenu.init("anchorclass")
<p><a href="http://www.dynamicdrive.com" class="anchorclass" rel="submenu1">Default Example</a></p>
<div id="submenu1" class="anylinkcss">
<ul>
<li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
<li><a href="http://www.cssdrive.com">CSS Drive</a></li>
</ul>
</div>
anylinkcssmenu.init("anchorclass")
Re: [markr] using classes for menu and submenu items
By Perchpole - March 7, 2009
Hi, Mark -
I can't quite grasp the problem here. Adding a class to a php generated link (via CMSB) is straight forward - so I can only assume you mean something else.
Please give more details.
:0)
Perch
I can't quite grasp the problem here. Adding a class to a php generated link (via CMSB) is straight forward - so I can only assume you mean something else.
Please give more details.
:0)
Perch