Click to See Complete Forum and Search --> : What is this type of script called?


polaatx2
12-18-2002, 03:38 PM
The script on this page:
http://www.aasg.info/pages/show_region_test.htm

What is this type of script called and where can I get something like it? I am sort of desparate. Thanks in advance.

sciguyryan
08-09-2003, 08:57 AM
hi,


here's the script:


<html>
<head>
<title>Javascript 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<TABLE cellSpacing=5 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height="38"> <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TBODY>
<TR bgColor=#cccceb>
<TD vAlign=top noWrap bgcolor="#FFCC00"><B><FONT face=Arial,Helvetica
color=#000099 size=2>
<SCRIPT>
function dont_show(what){
dont_show_img=new Image();
dont_show_img.src='/cgi-bin/show_me?wrap=1&page=dont_show&dont_show_this=dont_show.'+what+'&this_cgi=site_admin&this_value=off';
if (document.getElementById(what+'_all')){
document.getElementById(what+'_all').style.display="none";
}
if (document.getElementById(what+'_maxmin')){
document.getElementById(what+'_maxmin').style.display="none";
}
}
function maximinmize(what){
im=document.getElementById('maxmin_'+what)
status=im.src.replace(/.*(...).gif/,"$1");
max_img=new Image();
max_img.src='/cgi-bin/show_me?wrap=1&page=dont_show&dont_show_this=dont_show.'+what+'&this_cgi=site_admin&this_value='+status;
if (status=="min"){
if (document.getElementById(what+'_maxmin')){
document.getElementById(what+'_maxmin').style.display="none";
}
im.src='../images/max.gif';
} else {
if (document.getElementById(what+'_maxmin')){
document.getElementById(what+'_maxmin').style.display="";
}
im.src='../images/min.gif';
}
}
</SCRIPT>
<a href="javascript:maximinmize('bookmark_section');"><IMG
src="../images/min.gif" width="14" height="14" border=0
align=absMiddle
id=maxmin_bookmark_section></a>&nbsp;<font color="#000000">Email
This Page</font></FONT></B></TD>
<TD align=right vAlign=top noWrap bgcolor="#FFCC00"><A
href="javascript:dont_show('bookmark_section');"><IMG
src="../images/x.gif"
alt="Don't show this any more" width="14" height="14" border=0
align=absMiddle
id=dont_show_bookmark_section
TYPE="IMAGE"></A></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<DIV id=bookmark_section_maxmin>
<TABLE width="100%" border=1 cellPadding=5 cellSpacing=0 bordercolor="#FFCC00">
<TBODY>
<TR>
<TD> <form name="form1" method="post" action="<%=OE_PageName%>">
<table border="0" cellpadding="5" cellspacing="0" class="normaltext">
<tr>
<td width="153" align="right">Your email:</td>
<td width="228"><input name="senders" type="text" id="senders"></td>
</tr>
<tr>
<td align="right">Recipient's email:</td>
<td><input name="recepients" type="text" id="recepients"></td>
</tr>
<tr>
<td align="right">Your message (if any):</td>
<td><textarea name="UDNmessage" rows="2" wrap="VIRTUAL" id="UDNmessage">Here's a page from AASG.info...</textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="Submit" value="Send Page"></td>
</tr>
</table>
<input type="hidden" name="UDN_EXT_Submit" value="True">
</form></TD>
</TR>
</TBODY>
</TABLE>
<br>
</div>
</body>
</html>