Strange problem on android devices

About the template and stylesheet - and changing the menu
Post Reply
maeg
Posts: 525
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark
Contact:

Strange problem on android devices

Post by maeg » Fri Aug 09, 2013 6:43 pm

Hi
I'm run into a strange problem with on of my clients websites.

When i browse it on mobil device, it works perfect with iphone and windowsphone, but when i use a android, the text in the toc is gone, and the toc2 dosen't work.

The site is www.horner.dk

Can any one tell my the magic words to fix that.


Have a nice day

Jens

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Strange problem on android devices

Post by cmb » Fri Aug 09, 2013 7:09 pm

maeg wrote:When i browse it on mobil device, it works perfect with iphone and windowsphone, but when i use a android, the text in the toc is gone, and the toc2 dosen't work.
Hmm, works fine here: Android 4.1.2, standard browser and Google Chrome 28. :?
Christoph M. Becker – Plugins for CMSimple_XH

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: Strange problem on android devices

Post by Gert » Fri Aug 09, 2013 7:20 pm

Hello Maeg,

at first you should validate your site. Maybe some modern Android browsers are not so tolerant.

template.htm:

Code: Select all

<div id="menu">
<div class="multi_drop_menus"><?php //echo xli($hc,'menulevel')?>
<li class="forside"><a href="/?Forside">Forside</a></li>
<li class="tilbud"><a href="/userfiles/tilbud.pdf" target="_blank">Tilbud</a></li>
<li class="forside"><a href="/?Profil">Profil</a></li>
<li class="forside"><a href="/?Salgs-_og_leveringsbetingelser">Salgs- og leveringsbetingelser</a></li>
<li class="kontakt"><a href="/?Kontakt">Kontakt</a></li></div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>
For example here are <li>'s with no <ul> around,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Strange problem on android devices

Post by cmb » Fri Aug 09, 2013 7:43 pm

Gert wrote:at first you should validate your site. Maybe some modern Android browsers are not so tolerant.
Good point.

I noticed other JS related issues: on the start page there's an error; apparently Slideshow can't handle a single picture (I shall fix that, but for now you may disable the slideshow, if there's only one image). On the "Profil" page, there's an error caused by Floating Blocks; I'm not sure why, but apparently the expected element #dyn_menu is missing on the page.
Christoph M. Becker – Plugins for CMSimple_XH

maeg
Posts: 525
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark
Contact:

Re: Strange problem on android devices

Post by maeg » Sat Aug 10, 2013 8:35 am

Hi

Jeps - ofcourse there haveto ba a "ul" my fault.

I got it soloved, it was the font type that andorid did't like, so i add a otf - and that soloved the problem.


Thx for u input.

Have a nice day

/
Jens

Post Reply