Tag Archives: mobile friendly

1,693 views

Links too close together Mobile friendly page

Try set bigger line-height of links and font size for example: /*in css*/ .links{ line-height: 48px; font-size: 20px; background-color: rgb(255,204,0); }   /* in html page set class of link*/ <a class="links" href="m.mydomen.com/mypage.html">Blah blah mypage</a>   // or in css … Continue reading

Posted in Android Examples Code, Javascript css html | Tagged , | Comments Off on Links too close together Mobile friendly page
1,694 views

php how detect mobile browser device Android ipad ipod

$user_agent = $_SERVER[’HTTP_USER_AGENT’]; // get the user agent value // look up for string as ipad, ipod, Android, Mobile etc. if(preg_match(’/ipad/i’,$user_agent)){ // we find the word ipad in the user agent } elseif(preg_match(’/android/i’,$user_agent)) { if (preg_match(’/mobile/i’,$user_agent)){ // we find Android … Continue reading

Posted in Smartphone | Tagged | Comments Off on php how detect mobile browser device Android ipad ipod
1,804 views

JavaScript how detect mobile device and get screen width

How detect mobile users on web page by javascript and get width users display. if (navigator.userAgent.match(/Mobi/)) { alert("Mobi"); var w = screen.width; // idTableMain replace with id of main table on your webpage document.getElementById(’idTableMain’).width = w; }

Posted in Android Examples Code, Smartphone | Tagged , | Comments Off on JavaScript how detect mobile device and get screen width
3,063 views

phpbb forum mobile friendly theme style

– download any mobile styles for example http://www.artodia.com/phpbb-styles/mobile/ – unzip style into your forum style folder for example all art_mobile folder copy into 0:/myweb/forum/styles/ – folow instalation istructions http://www.artodia.com/phpbb-styles/mobile/tutorials/mobile-detection/ – check url result on https://www.google.com/webmasters/tools/mobile-friendly

Posted in Android Examples Code, Smartphone | Tagged , | Comments Off on phpbb forum mobile friendly theme style
1,472 views

How to create mobile friendly page

If using WordPress: – update WordPress – download Plugin Any Mobile Theme Switcher and upzip into yourweb/wp-content/plugins/ – open WordPress Dachboard on yourweb – set defalut theme for desktop (Appearance – Theme) – set themes for mobile users Settings – … Continue reading

Posted in Android Examples Code, Smartphone | Tagged , | Comments Off on How to create mobile friendly page