Click on background to close large image v 2.0


https://forum.kartris.com/Topic1868.aspx
Print Topic | Close Window

By Neil - Sun 24 Mar 2013
I see the ability to close a large image popup by clicking on the background has gone in v2, this was pretty useful when using a small resolution device (and I guess people expect this to happen as most other lightbox type scripts have this). Was this removed for any reason?
By Paul - Fri 29 Mar 2013
Wasn't intentional, I'll see what happened there.
By Paul - Fri 29 Mar 2013
Ok, figured it out I think. We use a js functions in the Javascript/KartrisInterface.js to close modal popups. The names of the elements that these operate on have changed slightly:

For example:
cntMain_UC_ProductView_tbcProduct_tabMain_fvwProduct_UC_PopUpLargeView_popMessage

Basically, the ct100_ part at the start of all the elements is now gone.