In my ABMaterial project I have a quite trivial but none the less annoying little problem.
In the top LH corner of each page I have a little message "desktop" or "phone" appearing, depending on the device I am using.
Looking at the page source I find a line:
<div id="devicetype" class="hide no-print">desktop</div>
Which I can subsequently suppress with a bit of in-line javascript:
divDevicetype.style.display = 'none';
This works but the message is momentarily visible as the page is loaded - between when the div is executed and the javascript is run.
Is there a way to completely hide this?
Thanks in anticipation...
In the top LH corner of each page I have a little message "desktop" or "phone" appearing, depending on the device I am using.
Looking at the page source I find a line:
<div id="devicetype" class="hide no-print">desktop</div>
Which I can subsequently suppress with a bit of in-line javascript:
divDevicetype.style.display = 'none';
This works but the message is momentarily visible as the page is loaded - between when the div is executed and the javascript is run.
Is there a way to completely hide this?
Thanks in anticipation...