WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
By the way, does anyone know where I can find a decent HTML or WebsiteBaker template that look good on mobile devices? Specifically what I am looking for is a layout that looks good on devices like both Blackberries and iPhones without the need to zoom in. Open Source or similar licensing is prefered.
<?phpif (isMobile()) {echo '<a href="/pages/home.php?showmobile=1">Mobile site</a> | <a href="/pages/home.php">Normal site</a>';} else {echo '<a href="/pages/home.php">To the website</a>';}?>
<?php if (isset($_GET['showmobile'] && $_GET['showmobile'] == 1) { $_SESSION['css'] = 'mobile.css';} elseif (!isset($_SESSION['css'])) { $_SESSION['css'] = 'normal.css';}?>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" /><link rel="stylesheet" href="handheld.css" type="text/css" media="[b]handheld[/b]" /><link rel="stylesheet" href="print.css" type="text/css" media="print" />
<link rel="stylesheet" href="stylePhone2.css" type="text/css" media="only screen and (max-device-width: 480px)" />
<?phpif (isMobile()) { include('mobile.php'); return;}?>