• Resolved panzerchris

    (@panzerchris)


    Hello,

    I notice at the moment that the plugin appends various div tags with the zoomContainer class to the end of the <body> tag and uses position:absolute; to position the zoom window appropriately.

    Would it be possible instead to insert these into a specific container and have the positions be calculated relative to that container? The way I see it working is a setting where you can instead specify a selector.

    The reason I ask is if part of your page moves for any reason (e.g. in my case I have a section with filters that open/close on click) it can throw out all the calculated positions.

    Many thanks,

    https://ww.wp.xz.cn/plugins/wp-image-zoooom/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Hello,

    I see what you mean, but that would mean rewriting half of the javascript that creates the zoom. I’ve also stumbled upon the problem earlier. This is definitely on my TODO list, but I cannot make any promises about when I’ll get started with it.

    Thread Starter panzerchris

    (@panzerchris)

    No worries, thanks for getting back to me on it!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Relative to Container?’ is closed to new replies.