Using accordian 1.5 and jquery 1.1.2 * $Rev: 3353 $

In IE7 I keep getting the following error when clicking on one of the
menu items.  it works in FF2 although it stutters a bit.

================================
ERRORS:

errors at: elem[name] = value;

segment of code in jquery:
name = name.replace(/-([a-z])/ig,function(z,b){return
b.toUpperCase();});
if ( value != undefined ) elem[name] = value;
return elem[name];
================================

I am using the following div structure (span is for styling purposes):
================================
<div id="menu" class="lftmenu">
<div class="title"><span>DVD</span></div>
 <div>
    <a href="#">New Release</a>
    <a href="#">Used DVD</a>
 </div>
 <div class="title"><span>GAMES</span></div>
 <div>
    <a href="#">XBOX</a>
    <a href="#">PS3</a>
 </div>
</div>

Calling it like so:
===================
jQuery().ready(function(){
   jQuery('#menu').Accordion({
     header: '.title'
   });
});

Reply via email to