Small change that is very helpful for layouts with more the one div element with the container class.

$(document).ready(function(){
  $('a#switchgrid').click(function(){
    $("div.container").toggleClass('showgrid');
    $(this).toggleClass('off')
  });
});

Comments

mcrittenden’s picture

Assigned: Unassigned » mcrittenden
Status: Active » Needs work

Will get on this ASAP.

mcrittenden’s picture

Title: Modified switchgrid.js for layout with multiple grid containers. » Modified switchgrid.js for layouts with multiple grid containers.
Assigned: mcrittenden » Unassigned
Status: Needs work » Fixed

Committed into Beta 4: http://drupal.org/node/651278

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.