<script type="text/javascript">
window.onload = function() {
if((navigator.userAgent.match(/iPhone/i)) ||
(navigator.userAgent.match(/iPod/i)) ||
(navigator.userAgent.match(/iPad/i)) ||
(navigator.userAgent.match(/Android/i)))
{
if(confirm('Voulez vous utilisez la version mobile du site ?'))
{
window.location = "http://www.immocomvous.fr/mobile";
}
}
}
</script>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.