1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | < html > < head > < meta http-equiv = "content-type" content = "text/html; charset=euc-kr" > < title >제목 없음</ title > </ head > < script language = "javascript" > function abc() { id01.innerHTML = "bbb"; } function abcd() { id01.innerHTML = "aaa"; } </ script > < body bgcolor = "white" text = "black" link = "blue" vlink = "purple" alink = "red" > < table > < tr > < td onmouseover = "abc();" onmouseout = "abcd();" >< span id = "id01" >id</ span ></ td > </ tr > </ table > </ body > </ html > --------------------------------------------------------------------------------------------------------------------------- 제 목 : [js] span_보이기 안보이기 날 짜 : 2006/08/15 02:17 기 타 : < html > < head > < SCRIPT LANGUAGE = "javascript" > function op(){ document.all.opt.style.display="block" } function op1(){ document.all.opt.style.display="none" } </ script > </ head > < body > < form name = "a" > < input type = "radio" name = "insa_org_nm" onclick = "op()" > 보이기 < input type = "radio" name = "insa_org_nm" onclick = "op1()" > 안보이기 < span id = "opt" value = "123" style = "display:none" >121213</ span > </ form > </ body > </ html > |