Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonmorita/js-set-viewport
JavaScript to set meta viewport for desktop sites squeezing down to mobile that are big and have a fixed width. Ran into an issue where the site would not scale down to screen width if using width=device-width. Seemed to only be related to the way this site was coded and the way tablets reacted to it. Refactoring site not an option.
https://github.com/jasonmorita/js-set-viewport
Last synced: 2 days ago
JSON representation
JavaScript to set meta viewport for desktop sites squeezing down to mobile that are big and have a fixed width. Ran into an issue where the site would not scale down to screen width if using width=device-width. Seemed to only be related to the way this site was coded and the way tablets reacted to it. Refactoring site not an option.
- Host: GitHub
- URL: https://github.com/jasonmorita/js-set-viewport
- Owner: jasonmorita
- Created: 2013-08-12T18:55:57.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-12T19:01:00.000Z (about 11 years ago)
- Last Synced: 2023-05-11T17:46:18.477Z (over 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Set meta viewport tag with JavaScript based on screenwidth and size of fixed-width site
JavaScript to set meta viewport for desktop sites squeezing down to mobile that are big and have a fixed width. Ran into an issue where the site would not scale down to screen width if using width=device-width. Seemed to only be related to the way this site was coded and the way tablets reacted to it. Refactoring site not an option.