Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Window Dimensions/Position Script Help
Old 03-21-2004, 07:47 PM Window Dimensions/Position Script Help
KRYPTOR's Avatar
Skilled Talker

Posts: 62
Name: Ray
Location: Illinois
Trades: 0
<script LANGUAGE="javascript">
function win() {
msg=window.open{"Rate.html","","height=200,width=2 00,left=100,top=100");
msg.document.write("<html><title>Windows!</title>");
msg.document.write("<body bgcolor='white' onblur=window.close()>");
msg.document.write("<center>page content here</center>");
msg.document.write("</body></html><p>");
}
</script>


Lets Say that my file name is Rate.html.

OK the area that says page content here is where I put my html script?

Can someone please incorporate the following script below for me into
the above javascript to show me how this works!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<FORM METHOD="POST" ACTION="http://cgi26.Freedback.com/mail.pl">


<!-- Submissions are emailed to: -->
<INPUT TYPE="hidden" NAME="to" VALUE="prolongit@hotmail.com">
<!-- Subject of emails: -->
<INPUT TYPE="hidden" name="subject" VALUE="Freedback.com Form: http://www.savemoneytoo.com/">
<!-- URL (web address) of form: -->
<INPUT TYPE="hidden" NAME="form" VALUE="http://www.savemoneytoo.com/">
<!-- Form administrator: -->
<INPUT TYPE="hidden" NAME="admin" VALUE="prolongit@hotmail.com">
<!-- Website intended audience (general, kids, adults): -->
<INPUT TYPE="hidden" NAME="audience" VALUE="67656e6572616c47">
<!-- Website language: -->
<INPUT TYPE="hidden" NAME="language" VALUE="en">
<!-- Visible elements: -->

<table width="100%" bgcolor="#134c39" cellpadding="0" cellspacing="0" border="2" bordercolor="#000000">
<TR><TD><font face="arial" size="4" color="#E0D77C"><B><U><CENTER>Site Review</CENTER></U></B></font></td></tr>

<!-- Full name of user -->
<table width="100%" bgcolor="#134c39" border="1" bordercolor="#000000">
<TR><td width="416"><font face="arial" size="3" color="#E0D77C"><b><CENTER>Your First Name & Last Initial:</b></font><font face="arial" size="2" color="#E0D77C"><B>(John S.)</b></font>
<INPUT TYPE="text" NAME="name" SIZE="30"></CENTER></td>
<TD width="450"><font face="arial" size="3" color="#E0D77C"><b><CENTER>Your Email Address:</b></font><font face="arial" size="2" color="#E0D77C"><B>(<EM>you@aol.com</EM>)</b></font>
<INPUT TYPE="text" NAME="from" SIZE="30"></CENTER></TD></tr></table>

<table width="100%" bgcolor="#028563" border="1" bordercolor="#000000">
<TR><TD width="49%"><font face="arial" size="3" color="#000000"><b><CENTER>Save Money Too</CENTER></B></font></TD>
<TD width="10%" align="center"><font face="arial" size="2" color="#000000"><b>Poor<BR>(1)</b></font></TD>
<TD width="10%" align="center"><font face="arial" size="2" color="#000000"><b>Fair<BR>(2)</b></font></TD>
<TD width="10%" align="center"><font face="arial" size="2" color="#000000"><b>Good<BR>(3)</b></font></TD>
<TD width="10%" align="center"><font face="arial" size="2" color="#000000"><b>Great<BR>(4)</b></font></TD>
<TD width="12%" align="center"><font face="arial" size="2" color="#000000"><b>Excellent<BR>(5)</b></font></TD>
</b></font></table>

<table width="100%" bgcolor="#028563" border="1" bordercolor="#000000">
<TR><td width="49%"><font face="arial" size="3" color="#000000"><b>Site Appearance:</B></font>
<font face="arial" size="2" color="#000000"><B>How is the overall color coordination and photo/animation quality?</TD>
<TD width="10%" align="center"><INPUT TYPE="radio" NAME="Site Appearance" VALUE="1 Star"></TD>
<TD width="10%" align="center"><INPUT TYPE="radio" NAME="Site Appearance" VALUE="2 Star"></TD>
<TD width="10%" align="center"><INPUT TYPE="radio" NAME="Site Appearance" VALUE="3 Star" CHECKED></TD>
<TD width="10%" align="center"><INPUT TYPE="radio" NAME="Site Appearance" VALUE="4 Star"></TD>
<TD width="12%" align="center"><INPUT TYPE="radio" NAME="Site Appearance" VALUE="5 Star"></TD>
</b></font></table>

<table width="100%" bgcolor="#028563" border="1" bordercolor="#000000">
<TR><td width='49%'><font face=arial size=3 color=#000000><b>Site Content:</B></font>
<font face="arial" size="2" color="#000000"><B>What is the quality of the site content and presentation? Was it original?</b></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Content" VALUE="1 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Content" VALUE="2 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Content" VALUE="3 Star" CHECKED></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Content" VALUE="4 Star"></TD>
<TD width='12%' align='center'><INPUT TYPE="radio" NAME="Site Content" VALUE="5 Star"></TD>
</b></font></table>

<table width="100%" bgcolor="#028563" border="1" bordercolor="#000000">
<TR><td width='49%'><font face=arial size=3 color=#000000><b>Site Navigation:</B></font>
<font face=arial size=2 color=#000000><B>How easy was it to find the information you needed?</b></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Navigation" VALUE="1 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Navigation" VALUE="2 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Navigation" VALUE="3 Star" CHECKED></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Navigation" VALUE="4 Star"></TD>
<TD width='12%' align='center'><INPUT TYPE="radio" NAME="Site Navigation" VALUE="5 Star"></TD>
</b></font></table>

<table width="100%" bgcolor="#028563" border="1" bordercolor="#000000">
<TR><td width='49%'><font face=arial size=3 color=#000000><b>Site Organization:</B></font>
<font face=arial size=2 color=#000000><B>How well is the site organized? How well does it flow?</b></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Organization" VALUE="1 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Organization" VALUE="2 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Organization" VALUE="3 Star" CHECKED></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Organization" VALUE="4 Star"></TD>
<TD width='12%' align='center'><INPUT TYPE="radio" NAME="Site Organization" VALUE="5 Star"></TD>
</b></font></table>

<table width="100%" bgcolor="#028563" border="1" bordercolor="#000000">
<TR><td width='49%'><font face=arial size=3 color=#000000><b>Site Response:</B></font>
<font face=arial size=2 color=#000000><B>How quickly does the site contents and graphics load?<BR></b></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Response" VALUE="1 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Response" VALUE="2 Star"></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Response" VALUE="3 Star" CHECKED></TD>
<TD width='10%' align='center'><INPUT TYPE="radio" NAME="Site Response" VALUE="4 Star"></TD>
<TD width='12%' align='center'><INPUT TYPE="radio" NAME="Site Response" VALUE="5 Star"></TD>
</b></font></table>

<table width="100%" bgcolor="#134c39">
<TR><TD><font face=arial size=3 color=#E0D77C><b><CENTER>Comments:</b></font><BR><font face=arial size=2 color=#E0D77C><b>Add additional remarks, praise, or constructive criticism.</b></font><BR>
<!-- Comment Box: Comment Box 1 -->
<TEXTAREA NAME="Comment Box 1" ROWS="5" COLS="42" WRAP="hard"></TEXTAREA></CENTER></TD></TR></table>
<!-- Submit Button -->

<table width="100%" bgcolor="#134c39">
<TR><TD width="100%"><CENTER>
<INPUT TYPE="submit" NAME="Submit Button" VALUE="Submit Your Review">
<!-- Reset Button -->
<INPUT TYPE="reset" VALUE="Clear Form"></TD></TR>
<CENTER><table width="100%" bgcolor="#134c39">
<TR><TD width="50%"><font face="arial" size="4" color="#FFFFFF"><b><CENTER>The Average Rating For<BR> This Website Is:</center></b></font></td></tr>
<TR><TD width="50%"><CENTER><font face="arial" size="5" color="#FFFFFF"><b>4.5</B></font></center></td></tr></table>
</table>


OR would it be better to use a Chromeless Window Script Below....


<script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT>

<script>
function openIT() {
theURL="test.html"
wname ="CHROMELESSWIN"
W=400;
H=200;
windowCERRARa = "img/close_a.gif"
windowCERRARd = "img/close_d.gif"
windowCERRARo = "img/close_o.gif"
windowNONEgrf = "img/none.gif"
windowCLOCK = "img/clock.gif"
windowREALtit = " Task title"
windowTIT = "<font face=verdana size=1> Window title</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#999999"
windowTITBGCOLOR = "#999999"
windowTITBGCOLORsel = "#333333"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>

Copy and paste this code into the <BODY> of your document:

<a href="javascriptpenIT();">Open Window</a>


The KRYPTOR
__________________
"What is SEEN is TEMPORAL, What is UNSEEN is ETERNAL".


Please login or register to view this content. Registration is FREE
KRYPTOR is offline
Reply With Quote
View Public Profile Visit KRYPTOR's homepage!
 
 
Register now for full access!
Reply     « Reply to Window Dimensions/Position Script Help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43925 seconds with 12 queries