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
3 posters

    Mobile version

    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    Solved Mobile version

    Post by Mati September 11th 2015, 6:08 pm

    I just checked my forum in the mobile version and I don't see the Navbar, also I do I activate the classic version.

    My forum http://forumdirectory.forumotion.net/
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    Solved Re: Mobile version

    Post by brandon_g September 11th 2015, 6:38 pm

    Ah yes.. That does happen to some forums. Not sure why, not just your site, many many sites on forumotion have the problem. Not quite sure why! It has never really been a big deal for me, I always view sites on classic version anyway.


    Oh yeah and Mati, your fancy browser also sorta is un mobile unfriendly, whenever I click to type something, it zooms in and the text seems out of place. I have to logout before I proceed to type. May just be my phone though.

    -Brandon



     Mobile version Brando10
    Remember to mark your topic  Mobile version Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

     Mobile version Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Mobile version

    Post by Ange Tuteur September 11th 2015, 6:40 pm

    Hi @Mati,

    In the mobile version you have an error from something called "tipsy" :
     Mobile version Captur29

    It looks like a script set in "all the pages"
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    Solved Re: Mobile version

    Post by Mati September 11th 2015, 7:02 pm

    Hi @Ange Tuteur,

    I had this in Javascript code management so shell I remove this?

    Code:
    $(function() {
        $('.left a').tipsy({gravity: 'n'});
        $('a.forumtitle').tipsy({gravity: 's'});
        $('#east').tipsy({gravity: 'e'});
        $('#west').tipsy({gravity: 'w'});
        $('#north-west').tipsy({gravity: 'nw'});
        $('#north-east').tipsy({gravity: 'ne'});
        $('#south-west').tipsy({gravity: 'sw'});
        $('#south-east').tipsy({gravity: 'se'});
      });
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Mobile version

    Post by Ange Tuteur September 11th 2015, 7:24 pm

    No, just replace it with the following so that it only executes on the classic version.
    Code:
    $(function() {
        if (_userdata.page_desktop) return;
        $('.left a').tipsy({gravity: 'n'});
        $('a.forumtitle').tipsy({gravity: 's'});
        $('#east').tipsy({gravity: 'e'});
        $('#west').tipsy({gravity: 'w'});
        $('#north-west').tipsy({gravity: 'nw'});
        $('#north-east').tipsy({gravity: 'ne'});
        $('#south-west').tipsy({gravity: 'sw'});
        $('#south-east').tipsy({gravity: 'se'});
    });

    _userdata.page_desktop is only present on the mobile version. So if this exists, the script wont execute any of the code after the condition I added.
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    Solved Re: Mobile version

    Post by Mati September 11th 2015, 7:29 pm

    Ok, Thanks a lot mate you may lock it now. Smile

    Have a good weekend!
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Mobile version

    Post by Ange Tuteur September 11th 2015, 7:33 pm

    You're welcome ^^

    Topic archived

    You have a good weekend, too. Very Happy

      Current date/time is September 23rd 2024, 7:20 pm