팝업달력의 선택된 달 이외의 날짜의 글색을 연하게 처리. close 버튼 Wii 적용

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2063 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-27 11:15:28 +00:00
parent f9f9aff634
commit 32944788ef
2 changed files with 11 additions and 6 deletions

View file

@ -56,6 +56,7 @@
<script type="text/javascript" src="../js/xml_handler.js"></script>
<link rel="stylesheet" href="../css/default.css" type="text/css" />
<link rel="stylesheet" href="../css/button.css" type="text/css" />
<link rel="stylesheet" href="../../modules/admin/tpl/css/admin.css" type="text/css" />
<link rel="stylesheet" href="./css/calendar.css" type="text/css" />
@ -152,12 +153,15 @@
$date = date("Y. m. d", mktime(0,0,0,$m, $day, $y));
$date_str = date("Ymd", mktime(0,0,0,$m, $day, $y));
?>
<td class="<?=$class_name?>">
<?if(date("Ymd")==$date_str){?><strong><?}?>
<?if($day){?><a href="#" onclick="selectDate('<?=$date?>','<?=$date_str?>','<?=$callback_func?>');return false;"><?=$day?></a><?}else{?>&nbsp;<?}?>
<?if(date("Ymd")==$date_str){?></strong><?}?>
<?if($m==$month){?>
<?if(date("Ymd")==$date_str){?><strong><?}?>
<?if($day){?><a href="#" onclick="selectDate('<?=$date?>','<?=$date_str?>','<?=$callback_func?>');return false;"><?=$day?></a><?}else{?>&nbsp;<?}?>
<?if(date("Ymd")==$date_str){?></strong><?}?>
<?}else{?>
<span class="disable"><?if($day){?><a href="#" onclick="selectDate('<?=$date?>','<?=$date_str?>','<?=$callback_func?>');return false;"><?=$day?></a><?}else{?>&nbsp;<?}?></span>
<?}?>
</td>
<?
}
@ -172,8 +176,8 @@
</div>
</form>
<div id="popFooter">
<span class="close"><a href="#" onclick="window.close();" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" />close<img src="./images/blank.gif" alt="" class="rightCap" /></a></span>
<div id="popFooter" class="tCenter">
<a href="#" onclick="window.close();" class="button"><span>close</span></a>
</div>
</div>

View file

@ -30,3 +30,4 @@ body { margin:0; padding:0; }
#popBody .calendar .dd td.sun a { color:#c95b53;}
#popBody .calendar .dd .first { height:35px;}
#popBody .calendar .dd .last td { height:35px; border-bottom:none;}
#popBody .calendar .dd td .disable a { color:#CCCCCC; }