Jump to content
Search Community

svntsvn

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

svntsvn's Achievements

0

Reputation

  1. @Shaun Gorneau If you had a lot of content (many images, etc in blog post, or fetching static html from another file on server?) in each expanded "post", do you know the best way (or common approach) to fetch that post data and inject it into the modal/overlay container ("preloaded-content" above) upon executing the modal? I think what I'd like to do is have the thumbnail expand to the hero image in the same way, while simultaneously fetching the additional relative content below that hero image. I hope this makes sense. Im not sure if you could still load the initial page and successfully prefetch the preloaded-content areas if they have a lot more data. (same dom approach as above? static?) Or a better way to fetch the posts dynamically? Something like jquery load? Also, what if you were to paginate between the "post" content thats revealed, would you have to remove the thumbnail and headline from the dom prior to animating the hero/headline states? Im new to js, gsap and all that. I vaguely remember something years ago using jquery load to fetch that stuff ala ajax, but I'm not sure what's the best way to create a smooth hero transition from a card/thumbnail to an expanded view dynamically. Cheers !
×
×
  • Create New...