Image-Compare > horizontal position of handle on load

2 replies · opened Sep 28, 2022

DdevotikuenneSep 28, 2022

Hello,

I'm using the image-compare script. Now I would like to change the horizontal position of the handle on load.
When it is loaded the handle is at aproximately 70% on the right side. I need the handle to be more on the left side.
Where can I change this?

Thanks in advance for your help.

Regards

Börje

SSemicolon WebSTAFFSep 30, 2022

Hello,

Simply find the default_offset_pct: 0.7, JS Setting in the HTML File and set a value between 0 to 1 to control the position.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

DdevotikuenneSep 30, 2022

That's it!

Thank you very much!

Regards

Börje

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard