묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이벤트줘서 커서모양 바꾸게 할려고 했는데 잘안돼네요..ㅠ_ㅠ
2003.08.10 09:52
<html>
<head>
<style>
<!--
.drag{position:relative;}
-->
</style>
<script language="JavaScript">
var img_style="cursor:url(dora_ido.Ani)";
function big(){
img_style="cursor:move"; //이렇게 하면 커서 안바뀌는건가요 ㅠ_ㅠ? 아웅~아웅~ 알려주세요..
if(img01.width!=754){
img01.width=img01.width+377;
img01.height=img01.height+487;
}else if(img01.width==754){
img01.width=img01.width-377;
img01.height=img01.height-487;
}
//Layer01.width=754;
//Layer01.height=994;
}
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write("<layer id="Layer01" width="377" height="487" top="0" left="0" z-index="1"><img id=img01 src=36.jpg width="377" height="487" border="0" class="drag" style=""+img_style+"" onClick=big();></layer>");
document.close();
//-->
</SCRIPT>
</body>
</html>
<head>
<style>
<!--
.drag{position:relative;}
-->
</style>
<script language="JavaScript">
var img_style="cursor:url(dora_ido.Ani)";
function big(){
img_style="cursor:move"; //이렇게 하면 커서 안바뀌는건가요 ㅠ_ㅠ? 아웅~아웅~ 알려주세요..
if(img01.width!=754){
img01.width=img01.width+377;
img01.height=img01.height+487;
}else if(img01.width==754){
img01.width=img01.width-377;
img01.height=img01.height-487;
}
//Layer01.width=754;
//Layer01.height=994;
}
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write("<layer id="Layer01" width="377" height="487" top="0" left="0" z-index="1"><img id=img01 src=36.jpg width="377" height="487" border="0" class="drag" style=""+img_style+"" onClick=big();></layer>");
document.close();
//-->
</SCRIPT>
</body>
</html>
댓글 2
-
문군[친구]
2003.08.10 12:27
상당히 어려운.... -
steelheart
2003.08.10 13:32
function big() {
if (img01.width != 754) {
img01.width = img01.width + 377;
img01.height = img01.height + 487;
img01.style.cursor = "move";
}
else {
img01.width = img01.width - 377;
img01.height = img01.height - 487;
img01.style.cursor = "url(dora_ido.Ani)";
}
}
:)