WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Device autodetect und redirect bei mobile und "normale HP (http://www.wcm.at/forum/showthread.php?t=244793)

mrdj 24.07.2012 08:35

Device autodetect und redirect bei mobile und "normale HP
 
Hallo Forum

Da ich das erste mal eine doppelseite erstelle (normale und mobile) bin ich etwas ratlos:

Ich würde, im Stammverzeichniss eine index. ?(php, html) benötigen die einen Browser-detect macht und ensprechend dem User auf die passende weitere index-datei automatisch weiterleitet
> wenn mobile device auf ../mobile/index.html
> wenn pc auf ../site/index.html

Ja, ist mir bekannt dass man über 2 verschiedene css dateien das machen kann allerdings wenn nur eine site vorhanden ist. In meinem Fall ist die PC Version eine Flash-seite und die Mobile eine ganz einfache html(extrem abgespeckt)

Danke im Voraus
MrDj

Sloter 24.07.2012 17:40

http://www.com-magazin.de/praxis/det...tml?no_cache=1

mrdj 24.07.2012 20:13

Danke!


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag