I am currently trying out David DeSandro’s Isotope jQuery plugin: I’m adding items dynamically to the container.
I’m also using the technique used in this fiddle that sorts a clicked item for top left of the container.
My Isotope items shall contain some text. Clicking a link within this text, another item shall be sorted for and placed top right, not the one clicked on.
How could I make a link <a href="... in one item to trigger sorting for top left of another item, knowing that these items are added dynamically?
Thanks a lot for your answers and thanks a lot to David De Sandro’s work; I will for sure get a commercial license as soon as I can achieve this…
thanks a lot, this gave me the missing idea (assigning an id to the link and to the divs). Here’s the working example:
Now I just have to manage adding ids dynamically. Thanks again.