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.
The forum of the forums
2 posters

    Automatic ZOOM'ed In Possiblity?

    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Automatic ZOOM'ed In Possiblity?

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

    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
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    In progress Re: Automatic ZOOM'ed In Possiblity?

    Post by Ange Tuteur 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%.
    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Re: Automatic ZOOM'ed In Possiblity?

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

    What about for All Browsers too?

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

    Automatic ZOOM'ed In Possiblity? Widget10
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    In progress Re: Automatic ZOOM'ed In Possiblity?

    Post by Ange Tuteur 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
    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Re: Automatic ZOOM'ed In Possiblity?

    Post by SpyroDragon 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..

      Current date/time is September 23rd 2024, 12:31 am