Increase size of .gif image on mac Ipad IOS |
Increase size of .gif image on mac Ipad IOS |
franciskoerber |
Jul 22 2013, 08:22 PM
Post
#1
|
Group: Members Posts: 2 Joined: 22-July 13 Member No.: 19,459 |
I found the javascript to increase the size of text but it does not increase the size of .gif images. Is there another piece of code to do this?
|
Frederiek |
Jul 23 2013, 03:22 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I don't understand why you'd need a javascript to increase (or decrease) text or image sizes.
Look into responsive design and responsive images. http://alistapart.com/article/responsive-web-design http://www.d.umn.edu/itss/training/online/...ign/css.html#mq and lower. |
Christian J |
Jul 23 2013, 06:40 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Most (all?) browsers today have a zoom function for both text and images.
|
franciskoerber |
Jul 23 2013, 08:59 AM
Post
#4
|
Group: Members Posts: 2 Joined: 22-July 13 Member No.: 19,459 |
There is no zoom for safari on the ipad, believe it or not. So I have do it with javascript buttons as bookmarklets which is javascript in a bookmark on the bar. Works fine for the text, but I need it to increase the size of graphics too.
Here's the code. http://osxdaily.com/2012/05/11/change-font...s-bookmarklets/ |
Frederiek |
Jul 25 2013, 03:35 AM
Post
#5
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Of course there is, see http://www.apple.com/osx/what-is/gestures.html . Though that's about Mac OS Mountain Lion, gestures work on the iPad too, as you don't even have a mouse there.
|
jimlongo |
Aug 3 2013, 09:07 AM
Post
#6
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Some websites (believe it or not, and I wouldn't recommend it) disable magnification on an ipad, but normally of course you can pinch or ?? (what do you call the opposite of pinch) to change the zoom level of any webpage on an iOS device.
This tag will disable the ability to zoom a webpage due to the last parameter. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> You can read all about the viewport here. |
Lo-Fi Version | Time is now: 24th April 2024 - 12:09 PM |