Hey all.

I have a bit of JQuery magic that works great in Firefox, but not in Safari
or IE at all. Here's the code:

$(document).ready(
   function()
   {
       $('div.yui-u').Sortable({
           accept: 'sortable',
           helperclass: 'sortHelper',
           activeclass :     'sortableactive',
           hoverclass :     'sortablehover',
           handle: 'h3.list',
           tolerance: 'pointer',
       });

       $('h3.list').title('Click to expand; drag to reorganize')
       $('dl').hide();
       $('dd').hide();
       $('h3.list').click(function() {
           $(this.parentNode).find('dl').toggle('fast');
           $(this).toggleClass('listDown');
           return false;
       });
       $('li dl dt').click(function() {
           $(this.parentNode).find('dd').toggle('fast');
       });
   }
);


You can see it in action at http://www.eyeheartzombies.com/webpen-html/ Any
ideas?

Thanks a lot.

--
=> the blog from beyond <=
=> www.eyeheartzombies.com <=
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to