2012. 5. 24. 09:34 Web/javascript
<!--[if lte IE 6]>
<link rel="stylesheet" href="/share/css/ie6.css" type="text/css" media="all">
<script type="text/javascript" src="/share/js/DD_belatedPNG-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.main_news a');
</script>
<![endif]-->
=====================================================================
<ul class="main_news">
<li class="news01">
<h3 id="tab1"><a href="/Board/brd_list.asp?brd_sn=2">공지사항</a></h3>
<ul id="tabscon1">
<li><a href="#">공지사항리스트</a><span class="date">2012-05-23</span></li>
</ul>
</li>
</ul>
모바일 페이지로 넘기기 (0) | 2012.05.24 |
---|---|
폰트 크기 조절 (0) | 2012.05.24 |
스왑이미지 (0) | 2012.05.21 |
화면크기 조절 (0) | 2012.05.21 |
asp mobile session 연결하기 (0) | 2012.05.08 |
2012. 5. 21. 16:13 Web/javascript
<!--body안에 삽입-->
<img src="images/test.jpg" width="100" height="100" onMouseOver="change_img('큰이미지이름')">
폰트 크기 조절 (0) | 2012.05.24 |
---|---|
png 해결 (0) | 2012.05.24 |
화면크기 조절 (0) | 2012.05.21 |
asp mobile session 연결하기 (0) | 2012.05.08 |
페이지 링크 (0) | 2012.04.12 |
2012. 5. 21. 15:51 Web/javascript
var nowZoom = 100;
function zoomIn() {
nowZoom = nowZoom + 20;
if(nowZoom >= 500) nowZoom = 500;
zooms();
}
function zoomOut() {
nowZoom = nowZoom - 10;
if(nowZoom <= 70) nowZoom = 70;
zooms();
}
function zoomReset(){
nowZoom = 100;
zooms();
}
function zooms(){
document.body.style.zoom = nowZoom + '%';
if(nowZoom==60){
alert ("더 이상 축소할 수 없습니다.");
}
if(nowZoom==500){
alert ("더 이상 확대할 수 없습니다.");
}
}
----------------------------------------------------------------
<a href="javascript:zoomIn();"><img src="btn_zoom.gif" alt="화면크기확대" /></a>
png 해결 (0) | 2012.05.24 |
---|---|
스왑이미지 (0) | 2012.05.21 |
asp mobile session 연결하기 (0) | 2012.05.08 |
페이지 링크 (0) | 2012.04.12 |
클릭시 팝업창 띄우기 (0) | 2012.04.12 |
2012. 5. 8. 16:38 Web/javascript
<%
Get_pcFlag = Trim(request("pcFlag"))
mobile_flag = Trim(request("mobile_flag"))
If Get_pcFlag = "Y" Then
Session("pcFlag")="Y"
Else
Session("pcFlag")=""
End If
If mobile_flag = "Y" Then
Session("pcFlag")="Y"
Else
Session("pcFlag")=""
End If
%>
<%If Session("pcFlag") = "" Then%>
<script language='javascript'>
var uAgent = navigator.userAgent.toLowerCase();
var mobilePhones = new Array('iphone','ipod','android','blackberry','windows ce','nokia','webos','opera mini','sonyericsson','opera mobi','iemobile');
for(var i=0;i<mobilePhones.length;i++){
if(uAgent.indexOf(mobilePhones[i]) != -1){
location.href = 'http://www....;
}
}
</script>
<%End If%>
스왑이미지 (0) | 2012.05.21 |
---|---|
화면크기 조절 (0) | 2012.05.21 |
페이지 링크 (0) | 2012.04.12 |
클릭시 팝업창 띄우기 (0) | 2012.04.12 |
팝업 스크립트 (0) | 2012.03.29 |
2012. 4. 12. 14:04 Web/javascript
<script type="text/javascript" src="/js/menu.js"></script>
<a href="javascript:home();">
-------------------------------------------------------
function home(){location.href="/default.asp";}
function h1(){window.open("#", "","");}
function h2(){alert("페이지 준비중입니다.");}
화면크기 조절 (0) | 2012.05.21 |
---|---|
asp mobile session 연결하기 (0) | 2012.05.08 |
클릭시 팝업창 띄우기 (0) | 2012.04.12 |
팝업 스크립트 (0) | 2012.03.29 |
버튼 클릭시 레이어 팝업 띄우기 (0) | 2012.03.23 |