• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Admin

Well-Known Member
Staff member
Administrator
Bắt đầu vào việc thôi đầu tiên ta tạo 3 trang có tên như sau têntrang_web.html : dành cho vào bằng trình duyệt web têntrang_mobile.html : dành cho mobile têntrang_touch.html :dành cho trình duyệt ipad , iphone Rồi ta post code sau vào index
Code:
<xt:include file="/duong dan/têntrang_<xt id="get_device_template"/>.html"/>
Sau đó ta làm 3 css cho 3 trình duyệt web.css mobile.css touch.css Sau đó ta post code sau vào header
Code:
<link rel="stylesheet" type="text/css" href="/<xt id="get_device_template"/>.css"/>
Demo : đây
 
Tao 3 file: index_web.html;
index_mobile.html;
index_touch.html;
Nhu vay co phai khi truy cap tu pc, mobile, iphone thi se hjen thj 3 file tuong ung, dung khong chi admin?
 
Neu nhu vay thi file index dung de lam gi nua... co 3 file mac dinh kia roi thi index con chuc nang gi nua... +:)]
 
Uh
 
Mình dùng ảnh đại diện girl xinh nhưng là boy nhé đừng nhầm, thôi chuẩn bị thay avatar thôi ko nhầm to
 
Phát này phải thay avatar thôi không thì nhầm.vn mất
 
Mình dùng ảnh đại diện girl xinh nhưng là boy nhé đừng nhầm, thôi chuẩn bị thay avatar thôi ko nhầm to

Ghe wa... hjhj...
Ak mak, em lam dk roi nay. nhung em chi ap dung ma nguon thoi. neu trong cac mem, ai hieu dk ban chat cua no thi ap dung cung rat rong va rat kha quan... de minh giai thich voi cac mem nhek! vi du ve chuyen huong file cho pc, mobile, iphone:
lay vi du voi file ex: ban dau, Tao 3 file: - exmobile
- exweb.
- extouch.
!! dan code chuyen huong nay vao file ex:<script>window.location="/ex<xt id="get_device_template"/>";</script>...
 
Cac ban member dung thac mac nhieu nhek, cu lam thu di moi hieu... :)]
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Yeukodamnoi Share Share code auto like Facebook - Bấm vào đâu cũng like All Shared Scripts 3
Yeukodamnoi [JohnCMS] Share code auto tag lấy từ kết quả hiển thị của Google Johncms 0
K Share code filelist auto gét ảnh đại diện đẹp All Shared Scripts 0
K Share Share code filelist auto gét ảnh đại diện v1 All Shared Scripts 1
Admin [Share] code auto wap/web xtgem bằng css HTML & CSS 1
Admin Share code auto phát hiện trình duyệt Mã nguồn wap 0
Admin Share code auto backup data Mã nguồn web 0
Admin Share code auto wap/web toàn trang cho xtgem chưa nâng cấp vinhbao3g.com Wap builder, wapego, xtgem, wen.ru, wapka, wap4 29
Admin Share code auto backup code và data chuẩn Mã nguồn wap 14
Admin Share code free auto backlink Mã nguồn wap 1
Admin Share code auto wap web cho tất cả mã nguồn PHP 4
Admin [Share] code auto wap/web cho xtgem Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
Admin [Share] code auto leech, cực hot Vbulletin 12
Admin Share 15GB source code Android bao gồm Unity Android, iOS 5
Admin Share code Nukeviet 4.4.02 mới nhất - Code tin tức tốt nhất Việt Nam Mã nguồn web 3
Admin Share code và data game bài Gowin 2019 mới nhất Mã nguồn web 9
Npnken Share Share code shop nick tự động - shopbumma.com PHP 3
SuperTroll Share code chat cho wap4.co Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
SuperTroll Share Code đua Pet cho MXH Team Johncms 0
SuperTroll Share Code JohnCMS Mefun.VN Johncms 0
L Share Full Code Gocvn.Org Johncms 1
cuongpro9x Share Share Code Chia Sẻ Video Cực Đẹp Nhiều Chức Năng All Shared Scripts 1
MrTrieu Share Share code blog JohnCMS làm wap game, truyện, blog thủ thuật đẹp Johncms 2
cuongpro9x Share Share Code Get Link Max BW onbox All Shared Scripts 1
H Share Share Full code VBB openitvn.net Vbulletin 1
H Share Share code game oẳn tù tì lột đồ girl cho JohnCMS by Nguyên Ary Johncms 1
H Share Share code và data WapIT JohnCMS 4.5.1 Johncms 0
T Share Tổng Hợp Code Tool Mod Java Online [full] All Shared Scripts 0
cuongpro9x Share Share code MXH Avatar trên wap VINA4U.MOBI PREMIUM Johncms 14
H Share [XtGem] Share code lấy id tag tên và ảnh b.bè trên FaceBook Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
H Share Share Code GhCMS - code giúp cho việc tạo wap trên WapMienPhi thật đơn giản Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
H Share Share Code sao lưu, Phục Hồi CSDL Cực Cool chỉ 1 file duy nhất All Shared Scripts 0
H Share Share code Wilib mod giống trasua.mobi All Shared Scripts 0
T Hỏi Anh em pro nào có code này share em với ạ ! Wordpress 1
NhokLove Share Share lại code nhật ký love All Shared Scripts 3
T Share tổng hợp code tiện ích của gocvn PHP 0
T Share code wap chat PHP v1.3 PHP 0
T SHARE Code cùng chuyên mục blog xtgem Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
T Share Code xóa quảng cáo Xtgem bằng css Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
V Share - Code blog JohnCMS làm wap game, truyện Johncms 5
V Share Share code filelist 99% không time out + toolpost cho xtgem by Sắt Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
T Share Share Code Mod Thay đổi Màu Nick Tùy Ý Cho Johncms Johncms 1
H Code m4um giống m4v 99% share by F4v Johncms 1
H ai share giup e code upload voi Mã nguồn wap 1
K Share Share code fake sms củamobiviet.vn đang dùng All Shared Scripts 1
Kayashiteru Share code đánh dấu trang Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
Kayashiteru Share Share code chống reg nick quá 3 lần trên 1 IP All Shared Scripts 0
Kayashiteru Share share code igunny.ml pb v3 fix sach loi va có nhieu game mini All Shared Scripts 2
djdungcuty Share Share Code trang trí cho website đón Tết cực đẹp Javascript/ajax 1
KhangSkull Share code Bazar Shop - Template bán hàng cực đẹp Wordpress v2.0.0 Wordpress 5

Similar threads

New posts New threads New resources

Back
Top