Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

jquery.hidpi

A plugin to swap images depending on whether the screen is in a HiDPI (Retina) mode.

Downsides of this approach:

  • Requires Javascript.
  • Can't be indexed.

It is impossible in JS to stop a browser from downloading whatever is in the src attribute of an image. This method leaves the src attribute blank and sets it after javascript executes.

About

A plugin to swap images depending on whether the screen is in a HiDPI (Retina) mode.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages