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?

View previous topic View next topic Go down

In progress Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon on January 6th 2015, 12:10 pm

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?

SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by Ange Tuteur on January 7th 2015, 3:49 am

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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon on January 7th 2015, 9:03 am

What about for All Browsers too?

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


SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by Ange Tuteur on January 8th 2015, 4:47 am

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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Automatic ZOOM'ed In Possiblity?

Post by SpyroDragon on January 8th 2015, 6:49 am

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

SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

View previous topic View next topic Back to top


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