The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Automatic ZOOM'ed In Possiblity?

Go down

In progress Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon on Tue 6 Jan 2015 - 6:10

When on chrome.. my site looks like it has a lot of Empty Space on 100% Zoomed ( Default )



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?
avatar
SpyroDragon
Forumember

Posts : 372
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by Ange Tuteur on Tue 6 Jan 2015 - 21: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%.
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon on Wed 7 Jan 2015 - 3:03

What about for All Browsers too?

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

avatar
SpyroDragon
Forumember

Posts : 372
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by Ange Tuteur on Wed 7 Jan 2015 - 22: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
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon on Thu 8 Jan 2015 - 0:49

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

Posts : 372
Reputation : 2
Language : English

http://SpyrosForum.com/

Back to top Go down

Back to top


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