You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The challenge here is not detecting if an image itself is fixed. Often images will not have a fixed style but be sitting within a containing div that is fixed on the page. This would require walking up the parent elements and checking each for fixed position elements. Currently everything is absolutely positioned over the top of the whole page but the alternative could be to insert the overlays within the existing dom right over each image to try and preserve positioning that way. It would also fix image carousels etc.
@zeman let me try tonight. the same code block can be used to check the parent position of the image element. I agree with you as well about inserting the overlays within the existing dom right over each image.
Preview
couldn't find a handy fixed position image so i tested it on bootstrap fixed navbar: http://getbootstrap.com/examples/navbar-fixed-top/
Solution
Paste the following code in the console.
The text was updated successfully, but these errors were encountered: