anyone out there do any work with Magento? It uses Prototype/Scriptaculous.
I'm trying to implement a simple vertical accordion menu but just can't seem
to get it to work.
using default varien/accordion.js (afeared that I am doing something
stupidly obvious wrong)
and this code:
[code]
<script type="text/javascript" src="<?php echo
$this->getJsUrl('varien/accordion.js') ?>"></script>
<ol id="left_menu_nav" class="left_nav">
<li id="best-sellers_menu" class="section" >
<div class="head">
<h3><a href="#" class="a-item">Best Sellers</a></h3>
</div>
<div id="">
asdfasdf<br />asdfasdf
</div>
</li>
<li id="new-arrivals_menu" class="section" >
<div class="head">
<h3><a href="#" class="a-item">New Arrivals</a></h3>
</div>
<div id="">
asdfasdf<br />asdfasdf
</div>
</li>
</ol>
[/code]
Any help would be appreciated.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---