모바일웹에서 전화, 문자, 바탕화면 아이콘 태그 정보
모바일웹에서 전화, 문자, 바탕화면 아이콘 태그본문
1. 바탕화면에 즐겨찾기 추가할때 생기는 바탕화면 아이콘 이미지
<link rel="apple-touch-icon" href="이미지경로" />
2. 전화걸기
<a href="tel:0000-0000">조안전화번호</a>
3. 문자보내기
<a href="sms:*** 개인정보보호를 위한 휴대폰번호 노출방지 ***">조안문자보내기</a>
<link rel="apple-touch-icon" href="이미지경로" />
2. 전화걸기
<a href="tel:0000-0000">조안전화번호</a>
3. 문자보내기
<a href="sms:*** 개인정보보호를 위한 휴대폰번호 노출방지 ***">조안문자보내기</a>
추천
2
2
댓글 2개
<link rel="apple-touch-icon" href="<?php echo G5_URL ?>/favicon.ico">이렇게 넣으면 되는거죠..
아이콘은 ico파일로?
구현해보지는 않았지만..
<script type="text/javascript">
// 접속 핸드폰 정보
var userAgent = navigator.userAgent.toLowerCase();
// 모바일 홈페이지 바로가기 링크 생성
if(userAgent.match('iphone')) {
document.write('<link rel="apple-touch-icon" href="apple-touch-icon.png" />')
} else if(userAgent.match('ipad')) {
document.write('<link rel="apple-touch-icon" sizes="72*72" href="apple-touch-icon.png" />')
} else if(userAgent.match('ipod')) {
document.write('<link rel="apple-touch-icon" href="apple-touch-icon.png" />')
} else if(userAgent.match('android')) {
document.write('<link rel="shortcut icon" href="android.png" />')
}
</script>
<link rel="apple-touch-icon" href="<?php echo G5_URL ?>/favicon.png">
<link rel="shortcut icon" href="<?php echo G5_URL ?>/favicon.png" />
이런 방법도 있네요..
아이콘은 ico파일로?
구현해보지는 않았지만..
<script type="text/javascript">
// 접속 핸드폰 정보
var userAgent = navigator.userAgent.toLowerCase();
// 모바일 홈페이지 바로가기 링크 생성
if(userAgent.match('iphone')) {
document.write('<link rel="apple-touch-icon" href="apple-touch-icon.png" />')
} else if(userAgent.match('ipad')) {
document.write('<link rel="apple-touch-icon" sizes="72*72" href="apple-touch-icon.png" />')
} else if(userAgent.match('ipod')) {
document.write('<link rel="apple-touch-icon" href="apple-touch-icon.png" />')
} else if(userAgent.match('android')) {
document.write('<link rel="shortcut icon" href="android.png" />')
}
</script>
<link rel="apple-touch-icon" href="<?php echo G5_URL ?>/favicon.png">
<link rel="shortcut icon" href="<?php echo G5_URL ?>/favicon.png" />
이런 방법도 있네요..
감사합니다^^