The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Automatic ZOOM'ed In Possiblity?

2 posters

Go down

In progress Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon Tue Jan 06 2015, 13:10

When on chrome.. my site looks like it has a lot of Empty Space on 100% Zoomed ( Default )
Automatic ZOOM'ed In Possiblity? Shelp110


But what my intensions were on the theme was to be like this on All Browsers.. is there a code that will zoom people with higher Resolution screens to be like this instead?
Automatic ZOOM'ed In Possiblity? Shelp210
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by Ange Tuteur Wed Jan 07 2015, 04:49

Hello @SpyroDragon,

You can try this for Chrome if you like. Go to Modules > JavaScript codes managament > Create a new script

Title : Your choice
Placement : In all the pages
Code:
navigator.userAgent.indexOf('Chrome') > -1 && $(function() { document.body.style.zoom = '160%' });

To modify the zoom level, change 160%.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon Wed Jan 07 2015, 10:03

What about for All Browsers too?

And on Chrome it screws up the Social Widget...

Automatic ZOOM'ed In Possiblity? Widget10
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by Ange Tuteur Thu Jan 08 2015, 05:47

Try this for IE and Chrome, for Firefox the "Zoom" property is not supported.
Code:
$(function() { document.body.style.zoom = '160%' });

Websites can look different due to multiple factors :
• Resolution of the screen
• Viewpoint of the browser
• The user's preferences

I don't recommend using "zoom" for the body, because everyone has their own preferences, but if it's what you want.. Wink
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon Thu Jan 08 2015, 07:49

theres also a lot of problems when you try uploading picture via servimg ..-- too many problems I just gave up on this..
SpyroDragon
SpyroDragon
Forumember

Posts : 455
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum