<table width=100% border=1 border-color=#cccccc cellpadding=0 cellspacing="0">
border가 1px이고 cccccc컬러인데
마우스오버시 border 2px에 FF0000 로 변경되게할수있을까요?
가능하다면 소스좀 부탁드립니다.
border가 1px이고 cccccc컬러인데
마우스오버시 border 2px에 FF0000 로 변경되게할수있을까요?
가능하다면 소스좀 부탁드립니다.
댓글 3개
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript">
$(function(){
$("#aa").mouseenter(function(){
$(this).css("border","2px solid #FF0000");
});
$("#aa").mouseleave(function(){
$(this).css("border","1px solid #cccccc");
})
});
</script>
</head>
<body>
<table width="100" id="aa" style="border:1px solid #cccccc;" cellpadding=0 cellspacing="0">
<tr>
<td>11111111</td>
</tr>
</table>
</body>
</html>
<html>
<head>
<title> New Document </title>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript">
$(function(){
$("#aa").mouseenter(function(){
$(this).css("border","2px solid #FF0000");
});
$("#aa").mouseleave(function(){
$(this).css("border","1px solid #cccccc");
})
});
</script>
</head>
<body>
<table width="100" id="aa" style="border:1px solid #cccccc;" cellpadding=0 cellspacing="0">
<tr>
<td>11111111</td>
</tr>
</table>
</body>
</html>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기