팝업,링크창 입력값받아 만들어주는스크립트 정보
javascript 팝업,링크창 입력값받아 만들어주는스크립트본문
<html>
<head>
<title>script.ne.kr-팝업,링크창 입력값받아 만들어주는스크립트</title>
</head>
<body>
<p><b>본자료는 제작자의 자존심이 있음에 원본(90%) 로 올렸습니다.</b></p>
<script language="javascript">
var posval,infocus,settings,mywidth,myheight,mytop,myleft,mylink;
var loc,toolb,statusb,menub,direc,scrollb,resiz,depend;
var mstr='';
settings='';
function checkvalue(mycontrol)
{
if(isNaN(mycontrol.value)!=false)
{
alert('The value of this field ( '+mycontrol.name+' ) needs to be a number.');
mycontrol.focus();
mycontrol.select();
}
}
function GenerateCode()
{
document.frm.gencode.enabled=false;
var BadChars=new Array
(
" ",
"'",
"!",
"@",
"#",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"=",
"+",
"|",
"[",
"]",
"{",
"}",
"]",
";",
":",
",",
"<",
".",
">",
"/",
"?");
var functionname=document.frm.txtFunctionname.value;
var popupname=document.frm.txtPopupname.value;
if(document.frm.txtFunctionname.value=='')
{
alert("Please enter a Function Name of atleast one character");
document.frm.txtFunctionname.focus();
return
}
for(var i=0;i<BadChars.length;i++)
{
if(functionname.indexOf(BadChars[i])!=-1)
{
alert('The function name can NOT have a " '+BadChars[i]+' " in it.');
document.frm.txtFunctionname.value="";
document.frm.txtFunctionname.focus();
return;
}
}
if(document.frm.txtPopupname.value=='')
{
alert("Please enter a Popup Name of atleast one character");
document.frm.txtPopupname.focus();
return
}
for(var i=0;i<BadChars.length;i++)
{
if(popupname.indexOf(BadChars[i])!=-1)
{
alert('The Popup name can NOT have a " '+BadChars[i]+' " in it.');
document.frm.txtPopupname.value="";
document.frm.txtPopupname.focus();
return;
}
}
if(document.frm.rdFocus[0].checked)
{
infocus='front';
}
else
{
infocus='back';
}
if(infocus=='front')
{
var winfocus="win.focus();"
var mywinfocus='';
}
else
{
var winfocus="win.blur();";
var mywinfocus="return false \" onFocus= \"this.blur();\"";
}
mywidth=document.frm.txtWidth.value;
myheight=document.frm.txtHeight.value;
mytop=document.frm.txtTop.value;
myleft=document.frm.txtLeft.value;
posval='custom';
if(document.frm.rdwindow[0].checked){posval='fullscreen';}
if(document.frm.rdwindow[1].checked){posval='center';}
if(document.frm.rdwindow[2].checked){posval='random';}
if(document.frm.rdlink[0].checked){mylink='standard';}
if(document.frm.rdlink[1].checked){mylink='formbutton';}
if(document.frm.rdlink[2].checked){mylink='formload';}
if(document.frm.rdlink[3].checked){mylink='formunload';}
loc=(document.frm.chkLocation.checked)?'yes':'no';
toolb=(document.frm.chkToolbar.checked)?'yes':'no';
statusb=(document.frm.chkStatusbar.checked)?'yes':'no';
menub=(document.frm.chkMenubar.checked)?'yes':'no';
direc=(document.frm.chkDirectories.checked)?'yes':'no';
scrollb=(document.frm.chkScrollbar.checked)?'yes':'no';
resiz=(document.frm.chkResizable.checked)?'yes':'no';
depend=(document.frm.chkDependant.checked)?'yes':'no';
if(posval=='fullscreen')
{
settings='fullscreen';
}
else
{
if(posval=='center')
{
myleft=(screen.width-mywidth)/2;
mytop=(screen.height-myheight)/2;
settings="width=" + mywidth + ",height=" + myheight + ",left=" + myleft + ",top=" + mytop + ",location=" + loc + ",toolbar=" + toolb + ",status=" + statusb + ",menubar=" + menub + ",directories=" + direc + ",scrollbars=" + scrollb + ",resizable=" + resiz + ",dependent=" + depend + "'";
}
else
{
if(posval=='random')
{
myleft=(screen.width)?Math.floor(Math.random()*(screen.width-mywidth)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-myheight)-75)):100;
settings="width=" + mywidth + ",height=" + myheight + ",left=" + myleft + ",top=" + mytop + ",location=" + loc + ",toolbar=" + toolb + ",status=" + statusb + ",menubar=" + menub + ",directories=" + direc + ",scrollbars=" + scrollb + ",resizable=" + resiz + ",dependent=" + depend + "'";
}
else
{
settings="width=" + mywidth + ",height=" + myheight + ",left=" + myleft + ",top=" + mytop + ",location=" + loc + ",toolbar=" + toolb + ",status=" + statusb + ",menubar=" + menub + ",directories=" + direc + ",scrollbars=" + scrollb + ",resizable=" + resiz + ",dependent=" + depend + "'";
}
}
}
var htmltext="<SCRIPT LANGUAGE=\'JAVASCRIPT\' TYPE=\'TEXT/JAVASCRIPT\'>\n ";
htmltext=htmltext + "<!--\n";
htmltext=htmltext + "/****************************************************\n";
htmltext=htmltext + " AUTHOR: WWW.CGISCRIPT.NET, LLC\n";
htmltext=htmltext + " URL: http://www.cgiscript.net\n";
htmltext=htmltext + " Use the code for FREE but leave this message intact.\n";
htmltext=htmltext + " Download your FREE CGI/Perl Scripts today!\n";
htmltext=htmltext + " ( http://www.cgiscript.net/scripts.htm )\n";
htmltext=htmltext + "****************************************************/\n";
htmltext=htmltext + "var win=null;\n";
htmltext=htmltext + "function NewWindow(mypage,myname,w,h,pos,infocus){\n";
if(document.frm.txtDaystoPopup.value > 0){
htmltext=htmltext + "if(GetCookie(\"sid\") == \"999\"){return;}\n";
htmltext=htmltext + "document.cookie=\"sid=999; Path=/; Expires= \" + getFuture("+document.frm.txtDaystoPopup.value+");\n";
}
htmltext=htmltext + "if(pos==\"random\"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}\n";
htmltext=htmltext + "if(pos==\"center\"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}\n";
htmltext=htmltext + "else if((pos!=\'center\' && pos!=\"random\") || pos==null){myleft=0;mytop=20}\n";
htmltext=htmltext + "settings=\"width=\" + w + \",height=\" + h + \",top=\" + mytop + \",left=\" + myleft + \",scrollbars=" + scrollb + ",location=" + loc + ",directories=" + direc + ",status=" + statusb + ",menubar=" + menub + ",toolbar=" + toolb + ",resizable=" + resiz + "\";";
htmltext=htmltext + "win=window.open(mypage,myname,settings);\n";
htmltext=htmltext + winfocus + "}\n";
if(document.frm.txtDaystoPopup.value > 0){
htmltext=htmltext + "// Cookie functions borrowed from:\n";
htmltext=htmltext + "// Ronnie Moore: Visit him at http://www.ronniemoore.com";
htmltext=htmltext + "\nfunction getFuture(f){\n";
htmltext=htmltext + "var d = new Date();\n";
htmltext=htmltext + "d.setTime(d.getTime() + (86400000 * f));\n";
htmltext=htmltext + "return d;\n";
htmltext=htmltext + "}\n";
htmltext=htmltext + "\nfunction GetCookie (name) {\n";
htmltext=htmltext + "var arg = name + \"=\";\n";
htmltext=htmltext + "var alen = arg.length;\n";
htmltext=htmltext + "var clen = document.cookie.length;\n";
htmltext=htmltext + "var i = 0;\n";
htmltext=htmltext + "while (i < clen) {\n";
htmltext=htmltext + " var j = i + alen;\n";
htmltext=htmltext + " if (document.cookie.substring(i, j) == arg)\n";
htmltext=htmltext + " return getCookieVal (j);\n";
htmltext=htmltext + " i = document.cookie.indexOf(\" \", i) + 1;\n";
htmltext=htmltext + " if (i == 0) break; \n";
htmltext=htmltext + " }\n";
htmltext=htmltext + " return null;\n";
htmltext=htmltext + " }\n";
htmltext=htmltext + "\n";
htmltext=htmltext + "function getCookieVal (offset) {\n";
htmltext=htmltext + "var endstr = document.cookie.indexOf (\";\", offset);\n";
htmltext=htmltext + "if (endstr == -1)\n";
htmltext=htmltext + " endstr = document.cookie.length;\n";
htmltext=htmltext + " return unescape(document.cookie.substring(offset, endstr));\n";
htmltext=htmltext + "}\n";
}
htmltext=htmltext + "// -->\n";
htmltext=htmltext + "<" + "/scr" + "ipt>";
document.frm.txtHTML.value=htmltext;
if(mylink=='standard')
{
document.frm.txtLink.value="<a href=\"javascript:NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">LinkText</a>";
}
if(mylink=='formbutton')
{
document.frm.txtLink.value="<input type=\"button\" name=\"B1\" value=\"Click Me\" onClick=\"NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">";
}
if(mylink=='formload')
{
document.frm.txtLink.value="<body onLoad=\"NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">";
}
if(mylink=='formunload')
{
document.frm.txtLink.value="<body onUnload=\"NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">";
}
document.frm.btnTestpopup.enabled=true;
}
function TestWindow()
{
var mstr='';
if(document.frm.txtHTML.value=='')
{
return;
}
else
{
var win=window.open(document.frm.txtPopupURL.value,document.frm.txtPopupname.value,settings);
if(infocus=='front')
{
win.focus();
}
}
}
function customfullscreenmode()
{
document.frm.chkPopupsize.checked=false;
document.frm.chkPosition.checked=false;
document.frm.txtTop.enabled=false;
document.frm.txtLeft.enabled=false;
document.frm.txtWidth.enabled=false;
document.frm.txtHeight.enabled=false;
}
function customcenter()
{
document.frm.chkPopupsize.checked=true;
document.frm.chkPosition.checked=false;
document.frm.txtTop.value='';
document.frm.txtLeft.value='';
}
function customposition()
{
document.frm.txtTop.enabled=true;
document.frm.txtLeft.enabled=true;
}
function custompopupsize()
{
document.frm.txtWidth.enabled=true;
document.frm.txtHeight.enabled=true;
}
function customrandom()
{
document.frm.chkPopupsize.checked=false;
document.frm.chkPosition.checked=false;
}
</script>
<form name="frm">
<table border="1" cellpadding="5" bordercolor="#000000" cellspacing="0">
<tr>
<td width="100%">
<table border="1" cellspacing="0" cellpadding="3" bordercolor="#EFEFEF" style="border-collapse: collapse">
<tr>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td align="center"><font size="2" face="Tahoma"><b>Function Name</b></font></td>
</tr>
<tr>
<td align="center"><font face="Tahoma" size="2">
<input type="text" name="txtFunctionname" maxlength="50" size="20" value="acewindow"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td align="center"><font size="2" face="Tahoma"><b>Popup Name</b></font></td>
</tr>
<tr>
<td align="center"><font face="Tahoma" size="2">
<input type="text" name="txtPopupname" maxlength="50" size="20" value="acepopup"></font></td>
</tr>
<tr>
<td align="center"><font size="2" face="Tahoma"><b>Location of
Window</b></font></td>
</tr>
<tr>
<td align="center">
<div align="center">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap>
<p align="right">
<font face="Tahoma">
<input type="radio" name="rdFocus" value="front" checked></font></p>
</td>
<center>
<td nowrap><font size="2" face="Tahoma">In Front</font></td>
</tr>
</center>
<tr>
<td nowrap>
<p align="right">
<font face="Tahoma">
<input type="radio" name="rdFocus" value="back"></font></p>
</td>
<center>
<td nowrap><font size="2" face="Tahoma">In Back</font></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" valign="top" align="left">
<p align="center"><font face="Tahoma" size="2"><b>Dimensions</b>
</font><font face="Tahoma"> </font></p>
</td>
</tr>
<tr>
<td width="100%" valign="top" align="left">
<table border="0" width="108%" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2">
<input type="checkbox" value="V2" value name="chkPopupsize" onClick="custompopupsize();">
</font></p>
</td>
<td nowrap><font face="Tahoma" size="2"><b>Popup Size</b>
</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Width<br>
<input type="number" name="txtWidth" maxlength="3" size="10" value="640" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Height<br>
<input type="number" name="txtHeight" maxlength="3" size="10" value="480" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" value="fullscreen" name="rdwindow" onClick="customfullscreenmode();"></font></p>
</td>
<td nowrap><font face="Tahoma" size="2"><b>FullScreen</b></font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" valign="top" align="left">
<p align="center"><font face="Tahoma" size="2"><b>Position</b>
</font></p>
</td>
</tr>
<tr>
<td width="100%" valign="top" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2">
<input type="checkbox" value="V3" name="chkPosition" onClick="customposition();">
</font></p>
</td>
<td nowrap><font face="Tahoma" size="2"><b>Specify</b></font><font face="Tahoma">
</font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Top<br>
<input type="number" name="txtTop" maxlength="4" size="10" value="0" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Left<br>
<input type="number" name="txtLeft" maxlength="4" size="10" value="0" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2"><b>
<input type="radio" value="center" name="rdwindow" onClick="customcenter();">
</b></font></p>
</td>
<td nowrap><font size="2" face="Tahoma"><b>Center</b></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="left"><font face="Tahoma" size="2"><b>
<input type="radio" value="random" name="rdwindow" onClick="customrandom();">
</b></font></p>
</td>
<td nowrap><font size="2" face="Tahoma"><b>Random</b></font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" align="left">
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td valign="top" align="right" colspan="2">
<p align="center"><font face="Tahoma" size="2"><b>Options</b></font><font face="Tahoma">
</font>
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkLocation" value="ON"> </font>
</td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Location Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkDirectories" value="ON">
</font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Directories</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkMenubar" value="ON"> </font>
</td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Menu Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkToolbar" value="ON"> </font>
</td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Tool Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkStatusbar" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Status Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkResizable" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Resizable</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkScrollbar" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Scrollbar</font></td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkDependant" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font size="2" face="Tahoma">Dependant</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2"><b>URL of Window:</b></font></p>
</td>
<td nowrap><font face="Tahoma" size="2">
<input type="text" name="txtPopupURL" maxlength="50" size="50" value="http://www.cgiscript.net"></font><font face="Tahoma">
</font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td rowspan="2">
<p align="right"><font size="2" face="Tahoma"><b>Select Window
Trigger:</b> </font></p>
</td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="standard" checked></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">Standard Link</font></td>
</tr>
</table>
</td>
<td align="left"></td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="formbutton"></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">Form Button</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="formload"></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">When Page Loads</font></td>
</tr>
</table>
</td>
<td align="left"></td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="formunload"></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">When Page Unloads</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<div align="left">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td><font size="2" face="Tahoma"><b>Days to Repeat Popup:</b></font></td>
<td>
<font face="Tahoma">
<input type="text" name="txtDaystoPopup" size="3" value="0"></font></td>
<td><font size="1" face="Tahoma">Hint: enter '0' to popup every
visit. Enter '999' to popup once for each visitor.</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<div align="center">
<center>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap><font face="Tahoma" size="2">
<input type="button" value="Generate Code" name="gencode" onClick="GenerateCode();"></font></td>
<td nowrap><font face="Tahoma" size="2">
<input type="reset" value="Reset"></font></td>
<td nowrap><font size="2" face="Tahoma">
<input type="button" value="Test / View Popup" name="btnTestpopup" onClick="TestWindow();"></font></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p><font face="Tahoma" size="2"><strong>Step 1:</strong>팝업형식 소스</font></p>
<p><font face="Tahoma" size="2">
<input type="button" onClick="document.frm.txtHTML.select();" value="복사하기" name="cmdgrabtext"></font>
<font size="1"><font face="Verdana">Then use Control-C </font>
<font face="Tahoma" size="1">to copy the text into your web page.</font>
</font><font face="Verdana"><font face="Tahoma" size="2"><br>
<textarea name="txtHTML" cols="50" rows="5" wrap="virtual"></textarea></font></p>
<p><font face="Tahoma" size="2"><strong>Step 2:</strong>링크형식소스</font></font><font face="Tahoma" size="2">
or button</font><font face="Tahoma" size="2"><font face="Verdana">. </font>
if you chose 'When Page Loads' or 'When Page Unloads' add the code to the
<BODY> tag of your document.</font></p>
<font face="Verdana">
<p><font face="Tahoma" size="2">
<input type="button" onclick="document.frm.txtLink.select();" value="복사하기" name="cmdgrab1ink">
</font><font size="1">Then use Control-C <font face="Tahoma" size="1">to copy
the text into your web page.</font></font><font face="Tahoma" size="2"><br>
<textarea name="txtLink" cols="50" rows="5" wrap="virtual"></textarea></font></p>
</form>
</body>
</html>
<head>
<title>script.ne.kr-팝업,링크창 입력값받아 만들어주는스크립트</title>
</head>
<body>
<p><b>본자료는 제작자의 자존심이 있음에 원본(90%) 로 올렸습니다.</b></p>
<script language="javascript">
var posval,infocus,settings,mywidth,myheight,mytop,myleft,mylink;
var loc,toolb,statusb,menub,direc,scrollb,resiz,depend;
var mstr='';
settings='';
function checkvalue(mycontrol)
{
if(isNaN(mycontrol.value)!=false)
{
alert('The value of this field ( '+mycontrol.name+' ) needs to be a number.');
mycontrol.focus();
mycontrol.select();
}
}
function GenerateCode()
{
document.frm.gencode.enabled=false;
var BadChars=new Array
(
" ",
"'",
"!",
"@",
"#",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"=",
"+",
"|",
"[",
"]",
"{",
"}",
"]",
";",
":",
",",
"<",
".",
">",
"/",
"?");
var functionname=document.frm.txtFunctionname.value;
var popupname=document.frm.txtPopupname.value;
if(document.frm.txtFunctionname.value=='')
{
alert("Please enter a Function Name of atleast one character");
document.frm.txtFunctionname.focus();
return
}
for(var i=0;i<BadChars.length;i++)
{
if(functionname.indexOf(BadChars[i])!=-1)
{
alert('The function name can NOT have a " '+BadChars[i]+' " in it.');
document.frm.txtFunctionname.value="";
document.frm.txtFunctionname.focus();
return;
}
}
if(document.frm.txtPopupname.value=='')
{
alert("Please enter a Popup Name of atleast one character");
document.frm.txtPopupname.focus();
return
}
for(var i=0;i<BadChars.length;i++)
{
if(popupname.indexOf(BadChars[i])!=-1)
{
alert('The Popup name can NOT have a " '+BadChars[i]+' " in it.');
document.frm.txtPopupname.value="";
document.frm.txtPopupname.focus();
return;
}
}
if(document.frm.rdFocus[0].checked)
{
infocus='front';
}
else
{
infocus='back';
}
if(infocus=='front')
{
var winfocus="win.focus();"
var mywinfocus='';
}
else
{
var winfocus="win.blur();";
var mywinfocus="return false \" onFocus= \"this.blur();\"";
}
mywidth=document.frm.txtWidth.value;
myheight=document.frm.txtHeight.value;
mytop=document.frm.txtTop.value;
myleft=document.frm.txtLeft.value;
posval='custom';
if(document.frm.rdwindow[0].checked){posval='fullscreen';}
if(document.frm.rdwindow[1].checked){posval='center';}
if(document.frm.rdwindow[2].checked){posval='random';}
if(document.frm.rdlink[0].checked){mylink='standard';}
if(document.frm.rdlink[1].checked){mylink='formbutton';}
if(document.frm.rdlink[2].checked){mylink='formload';}
if(document.frm.rdlink[3].checked){mylink='formunload';}
loc=(document.frm.chkLocation.checked)?'yes':'no';
toolb=(document.frm.chkToolbar.checked)?'yes':'no';
statusb=(document.frm.chkStatusbar.checked)?'yes':'no';
menub=(document.frm.chkMenubar.checked)?'yes':'no';
direc=(document.frm.chkDirectories.checked)?'yes':'no';
scrollb=(document.frm.chkScrollbar.checked)?'yes':'no';
resiz=(document.frm.chkResizable.checked)?'yes':'no';
depend=(document.frm.chkDependant.checked)?'yes':'no';
if(posval=='fullscreen')
{
settings='fullscreen';
}
else
{
if(posval=='center')
{
myleft=(screen.width-mywidth)/2;
mytop=(screen.height-myheight)/2;
settings="width=" + mywidth + ",height=" + myheight + ",left=" + myleft + ",top=" + mytop + ",location=" + loc + ",toolbar=" + toolb + ",status=" + statusb + ",menubar=" + menub + ",directories=" + direc + ",scrollbars=" + scrollb + ",resizable=" + resiz + ",dependent=" + depend + "'";
}
else
{
if(posval=='random')
{
myleft=(screen.width)?Math.floor(Math.random()*(screen.width-mywidth)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-myheight)-75)):100;
settings="width=" + mywidth + ",height=" + myheight + ",left=" + myleft + ",top=" + mytop + ",location=" + loc + ",toolbar=" + toolb + ",status=" + statusb + ",menubar=" + menub + ",directories=" + direc + ",scrollbars=" + scrollb + ",resizable=" + resiz + ",dependent=" + depend + "'";
}
else
{
settings="width=" + mywidth + ",height=" + myheight + ",left=" + myleft + ",top=" + mytop + ",location=" + loc + ",toolbar=" + toolb + ",status=" + statusb + ",menubar=" + menub + ",directories=" + direc + ",scrollbars=" + scrollb + ",resizable=" + resiz + ",dependent=" + depend + "'";
}
}
}
var htmltext="<SCRIPT LANGUAGE=\'JAVASCRIPT\' TYPE=\'TEXT/JAVASCRIPT\'>\n ";
htmltext=htmltext + "<!--\n";
htmltext=htmltext + "/****************************************************\n";
htmltext=htmltext + " AUTHOR: WWW.CGISCRIPT.NET, LLC\n";
htmltext=htmltext + " URL: http://www.cgiscript.net\n";
htmltext=htmltext + " Use the code for FREE but leave this message intact.\n";
htmltext=htmltext + " Download your FREE CGI/Perl Scripts today!\n";
htmltext=htmltext + " ( http://www.cgiscript.net/scripts.htm )\n";
htmltext=htmltext + "****************************************************/\n";
htmltext=htmltext + "var win=null;\n";
htmltext=htmltext + "function NewWindow(mypage,myname,w,h,pos,infocus){\n";
if(document.frm.txtDaystoPopup.value > 0){
htmltext=htmltext + "if(GetCookie(\"sid\") == \"999\"){return;}\n";
htmltext=htmltext + "document.cookie=\"sid=999; Path=/; Expires= \" + getFuture("+document.frm.txtDaystoPopup.value+");\n";
}
htmltext=htmltext + "if(pos==\"random\"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}\n";
htmltext=htmltext + "if(pos==\"center\"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}\n";
htmltext=htmltext + "else if((pos!=\'center\' && pos!=\"random\") || pos==null){myleft=0;mytop=20}\n";
htmltext=htmltext + "settings=\"width=\" + w + \",height=\" + h + \",top=\" + mytop + \",left=\" + myleft + \",scrollbars=" + scrollb + ",location=" + loc + ",directories=" + direc + ",status=" + statusb + ",menubar=" + menub + ",toolbar=" + toolb + ",resizable=" + resiz + "\";";
htmltext=htmltext + "win=window.open(mypage,myname,settings);\n";
htmltext=htmltext + winfocus + "}\n";
if(document.frm.txtDaystoPopup.value > 0){
htmltext=htmltext + "// Cookie functions borrowed from:\n";
htmltext=htmltext + "// Ronnie Moore: Visit him at http://www.ronniemoore.com";
htmltext=htmltext + "\nfunction getFuture(f){\n";
htmltext=htmltext + "var d = new Date();\n";
htmltext=htmltext + "d.setTime(d.getTime() + (86400000 * f));\n";
htmltext=htmltext + "return d;\n";
htmltext=htmltext + "}\n";
htmltext=htmltext + "\nfunction GetCookie (name) {\n";
htmltext=htmltext + "var arg = name + \"=\";\n";
htmltext=htmltext + "var alen = arg.length;\n";
htmltext=htmltext + "var clen = document.cookie.length;\n";
htmltext=htmltext + "var i = 0;\n";
htmltext=htmltext + "while (i < clen) {\n";
htmltext=htmltext + " var j = i + alen;\n";
htmltext=htmltext + " if (document.cookie.substring(i, j) == arg)\n";
htmltext=htmltext + " return getCookieVal (j);\n";
htmltext=htmltext + " i = document.cookie.indexOf(\" \", i) + 1;\n";
htmltext=htmltext + " if (i == 0) break; \n";
htmltext=htmltext + " }\n";
htmltext=htmltext + " return null;\n";
htmltext=htmltext + " }\n";
htmltext=htmltext + "\n";
htmltext=htmltext + "function getCookieVal (offset) {\n";
htmltext=htmltext + "var endstr = document.cookie.indexOf (\";\", offset);\n";
htmltext=htmltext + "if (endstr == -1)\n";
htmltext=htmltext + " endstr = document.cookie.length;\n";
htmltext=htmltext + " return unescape(document.cookie.substring(offset, endstr));\n";
htmltext=htmltext + "}\n";
}
htmltext=htmltext + "// -->\n";
htmltext=htmltext + "<" + "/scr" + "ipt>";
document.frm.txtHTML.value=htmltext;
if(mylink=='standard')
{
document.frm.txtLink.value="<a href=\"javascript:NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">LinkText</a>";
}
if(mylink=='formbutton')
{
document.frm.txtLink.value="<input type=\"button\" name=\"B1\" value=\"Click Me\" onClick=\"NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">";
}
if(mylink=='formload')
{
document.frm.txtLink.value="<body onLoad=\"NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">";
}
if(mylink=='formunload')
{
document.frm.txtLink.value="<body onUnload=\"NewWindow('" + document.frm.txtPopupURL.value + "','" + document.frm.txtPopupname.value + "','" + mywidth + "','" + myheight + "','" + posval + "','" + infocus + "');\"" + mywinfocus + ">";
}
document.frm.btnTestpopup.enabled=true;
}
function TestWindow()
{
var mstr='';
if(document.frm.txtHTML.value=='')
{
return;
}
else
{
var win=window.open(document.frm.txtPopupURL.value,document.frm.txtPopupname.value,settings);
if(infocus=='front')
{
win.focus();
}
}
}
function customfullscreenmode()
{
document.frm.chkPopupsize.checked=false;
document.frm.chkPosition.checked=false;
document.frm.txtTop.enabled=false;
document.frm.txtLeft.enabled=false;
document.frm.txtWidth.enabled=false;
document.frm.txtHeight.enabled=false;
}
function customcenter()
{
document.frm.chkPopupsize.checked=true;
document.frm.chkPosition.checked=false;
document.frm.txtTop.value='';
document.frm.txtLeft.value='';
}
function customposition()
{
document.frm.txtTop.enabled=true;
document.frm.txtLeft.enabled=true;
}
function custompopupsize()
{
document.frm.txtWidth.enabled=true;
document.frm.txtHeight.enabled=true;
}
function customrandom()
{
document.frm.chkPopupsize.checked=false;
document.frm.chkPosition.checked=false;
}
</script>
<form name="frm">
<table border="1" cellpadding="5" bordercolor="#000000" cellspacing="0">
<tr>
<td width="100%">
<table border="1" cellspacing="0" cellpadding="3" bordercolor="#EFEFEF" style="border-collapse: collapse">
<tr>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td align="center"><font size="2" face="Tahoma"><b>Function Name</b></font></td>
</tr>
<tr>
<td align="center"><font face="Tahoma" size="2">
<input type="text" name="txtFunctionname" maxlength="50" size="20" value="acewindow"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td align="center"><font size="2" face="Tahoma"><b>Popup Name</b></font></td>
</tr>
<tr>
<td align="center"><font face="Tahoma" size="2">
<input type="text" name="txtPopupname" maxlength="50" size="20" value="acepopup"></font></td>
</tr>
<tr>
<td align="center"><font size="2" face="Tahoma"><b>Location of
Window</b></font></td>
</tr>
<tr>
<td align="center">
<div align="center">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap>
<p align="right">
<font face="Tahoma">
<input type="radio" name="rdFocus" value="front" checked></font></p>
</td>
<center>
<td nowrap><font size="2" face="Tahoma">In Front</font></td>
</tr>
</center>
<tr>
<td nowrap>
<p align="right">
<font face="Tahoma">
<input type="radio" name="rdFocus" value="back"></font></p>
</td>
<center>
<td nowrap><font size="2" face="Tahoma">In Back</font></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" valign="top" align="left">
<p align="center"><font face="Tahoma" size="2"><b>Dimensions</b>
</font><font face="Tahoma"> </font></p>
</td>
</tr>
<tr>
<td width="100%" valign="top" align="left">
<table border="0" width="108%" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2">
<input type="checkbox" value="V2" value name="chkPopupsize" onClick="custompopupsize();">
</font></p>
</td>
<td nowrap><font face="Tahoma" size="2"><b>Popup Size</b>
</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Width<br>
<input type="number" name="txtWidth" maxlength="3" size="10" value="640" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Height<br>
<input type="number" name="txtHeight" maxlength="3" size="10" value="480" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" value="fullscreen" name="rdwindow" onClick="customfullscreenmode();"></font></p>
</td>
<td nowrap><font face="Tahoma" size="2"><b>FullScreen</b></font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" valign="top" align="left">
<p align="center"><font face="Tahoma" size="2"><b>Position</b>
</font></p>
</td>
</tr>
<tr>
<td width="100%" valign="top" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2">
<input type="checkbox" value="V3" name="chkPosition" onClick="customposition();">
</font></p>
</td>
<td nowrap><font face="Tahoma" size="2"><b>Specify</b></font><font face="Tahoma">
</font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Top<br>
<input type="number" name="txtTop" maxlength="4" size="10" value="0" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<font face="Tahoma" size="2">Left<br>
<input type="number" name="txtLeft" maxlength="4" size="10" value="0" onBlur="checkvalue(this);"></font><font face="Tahoma">
</font>
</td>
</tr>
<tr>
<td width="100%" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2"><b>
<input type="radio" value="center" name="rdwindow" onClick="customcenter();">
</b></font></p>
</td>
<td nowrap><font size="2" face="Tahoma"><b>Center</b></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" align="left" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="left"><font face="Tahoma" size="2"><b>
<input type="radio" value="random" name="rdwindow" onClick="customrandom();">
</b></font></p>
</td>
<td nowrap><font size="2" face="Tahoma"><b>Random</b></font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" align="left">
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td valign="top" align="right" colspan="2">
<p align="center"><font face="Tahoma" size="2"><b>Options</b></font><font face="Tahoma">
</font>
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkLocation" value="ON"> </font>
</td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Location Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkDirectories" value="ON">
</font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Directories</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkMenubar" value="ON"> </font>
</td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Menu Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkToolbar" value="ON"> </font>
</td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Tool Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkStatusbar" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Status Bar</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkResizable" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Resizable</font><font face="Tahoma">
</font> </td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkScrollbar" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font face="Tahoma" size="2">Scrollbar</font></td>
</tr>
<tr>
<td valign="top" align="right"><font face="Tahoma" size="2">
<input type="checkbox" name="chkDependant" value="ON"></font></td>
<td valign="top" align="left" nowrap>
<font size="2" face="Tahoma">Dependant</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td nowrap>
<p align="right"><font face="Tahoma" size="2"><b>URL of Window:</b></font></p>
</td>
<td nowrap><font face="Tahoma" size="2">
<input type="text" name="txtPopupURL" maxlength="50" size="50" value="http://www.cgiscript.net"></font><font face="Tahoma">
</font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td rowspan="2">
<p align="right"><font size="2" face="Tahoma"><b>Select Window
Trigger:</b> </font></p>
</td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="standard" checked></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">Standard Link</font></td>
</tr>
</table>
</td>
<td align="left"></td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="formbutton"></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">Form Button</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="formload"></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">When Page Loads</font></td>
</tr>
</table>
</td>
<td align="left"></td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap>
<p align="right"><font size="2" face="Tahoma">
<input type="radio" name="rdlink" value="formunload"></font></p>
</td>
<td nowrap><font size="2" face="Tahoma">When Page Unloads</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<div align="left">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td><font size="2" face="Tahoma"><b>Days to Repeat Popup:</b></font></td>
<td>
<font face="Tahoma">
<input type="text" name="txtDaystoPopup" size="3" value="0"></font></td>
<td><font size="1" face="Tahoma">Hint: enter '0' to popup every
visit. Enter '999' to popup once for each visitor.</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td valign="top" align="left" colspan="4">
<div align="center">
<center>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap><font face="Tahoma" size="2">
<input type="button" value="Generate Code" name="gencode" onClick="GenerateCode();"></font></td>
<td nowrap><font face="Tahoma" size="2">
<input type="reset" value="Reset"></font></td>
<td nowrap><font size="2" face="Tahoma">
<input type="button" value="Test / View Popup" name="btnTestpopup" onClick="TestWindow();"></font></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p><font face="Tahoma" size="2"><strong>Step 1:</strong>팝업형식 소스</font></p>
<p><font face="Tahoma" size="2">
<input type="button" onClick="document.frm.txtHTML.select();" value="복사하기" name="cmdgrabtext"></font>
<font size="1"><font face="Verdana">Then use Control-C </font>
<font face="Tahoma" size="1">to copy the text into your web page.</font>
</font><font face="Verdana"><font face="Tahoma" size="2"><br>
<textarea name="txtHTML" cols="50" rows="5" wrap="virtual"></textarea></font></p>
<p><font face="Tahoma" size="2"><strong>Step 2:</strong>링크형식소스</font></font><font face="Tahoma" size="2">
or button</font><font face="Tahoma" size="2"><font face="Verdana">. </font>
if you chose 'When Page Loads' or 'When Page Unloads' add the code to the
<BODY> tag of your document.</font></p>
<font face="Verdana">
<p><font face="Tahoma" size="2">
<input type="button" onclick="document.frm.txtLink.select();" value="복사하기" name="cmdgrab1ink">
</font><font size="1">Then use Control-C <font face="Tahoma" size="1">to copy
the text into your web page.</font></font><font face="Tahoma" size="2"><br>
<textarea name="txtLink" cols="50" rows="5" wrap="virtual"></textarea></font></p>
</form>
</body>
</html>
추천
0
0
댓글 전체
이거 정말 좋네요.
넷스케이프에서도 잘 됩니다.
넷스케이프에서도 잘 됩니다.
넘 유용한거 만이 올렸져? 초보자들을 위해 일일이 찾아다니지 말구
제가 볼겸 이곳에 올립니다. 모든지 html로 저장을 한다음 실행해보세여
저기 올린것들은 아주 유용한것들입니다.
다음은 맘에 들게 해주시면 핫킬러라는 프로그램 을 선보이겠습니다
웹에 있는 모든소수를 저장해서php로 구동시켜주는 프로그램인데
이곳에 올리기는쫌 그렇네여 암호해독기능까지 있다구 하니.
php초보분들은말구 고수라면 누구나 swf 의 하얀배경으로
비번이 php서버로 전송된다네여. 마이크로사의 보안결점이겠져^^
그
제가 볼겸 이곳에 올립니다. 모든지 html로 저장을 한다음 실행해보세여
저기 올린것들은 아주 유용한것들입니다.
다음은 맘에 들게 해주시면 핫킬러라는 프로그램 을 선보이겠습니다
웹에 있는 모든소수를 저장해서php로 구동시켜주는 프로그램인데
이곳에 올리기는쫌 그렇네여 암호해독기능까지 있다구 하니.
php초보분들은말구 고수라면 누구나 swf 의 하얀배경으로
비번이 php서버로 전송된다네여. 마이크로사의 보안결점이겠져^^
그