Your SlideShare is downloading. ×
Visual keyboard와 tomcat설치 및 이클립스 동기화
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Visual keyboard와 tomcat설치 및 이클립스 동기화

141
views

Published on

Published in: Business, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
141
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. <body><form name="textform" method="post" action="."><center><textarea name="inputarea" id="inputarea"></textarea></center></form><!--키보드를 위한 테이블 Tag키보드 칸은 가운데 정렬을 위해 <th> Tag를 사용--><table border=2 name="Nkeyboard" id="nkey"> // 기본키보드</table><table border=2 name="CLkeyboard" id="lkey"> // CapsLock키가 눌린 키보드</table><table border=2 name="SHkeyboard" id="skey"> // Shift키가 눌린 키보드</table></body>
  • 2. <style type="text/css">#inputarea{width:1000px;background:#eef;height:150px;resize:none;}#nkey{position:relative;margin-left:auto;margin-right:auto;display:table;}#skey{position:relative;margin-left:auto;margin-right:auto;display:none;}#lkey{position:relative;margin-left:auto;margin-right:auto;display:none;}</style>
  • 3. var KeyMode;function clickKey(value){var buffer = document.getElementById("inputarea");if(KeyMode == SH){changeMode(KeyMode);KeyMode = null;}buffer.focus();if(value==bc){buffer.innerHTML = buffer.innerHTML.substring(0, buffer.innerHTML.length-1);} else {buffer.innerHTML += value;}}
  • 4. function changeMode(value){KeyMode = value;var nkey = document.getElementById("nkey");var skey = document.getElementById("skey");var lkey = document.getElementById("lkey");switch(value){case SH :if(skey.style.display == "none"){nkey.style.display = "none";lkey.style.display = "none";skey.style.display = "table";} else {skey.style.display = "none";nkey.style.display = "table";}break;case CL :if(lkey.style.display == "none"){nkey.style.display = "none";skey.style.display = "none";lkey.style.display = "table";} else {lkey.style.display = "none";nkey.style.display = "table";}break;}