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
{{ message }}
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
During capturing if I try to modify the style.backgroundImage property on a DIV it ends up blank when the document is rendered. Any thoughts or tricks? I'm attempting to add a query string to do a responsive image. e.style.backgroundImage = 'url(background.jpg?width=200)';
It seems to work if I parse it out of the style attribute. The problem with this is that it doesn't work in older versions of IE. I am of course not running mobify in these older versions but the same code for images does get run for a couple of different reasons and I'm trying to avoid branching my code. Not a big deal, I have a work around but thought I'd bring it to your attention and see if there is a trick I'm missing.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
During capturing if I try to modify the style.backgroundImage property on a DIV it ends up blank when the document is rendered. Any thoughts or tricks? I'm attempting to add a query string to do a responsive image. e.style.backgroundImage = 'url(background.jpg?width=200)';
It seems to work if I parse it out of the style attribute. The problem with this is that it doesn't work in older versions of IE. I am of course not running mobify in these older versions but the same code for images does get run for a couple of different reasons and I'm trying to avoid branching my code. Not a big deal, I have a work around but thought I'd bring it to your attention and see if there is a trick I'm missing.
The text was updated successfully, but these errors were encountered: