robhawk
-
Selectively Serving Images Using HTML5 "data-" attribute & Match Media for Responsive Site
Thanks for the help...
-
Selectively Serving Images Using HTML5 "data-" attribute & Match Media for Responsive Site
I've just found and tried this and it adds the height "auto" as an inline style which overrides the hard set height parameter. I think the removal of the height and width would be cleaner although this does work. What do you think? …
-
Selectively Serving Images Using HTML5 "data-" attribute & Match Media for Responsive Site
Sorry I tried with it below the line starting lazy[i] as well. like so but still visible in IE... /images enhancement if (window.matchMedia("(min-width: 46.875em)").matches) { //load in the images var lazy = Utils.q('[data-…
-
Selectively Serving Images Using HTML5 "data-" attribute & Match Media for Responsive Site
Hi, Firstly thanks for getting back to me so quickly with help. I've tried the above but the height and width are still shown in IE. //images enhancement if (window.matchMedia("(min-width: 46.875em)").matches) { //load in the …