whindoe
07-16-2003, 02:21 AM
HI, I have been working with this for hours, I want to use Iframes, on the left side there will be 4 radio buttons, once selected, it will send off and email, on the right hand side I want the radio button that is selected url opened.
Here is the code I have so far, i know you won't see background etc. PLEASE HELP!!!!! I will have no hair if I continue.
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Competition Vote Page</title>
<script>
<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->
</script>
</head>
<body background="images/Arcticswhiteback.jpg" link="#000080" alink="#000000">
<script language="JavaScript1.2">
<!-- Copyright Altan (snow@altan.hr) -->
<!-- Altan's Web site: http://www.altan.hr/snow -->
<!-- used at Hypergurl; http://www.hypergurl.com -->
<!-- This script is provided free at Hypergurl -->
<!-- http://hypergurl.com -->
<!-- Begin
var no = 15; // snow number
var speed = 9; // smaller number moves the snow faster
var snowflake = "snow.gif";
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
<div align="center">
<center>
<table border="15" cellpadding="3" cellspacing="3" width="95%" background="images/Arcticssatinstrip.jpg" bordercolor="4676A4">
<tr>
<td width="100%">
<div align="center">
<table border="15" cellpadding="3" cellspacing="3" width="85%" background="images/articcenter.jpg" bordercolor="#4676A4">
<tr>
<td width="100%" align="center">
<img border="0" src="images/Arcticstextstrip.jpg" width="408" height="120">
<p align="center"><b><font size="5" face="Comic Sans MS">Arctics</font><font size="4" face="Comic Sans MS"> Vote Page</font></b></p>
<form action="links" method="post">
<select name="choice" size="1" onChange="jump(this.form)">
<option value="">Where To Now?</option><option value="http://arctics.thewebleagues.com">Arctics Home</option>
<option value="rules.html">Rules</option>
<option value="join.html">Join</option>
<option value="checklist.html">Arctic's Checklist</option>
<option value="vote.html">Competition Vote</option>
<option value="arcticbearsmembers.html">Arctic's Members</option>
<option value="awards.html">Awards</option>
<option value="mailto:whindoe@thewebleagues.com">Email</option>
<option value="learn.html">Arctic's Facts</option>
<option value="more.html">Bear's Freebies</option>
<option value="http://www.thewebleagues.com">Web Leagues Home</option>
</select></form>
<p><font face="Garamond" size="4"><b>Color Code: <span style="background-color: #00FF00">Did Not vote the
day Before </span>You are not required
to vote for this site the day the code appears.</b></font></p>
<p><font face="Garamond" size="4"><b>Color Code: <span style="background-color: #FFFF80">No Update to site.
</span>You are not required
to vote for this site.</b></font></p>
<font face="Garamond" size="4"><b>LOA= Leave of absence, no voting required.</b></font>
<p> </p>
<b>
<table border="3" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#869B6D" width="100%" id="AutoNumber3">
<tr>
<td width="100%" colspan="2">
<p align="center"><font size="4">Arctic's Bears</font></p>
</td>
</tr>
<td width="36%"> <form action="http://www.thewebleagues.com/form2.php"
method="POST">
<input type="hidden" name="subject"
value="Web League Staff Form Submission">
<input name="redirect" type="hidden"
value="http://www.thewebleagues.com/">
<input type="hidden" name="env_report"
value="REMOTE_HOST,HTTP_USER_AGENT,REMOTE_ADDR">
<input type="hidden" name="print_blank_fields"
value="0">
<input type="hidden" name="recipient"
value="whindoe@jbcreations.us"></b><font face="Garamond" size="4"><b>
Email Address:<input type="text" name="email"
size="20"><br><br>
<input type="radio" name="vote1"
value="Site Name"> Site Name<br>
<input type="radio" name="vote1"
value="Site Name2"> Site Name2<br>
<input type="radio" name="vote1"
value="Site Name3"> Site Name3<br>
<input type="radio" name="vote1"
value="Site Name4"> Site Name4<br>
</b>
</font>
<b>
<br>
<br>
<input type="submit" name="submit" value=" Send ">
<input type="reset" name="reset" value=" Clear ">
<br />
</form>
<p align="center"><b><a target="WQ" href="blank.html">Close Window</a></b></p>
</td>
<td width="64%">
<iframe name="site1" src="http://www.jbcreations.us/whindoe/" width="100%" height="100%" marginwidth="1" marginheight="1" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></td>
</td>
</table>
</b>
</center>
<p align="left"><font size="1">Whindoe '03</font>
</table>
</table>
</body>
</html>
Here is the code I have so far, i know you won't see background etc. PLEASE HELP!!!!! I will have no hair if I continue.
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Competition Vote Page</title>
<script>
<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->
</script>
</head>
<body background="images/Arcticswhiteback.jpg" link="#000080" alink="#000000">
<script language="JavaScript1.2">
<!-- Copyright Altan (snow@altan.hr) -->
<!-- Altan's Web site: http://www.altan.hr/snow -->
<!-- used at Hypergurl; http://www.hypergurl.com -->
<!-- This script is provided free at Hypergurl -->
<!-- http://hypergurl.com -->
<!-- Begin
var no = 15; // snow number
var speed = 9; // smaller number moves the snow faster
var snowflake = "snow.gif";
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
<div align="center">
<center>
<table border="15" cellpadding="3" cellspacing="3" width="95%" background="images/Arcticssatinstrip.jpg" bordercolor="4676A4">
<tr>
<td width="100%">
<div align="center">
<table border="15" cellpadding="3" cellspacing="3" width="85%" background="images/articcenter.jpg" bordercolor="#4676A4">
<tr>
<td width="100%" align="center">
<img border="0" src="images/Arcticstextstrip.jpg" width="408" height="120">
<p align="center"><b><font size="5" face="Comic Sans MS">Arctics</font><font size="4" face="Comic Sans MS"> Vote Page</font></b></p>
<form action="links" method="post">
<select name="choice" size="1" onChange="jump(this.form)">
<option value="">Where To Now?</option><option value="http://arctics.thewebleagues.com">Arctics Home</option>
<option value="rules.html">Rules</option>
<option value="join.html">Join</option>
<option value="checklist.html">Arctic's Checklist</option>
<option value="vote.html">Competition Vote</option>
<option value="arcticbearsmembers.html">Arctic's Members</option>
<option value="awards.html">Awards</option>
<option value="mailto:whindoe@thewebleagues.com">Email</option>
<option value="learn.html">Arctic's Facts</option>
<option value="more.html">Bear's Freebies</option>
<option value="http://www.thewebleagues.com">Web Leagues Home</option>
</select></form>
<p><font face="Garamond" size="4"><b>Color Code: <span style="background-color: #00FF00">Did Not vote the
day Before </span>You are not required
to vote for this site the day the code appears.</b></font></p>
<p><font face="Garamond" size="4"><b>Color Code: <span style="background-color: #FFFF80">No Update to site.
</span>You are not required
to vote for this site.</b></font></p>
<font face="Garamond" size="4"><b>LOA= Leave of absence, no voting required.</b></font>
<p> </p>
<b>
<table border="3" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#869B6D" width="100%" id="AutoNumber3">
<tr>
<td width="100%" colspan="2">
<p align="center"><font size="4">Arctic's Bears</font></p>
</td>
</tr>
<td width="36%"> <form action="http://www.thewebleagues.com/form2.php"
method="POST">
<input type="hidden" name="subject"
value="Web League Staff Form Submission">
<input name="redirect" type="hidden"
value="http://www.thewebleagues.com/">
<input type="hidden" name="env_report"
value="REMOTE_HOST,HTTP_USER_AGENT,REMOTE_ADDR">
<input type="hidden" name="print_blank_fields"
value="0">
<input type="hidden" name="recipient"
value="whindoe@jbcreations.us"></b><font face="Garamond" size="4"><b>
Email Address:<input type="text" name="email"
size="20"><br><br>
<input type="radio" name="vote1"
value="Site Name"> Site Name<br>
<input type="radio" name="vote1"
value="Site Name2"> Site Name2<br>
<input type="radio" name="vote1"
value="Site Name3"> Site Name3<br>
<input type="radio" name="vote1"
value="Site Name4"> Site Name4<br>
</b>
</font>
<b>
<br>
<br>
<input type="submit" name="submit" value=" Send ">
<input type="reset" name="reset" value=" Clear ">
<br />
</form>
<p align="center"><b><a target="WQ" href="blank.html">Close Window</a></b></p>
</td>
<td width="64%">
<iframe name="site1" src="http://www.jbcreations.us/whindoe/" width="100%" height="100%" marginwidth="1" marginheight="1" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></td>
</td>
</table>
</b>
</center>
<p align="left"><font size="1">Whindoe '03</font>
</table>
</table>
</body>
</html>