The picture element and associated features are W3C standard HTML features that allow web developers to deliver an appropriate image to every user depending on a variety of conditions like screen size, viewport size, screen resolution, and more. Picturefill is a JavaScript file (or a polyfill to be more specific) that enables support for the picture element and associated features in browsers that do not yet support them, so you can start using them today!
Questions tagged [picturefill]
79 questions
0
votes
1 answer
How can I select an img placed within a span with appendChild?
I'm using picturefill.js (Scott Jehl): https://github.com/scottjehl/picturefill/blob/master/picturefill.js
Here's how I have it setup, (some code omitted b/c it was just more media query stuff) using span tags and data attributes as in his…

CodeFinity
- 1,142
- 2
- 19
- 19
0
votes
1 answer
Two page content load with jQuery Infinite scroll script (when only one load required)
I'm writing a little jQuery script for my tumblr page, that emulates infinite scroll loading via jQuery.get() the content that I want from the next pages of the site (it's a tumblr site, so the pagination is OK).
I know that there are some infinite…

juanriqgon
- 99
- 1
- 2
- 7
0
votes
1 answer
how to use detection script throughout page to detect specific browsers?
I have a one page document that has several images which need to load only on Android 2.3 phones and IE8/9 because the picturefill.js project doesn't work properly on those devices.
I am successfully using this script once within one of my…

micah
- 1,937
- 6
- 27
- 40
-1
votes
1 answer
Devexpress document viewer fill page to conatiner
I have DevExpress raport.cs and DocumentViewer container. I want how fill displayed page to container?

Vanguard1990
- 1
- 6