Witam.
Może mi ktoś pomóc przerobić ten skrypt?
<!-- http://WWW.CGISCRIPT.NET, LLC - http://www.cgiscript.net -->
<SCRIPT LANGUAGE="JavaScript">
/* Create the dataset and write to textarea */
function build_it(form) {
form.print_out.value='';
if (form.input1.value != "") {
form.print_out.value="<A HREF\=\"MAILTO\:" +
form.input1.value+"?";
}
if (form.input2.value != "") {
form.print_out.value +="CC=" +
form.input2.value +"&";
}
if (form.input3.value != "") {
form.print_out.value +="BCC=" +
form.input3.value +"&";;
}
if (form.input4.value != "") {
form.print_out.value +="SUBJECT=" +
form.input4.value +"&";
}
if (form.input5.value != "") {
form.print_out.value +="BODY=" +
form.input5.value;
}
form.print_out.value += "\">";
if (form.input6.value != "") {
form.print_out.value +=
form.input6.value;
}
form.print_out.value += "<\/a>\n";
}
</SCRIPT>
<table border="0" width="100%" cellspacing="0" cellpadding="5" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td valign="top" align="left">
<table border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse" width="100%">
<tr>
<td><strong><font face="Tahoma" size="3">Mailto Link Wizard</font></strong><font face="Tahoma" size="3"><br>
</font><font face="Tahoma" size="1">Go to
<a target="_blank" href="http://www.cgiscript.net">http://www.cgiscript.net</a>
for more free tools!</font></td>
<td rowspan="3">
<p align="right"><font face="Tahoma">
<script language="javascript" src="http://www.cgiscript.net/cgi-script/CSIncludes2/js/html.include_call.js">
</script></font></p>
</td>
</tr>
<tr>
<td><font face="Tahoma" size="2"><strong>Description:</strong><br>
Use this wizard to create comprehensive mailto links. Include multiple To:
addresses, multiple Cc: addressees, multiple Bcc: addressees, add subject
text, include some body text and add the text to be used as a link.</font></td>
</tr>
<tr>
<td><font face="Tahoma" size="2"><strong>Directions:</strong><br>
Fill out the form fields below and click "Create Mailto link" button. Use
the 'Grab Text' buttons to select the code within the adjacent textarea.
Then use Control-C or Edit -> Copy to buffer the text for pasting into your
document.</font><p><font face="Tahoma" size="2">See the Mailto link in action
<b>
<a HREF="MAILTO:?CC=, &BCC=&SUBJECT=Check this wizard out!&BODY=One more FREE wizard by the people over at http://WWW.CGISCRIPT.NET, LLC">
HERE</a> </b></font><b><font face="Tahoma" size="3">ť</font></b></p>
</td>
</tr>
</table>
<form name="mailtoForm">
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#F3F3F3" style="border-collapse: collapse">
<tr>
<td align="right" valign="top"><font size="2" face="Tahoma">To:</font></td>
<td><font face="Tahoma"><input type="text" name="input1" size="40"><br>
<font size="1">(separate each with comma)</font></font></td>
</tr>
<tr>
<td align="right" valign="top"><font size="2" face="Tahoma">Cc:</font></td>
<td><font face="Tahoma"><input type="text" name="input2" size="40"><br>
<font size="1">(separate each with comma)</font></font></td>
</tr>
<tr>
<td align="right" valign="top"><font size="2" face="Tahoma">Bcc:</font></td>
<td><font face="Tahoma"><input type="text" name="input3" size="40"><br>
<font size="1">(separate each with comma)</font></font></td>
</tr>
<tr>
<td align="right"><font size="2" face="Tahoma">Subject:</font></td>
<td><font face="Tahoma"><input type="text" name="input4" size="40"></font></td>
</tr>
<tr>
<td align="right"><font size="2" face="Tahoma">Body:</font></td>
<td><font face="Tahoma"><input type="text" name="input5" size="40"></font></td>
</tr>
<tr>
<td align="right"><font size="2" face="Tahoma">Link Text:</font></td>
<td><font face="Tahoma"><input type="text" name="input6" size="40"></font></td>
</tr>
</table>
<div align="left">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<input type="button" value="Create Mailto Link" onClick="build_it(this.form)" name="button"></td>
<td><input type="reset" value="RESET" name="reset"> </td>
</tr>
</table>
</div>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
<td width="100%"><font face="Tahoma" size="2">
<input type="button" onclick="form.print_out.focus();form.print_out.select()" value="Grab Text" name="grab"></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></td>
</tr>
<tr>
<td width="100%"><textarea WRAP name="print_out" rows="5" cols="50"></textarea>
</td>
</tr>
</table>
</form>
<!-- START OF WEBTRENDS LIVE TAG -->
<!-- Copyright 1999-2000 WebTrends Corporation -->
<!-- eCommerce Revenue Tracking (patent pending) -->
<!-- Visit us at http://www.webtrendslive.com -->
<script LANGUAGE="JavaScript">
<!--
var ORDER= "WWW.CGISCRIPT.NET, LLC -- Wide array of webmaster resources. A large amount of FREE quality JavaScripts including a DHTML section, tutorials, forum and online tools, well presented including examples of each script. Free Web Templates offers free website templates and page layouts.";
var SERVER= "http://www.cgiscript.net";
var CONTENTGROUP= "WWW.CGISCRIPT.NET, LLC -- Wide array of webmaster resources. A large amount of FREE quality JavaScripts including a DHTML section, tutorials, forum and online tools, well presented including examples of each script. Free Web Templates offers free website templates and page layouts.";
//-->
</script><script LANGUAGE="JavaScript">
<!--
// Modification of this code is not allowed and will permanently disable your account!
// SiteName: CGI Script.net Easy to Use CGI Scripts - Interactive Perl / CGI Scripts
var W="tagver=3&SiteId=47435&Sid=0013-01-1-5-186899-47435&Tz=-500&firstwkday=sunday&Edition=personal&Button=10";
W+="&server="+escape(SERVER);
W+="&order="+escape(ORDER);
W+="&Group="+escape(CONTENTGROUP);
W+="&browserDate="+escape(new Date());
W+="&title="+escape(document.title);
W+="&url="+escape(window.document.URL);
W+="&referrer="+escape(window.document.referrer);
W+="&appname="+escape(navigator.appName);
W+="&appversion="+escape(navigator.appVersion);
W+="&cookieOK="+(navigator.cookieEnabled?"Yes":"No");
W+="&userLanguage="+(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);
W+="&platform="+navigator.platform;
W+="&bgColor="+escape(document.bgColor);
W+="&javaOK=Yes";
if(typeof(screen)=="object")
{
W+="&screenResolution="+screen.width+"x"+screen.height;
W+="&colorDepth="+screen.colorDepth;
W+="&NSpluginList=";
for( var i=0; i< navigator.plugins.length; i++)
W+=escape(navigator.plugins[i].name)+";";
}
document.write('<A TARGET="_blank" HREF="http://www.webtrendslive.com/redirect.asp?siteID=47435">');
document.write('<IMG BORDER="0" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/S0013-01-1-5-186899-47435/button3.asp?'+W+'">');
document.write('</A>');
//--></script><noscript>
<a TARGET="_blank" HREF="http://www.webtrendslive.com/redirect.asp?siteID=47435"><img BORDER="0" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/S0013-01-1-5-186899-47435/button3.asp?tagver=3&SiteId=47435&Sid=001-00-3-10-6692-7351&Tz=-500&firstwkday=sunday&Edition=personal&Button=10&title=NO%20SCRIPT&url=http://noscript&javaOK=No&"></a></noscript></font><!-- END OF WEBTRENDS LIVE TAG --></td></tr></table>
Na takie coś
Proszę o pomoc ja już nic nie wymyśle męczę to już któryś dzień ale efektów zero.Jeśli podany wyżej skrypt jest błędny i nie da się zrobić z niego takiego cudu jak jest na obrazku to bardzo bym prosił o jakiś zamiennik.
PW od moderatora:
- Zmiana nazwy tematu - Pieka 12.10 - 19:39
- Przeniesienie tematu - Pieka 12.10 - 19:39
Edytowane przez signal dnia 12.10.2009 19:47:47
|