태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.
페이지를 읽고 있습니다. ( 아쿠아바다's Blog )
분류 전체보기 (769)
쉐어포인트 (24)
Exchange (12)
SQL (121)
XML (36)
WEB (294)
O / S (97)
삶의향기 (162)
기획 (19)
RSS 피드(IE 7.0부터 기본 지원됩니다. 이전 버전 사용자는 접합한 툴을 사용하세요!!)

폼 툴팁

WEB/HTML/Css/Script 2007/08/16 10:17 by 아쿠아바다
첨부된 JS파일로 간편하게 툴팁 생성



<html>
<head>
 <title>Form field tooltip</title>
 <style type="text/css">
 body{
  background-color:#EEE;
  font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;
 }
 fieldset{
  width:720px;
 }
 </style>
 <link rel="stylesheet" href="css/form-field-tooltip.css" media="screen" type="text/css">
 <script type="text/javascript" src="js/rounded-corners.js"></script>
 <script type="text/javascript" src="js/form-field-tooltip.js"></script>
 
</head>
<body>
<div id="mainContainer">
 <fieldset>
  <legend>Description</legend>
  <div>This is a demo of the form field tooltip script. The tooltip is being displayed when you move focus to one of the inputs on the page.</div>
 </fieldset>
 <fieldset>
  <legend>Form field tooltip example</legend>
 
  <table>
   <tr>
    <td><label for="firstname">First name:</label></td>
    <td><input type="text" id="firstname" name="firstname" tooltipText="Type in your firstname in this box"></td>
   </tr>
   <tr>
    <td><label for="lastname">Last name:</label></td>
    <td><input type="text" id="lastname" name="lastname" tooltipText="Type in your last name in this box"></td>
   </tr>
   <tr valign="top">
    <td><label for="address">Address:</label></td>
    <td><textarea id="address" name="address" tooltipText="This is the box for the address"></textarea></td>
   </tr>
   <tr valign="top">
    <td>Nationality</td>
    <td><select style="width:300px"><option>It covers this select box in IE</option></select></td>
   </tr>
  </table>  
 </fieldset>

</div>

<script type="text/javascript">
var tooltipObj = new DHTMLgoodies_formTooltip();
tooltipObj.setTooltipPosition('right');
tooltipObj.setPageBgColor('#EEEEEE');
tooltipObj.setTooltipCornerSize(15);
tooltipObj.initFormFieldTooltip();
</script>

</body>
</html>

좀더 흥미로운 내용이 많이 있습니다.. HOME > WEB/HTML/Css/Script를 확인하세요
0 Trackback, 0 Comment, :
1  ... 111 112 113 114 115 116 117 118 119  ... 769 
Statistics Graph
Total : 557,403 Today : 33