ScrollTo plugin with isotope?

You can get the proper position of an item, relative to its container, using the following technique: set itemPositionDataEnabled: true in the options, and get the position using data('isotope-item-position') For your code.

You can get the proper position of an item, relative to its container, using the following technique: set itemPositionDataEnabled: true in the options, and get the position using . Data('isotope-item-position'). For your code $container.

Isotope({ // options... itemPositionDataEnabled: true }); $container. Delegate( $itemString, 'click', function(){ var $this = $(this), itemPosition = $this. Data('isotope-item-position'); $this.

ToggleClass('large'); $container. Isotope('reLayout'); $('html,body'). ScrollTo( itemPosition.

Y, 800); }).

Thank you. I will test it as soon as I get the chance. I'll keep you posted.

;-) – Gab Nov 18 at 16:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions