Blog Post
JoannaKurpiewsk
6 years agoCommunity Member
Oh, that's a cool challenge. Here's one of my favourite web object examples I created lately.
https://bit.ly/2T5ACwe
I work a lot with animal health related content hence this dog BEFORE and AFTER demo.
if you'd like to find out more how it's built here's everything you need to recreate this effect:
https://www.w3schools.com/howto/howto_js_image_comparison.asp
https://bit.ly/2T5ACwe
I work a lot with animal health related content hence this dog BEFORE and AFTER demo.
if you'd like to find out more how it's built here's everything you need to recreate this effect:
https://www.w3schools.com/howto/howto_js_image_comparison.asp
- NancyWoinoski6 years agoSuper HeroI think this slider is really cool. I am definitely going to incorporate this into one of my projects.
- JoannaKurpiewsk6 years agoCommunity MemberI'm glad you find it useful, Nancy. What are you going to sliderize? (have I just come up with a new verb?)
- NancyWoinoski6 years agoSuper HeroDon't know yet. The trick is to get two images that will sliderize together nicely.
- JeniJohnson-f066 years agoCommunity MemberTHIS is cool.
- KarlisSprogis-d6 years agoCommunity MemberLoved it! So simple, yet so elegant!
- TeoKar6 years agoCommunity MemberHey Joanna. That is nice. Did you use a javascript trigger? How did you achieve this good result? Have you uploaded the pictures in a webpage and then add it as a web object?
- JoannaKurpiewsk6 years agoCommunity MemberHi Teo.
If you follow 3Wschools link I attached it will explain how to setup html file. All you need except html are two the same size images showing BEFORE and AFTER state. Then put everything in one folder and insert web object into Storyline linking to this folder.
- stefanocraba6 years agoCommunity MemberHi Joanna,
I've really liked your demo and I wanted to give it a try but I'm having trouble when publishing in review.
the comparison slider works fine in my little folder but when I publish it I can't see the pictures anymore;
any ideas? I can't see what I'm doing wrong.
thanks a lot