paran/[ Script ] 팝업 윈도우를 쉽게 만들어주는 HTML 코드 생성기 webdress 2004. 11. 16. 09:33 이 스크립트는 팝업 윈도우를 쉽게 만들수 있도록 HTML 코드를 생성해주는 스크립트이다.<HTML><HEAD><p><center><font color="navy"><b>▶ </b></font><a href="http://korea.internet.com/channel/list.asp?cid=189&zid=12"><font color="navy"><b>코리아인터넷닷컴 자바스크립트 소스/예제 모음</b></font></a></center><p><script language="javascript"><!--function generate(){if(document.form.toolbar.checked){document.form.hidden2.value="1"}else{document.form.hidden2.value="0"}if(document.form.location.checked){document.form.hidden3.value="1"}else{document.form.hidden3.value="0"}if(document.form.directories.checked){document.form.hidden4.value="1"}else{document.form.hidden4.value="0"}if(document.form.statusbar.checked){document.form.hidden5.value="1"}else{document.form.hidden5.value="0"}if(document.form.menubar.checked){document.form.hidden6.value="1"}else{document.form.hidden6.value="0"}if(document.form.scrollbars.checked){document.form.hidden7.value="1"}else{document.form.hidden7.value="0"}if(document.form.resizable.checked){document.form.hidden8.value="1"}else{document.form.hidden8.value="0"}if(document.form.copyhistory.checked){document.form.hidden9.value="1"}else{document.form.hidden9.value="0"}var tool= document.form.hidden2.valuevar box= document.form.hidden3.valuevar dir= document.form.hidden4.valuevar stat= document.form.hidden5.valuevar menu= document.form.hidden6.valuevar scroll= document.form.hidden7.valuevar resize= document.form.hidden8.valuevar wid= document.form.width.valuevar heigh= document.form.height.valuevar copy= document.form.hidden9.valuevar option="toolbar="+tool+",location="+box+",directories="+dir+",status="+stat+",menubar="+menu+",scrollbars="+scroll+",resizable="+resize+",width="+wid+",height="+heigh+",copyhistory="+copysite="window.open('"+document.form.url.value+"', 'SiteWindow', '"+option+"')"blah='"'document.form.code.value="링크일 경우:\n\n"document.form.code.value+="<a href="+blah+"javascript:"+site+blah+">"+document.form.title.value+"</a>\n\n"document.form.code.value+="버튼일 경우:\n\n"document.form.code.value+="<form name=form><input type='button' value='"+document.form.title.value+"' onClick="+site+blah+"></form>"}// --></script></head><body bgcolor="white" text="black"><center><pre><b>"자바스크립트 팝업 윈도우 코드 생성기"</b></pre><p><font size="2"><i>팝업 윈도우를 만들 때 필요한 HTML 코드 를 쉽게 작성하기 위해 만들어진 스크립트입니다!</i><br>팝업 윈도우를 만드는 방법은 "<a href="http://korea.internet.com/channel/content.asp?nid=12997&kid=13" target="_new"><font color="navy"><b>자바스크립트 기초 다지기 - 11과 : 새로운 윈도우 창 열기</b></font></a>"를 참조하기 바랍니다.</font><hr><p><center><TABLE BORDER="1" CELLSPACING="2" CELLPADDING="0" bordercolordark="white" bordercolorwhite="black"><form name="form"><input type="hidden" value="" name="hidden1"><input type="hidden" value="" name="hidden2"><input type="hidden" value="" name="hidden3"><input type="hidden" value="" name="hidden4"><input type="hidden" value="" name="hidden5"><input type="hidden" value="" name="hidden6"><input type="hidden" value="" name="hidden7"><input type="hidden" value="" name="hidden8"><input type="hidden" value="" name="hidden9"><tr><td colspan=2><br><pre> 페이지 URL: <input type="text" name="url" size=30> 페이지 타이틀: <input type="text" name="title" size=30></pre></td><tr><td><pre><input type="checkbox" name="toolbar">Toolbar <input type="checkbox" name="menubar">Menu Bar<input type="checkbox" name="scrollbars">Scrollbars <input type="checkbox" name="location">Location Box<input type="checkbox" name="directories">Directories<input type="checkbox" name="resizable">Resizable<input type="checkbox" name="statusbar">Status Bar <input type="checkbox" name="copyhistory">Copy History</td></pre><td><pre> Width: <input type="text" name="width" size=15> Height:<input type="text" name="height" size=15></pre></td><tr><td colspan=2><center><br><input type="button" onClick="generate()" value="HTML 코드 생성!"><br><br></center></td><tr><td align=center colspan=2><textarea name="code" rows=8 Cols=50></textarea></td></table></form><p align="center"><a href="/channel/content.asp?kid=13&nid=14762#test"><img src="/images/w_list3.gif" border="0"></a></p></BODY></HTML> 공유하기 게시글 관리 UX : 노트필기 'paran/[ Script ]' Related Articles 슬라이드 효과를 가미한 뉴스 틱커 스크롤바를 따라 다니는 배너 광고 쉽게 만들기 뉴스 속보창 역할을 할 수 있는 스크립트 XML을 이용한 메뉴 스크립트