izikipizi
11-09-2003, 12:21 AM
hi i have this code coming up as a pop window that i use for a short cut at work..
<HTML>
<TITLE>Notes =--= By: Kip Ecklund</TITLE>
<script language=JavaScript>
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=445,height=290');");
<body>
<form><INPUT TYPE="button" VALUE="Links/Programs" onClick="parent.location='links.htm'">
<INPUT TYPE="button" VALUE="Tools" onClick="parent.location='Tools.htm'">
<INPUT TYPE="button" VALUE="Passwords" onClick="parent.location='passwords.htm'">
<INPUT TYPE="button" VALUE="Auto Notes" onClick="parent.location='autonotes.htm'">
<hr>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide this script from older browsers
function WriteIt (story) {
story.result.value = document.write("<BODY>" +"Spoke with " + story.s.value + "... verified information " + story.v.value + "... " + story.r.value + "... Customer called in " + story.p.value + "... Kip Ecklund/Ocala." +
"<p><A HREF='notesandlinks.htm'>New Call</A></P>")
}
//End script hiding -->
</script>
<BODY BACKGROUND="hi5.jpg" text="000000">
<FORM>
<TABLE CELLPADDING="0">
<TD><b>Spoke With:</b></TD><TD><INPUT TYPE=text NAME="s"></TD></TR>
<TR><TD><b>Customer called in:</b></TD><TD><textarea cols="35" rows="5" name="p">
</textarea></TD></TR>
<center><TR><table><TR><TD><b>Verified by:<b></TD><TD><input type=text name="v" value='SSN' size="15"></TD>
<TD><b>RPA:</b></TD><TD><input type=text name="r" value='RPA' size="15"></TD></TR></table></TR></center>
</TABLE>
<center>
<INPUT TYPE="button" VALUE="Finished Notes" onClick="WriteIt(this.form)">
<INPUT TYPE="reset" VALUE=" Clear ">
<BR><INPUT TYPE="hidden" NAME="result">
</form>
</BODY>
</HTML>
can anyone tell me a better form to use.. so i can change new call to a button, and maybe perhaps when you click on finished notes it copies the story to clip board? any ideas would be great thanks.. when i try anything.. then click on finish notes it doesn't process
<HTML>
<TITLE>Notes =--= By: Kip Ecklund</TITLE>
<script language=JavaScript>
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=445,height=290');");
<body>
<form><INPUT TYPE="button" VALUE="Links/Programs" onClick="parent.location='links.htm'">
<INPUT TYPE="button" VALUE="Tools" onClick="parent.location='Tools.htm'">
<INPUT TYPE="button" VALUE="Passwords" onClick="parent.location='passwords.htm'">
<INPUT TYPE="button" VALUE="Auto Notes" onClick="parent.location='autonotes.htm'">
<hr>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide this script from older browsers
function WriteIt (story) {
story.result.value = document.write("<BODY>" +"Spoke with " + story.s.value + "... verified information " + story.v.value + "... " + story.r.value + "... Customer called in " + story.p.value + "... Kip Ecklund/Ocala." +
"<p><A HREF='notesandlinks.htm'>New Call</A></P>")
}
//End script hiding -->
</script>
<BODY BACKGROUND="hi5.jpg" text="000000">
<FORM>
<TABLE CELLPADDING="0">
<TD><b>Spoke With:</b></TD><TD><INPUT TYPE=text NAME="s"></TD></TR>
<TR><TD><b>Customer called in:</b></TD><TD><textarea cols="35" rows="5" name="p">
</textarea></TD></TR>
<center><TR><table><TR><TD><b>Verified by:<b></TD><TD><input type=text name="v" value='SSN' size="15"></TD>
<TD><b>RPA:</b></TD><TD><input type=text name="r" value='RPA' size="15"></TD></TR></table></TR></center>
</TABLE>
<center>
<INPUT TYPE="button" VALUE="Finished Notes" onClick="WriteIt(this.form)">
<INPUT TYPE="reset" VALUE=" Clear ">
<BR><INPUT TYPE="hidden" NAME="result">
</form>
</BODY>
</HTML>
can anyone tell me a better form to use.. so i can change new call to a button, and maybe perhaps when you click on finished notes it copies the story to clip board? any ideas would be great thanks.. when i try anything.. then click on finish notes it doesn't process