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.

Mobile version

View previous topic View next topic Go down

Solved Mobile version

Post by Mati on 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/

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Mobile version

Post by brandon_g on 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


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5357
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Mobile version

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

Hi @Mati,

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


It looks like a script set in "all the pages"

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Mobile version

Post by Mati on 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'});
  });

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Mobile version

Post by Ange Tuteur on 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.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Mobile version

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

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

Have a good weekend!

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: Mobile version

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

You're welcome ^^

Topic archived

You have a good weekend, too. Very Happy

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.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