Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Infogrid – Hide when clicking outside the grid Re: Infogrid – Hide when clicking outside the grid

#126468
strager
Member

Another Update:

I managed to get it ALMOST working….However when I do it this way IE stops working with the script, and the indented issue still occurs……

// Click anywhere outside the Infogrid
$(document).click(function () {

// return all titles to normal size

$allTitles.stop().animate({
fontSize: “10px”,
paddingTop: 4,
paddingRight: 4,
paddingBottom: 4,
paddingLeft: 4

}).removeClass(“current”);

$el.stop().animate({
“font-size”: “10px”,

})
$otherWraps.stop().animate({
width: 180
}).removeClass(“curCol”);

// close all info cells
$allCells.slideUp();

// make all columns the small size
$parentWrap.stop().animate({
width: 180
}).removeClass(“curCol”);

});

});