S
SBN Services
Below is the code I have for a page, this is based on a template that was
given to me. Now my problem is I am trying to input a form. When the page is
loaded in a browser, you can not enter into the text area to type anything. I
have gone through the code below and can not seem to find the problem, which
is sort of meaningless anyways as I am very much a novice to html anyways. If
anyone has any ideas on what I did wrong that would be greatly appriciated.
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Selling</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" href="dp8.css">
<script language="JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document); return x;
}
function MM_nbGroup(event, grpName) { //v3.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] =
new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args)) !=
null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args)) !=
null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver; img.src = (img.MM_dn) ? img.MM_dn :
img.MM_up; }
} else if (event == "down") {
if ((nbArr = document[grpName]) != null)
for (i=0; i < nbArr.length; i++) { img=nbArr; img.src = img.MM_up;
img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args)) !=
null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
</head>
<body bgcolor="#000000"
onLoad="MM_preloadImages('navimages/frame2/home.gif','navimages/frame1/descr.jpg','navimages/frame2/about.gif','navimages/frame2/descr.jpg','navimages/frame2/services.gif','navimages/frame3/descr.jpg','navimages/frame2/events.gif','navimages/frame4/descr.jpg','navimages/frame2/press.gif','navimages/frame5/descr.jpg','navimages/frame2/quest.gif','navimages/frame6/descr.jpg','navimages/frame3/home.gif','navimages/frame3/about.gif','navimages/frame3/services.gif','navimages/frame3/press.gif','navimages/frame3/events.gif','navimages/frame3/quest.gif','navimages/frame1/about.gif')" onClick="self.focus()">
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr align="left" >
<td background="images/tblcntrbg.gif">
<table width="602" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="602"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="160" valign="top">
<table width="161" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a href="index.htm"
onClick="MM_nbGroup('down','group1','bhome','navimages/frame3/home.gif','mkr1','navimages/frame3/cherry1.gif','descrip','navimages/frame1/descr.jpg',1)"
onMouseOver="MM_nbGroup('over','bhome','navimages/homeb.png','navimages/homeb.png','mkr1','navimages/homeb.png','','descrip','navimages/homeb.png','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/homey.png" border="0" name="bhome"
onLoad="MM_nbGroup('init','group1','bhome','navimages/frame1/home.gif','mkr1','navimages/frame3/cherry1.gif','descrip','navimages/frame1/descr.jpg',1)"
width="161" height="26"></a></td>
</tr>
<tr>
<td>
<a href="products.htm"
onClick="MM_nbGroup('down','group1','bevents','navimages/productsby.png','descrip','navimages/frame5/descr.jpg',1)"
onMouseOver="MM_nbGroup('over','bevents','navimages/productsb.png','navimages/frame3/events.gif','descrip','navimages/frame5/descr.jpg','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/productsby.png" width="161" height="26"
name="bevents" border="0" onLoad=""></a></td>
</tr>
<tr>
<td><a href="sell.htm"
onClick="MM_nbGroup('down','group1','babout','navimages/selly.png','descrip','navimages/selly.png',1)"
onMouseOver="MM_nbGroup('over','babout','navimages/sellb.png','navimages/sellb.png','descrip','navimages/sellb.png','',1)" onMouseOut="MM_nbGroup('out')">
<img src="navimages/selly.png" width="161" height="26" name="babout"
border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<a href="contact.htm"
onClick="MM_nbGroup('down','group1','bquest','navimages/contacty.png','descrip','navimages/contacty.png',1)"
onMouseOver="MM_nbGroup('over','bquest','navimages/contactb.png','navimages/contactb.png','descrip','navimages/contactb.png','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/contacty.png" width="161" height="26" name="bquest"
border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<a href="about.htm"
onClick="MM_nbGroup('down','group1','bpress','navimages/abouty.png','descrip','navimages/abouty.png',1)"
onMouseOver="MM_nbGroup('over','bpress','navimages/aboutb.png','navimages/aboutb.png','descrip','navimages/aboutb.png','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/abouty.png" width="161" height="26" name="bpress"
border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<a href="service.htm"
onClick="MM_nbGroup('down','group1','bsvcs','navimages/frame3/services.gif','descrip','navimages/frame3/descr.jpg',1)"
onMouseOver="MM_nbGroup('over','bsvcs','navimages/frame2/services.gif','navimages/frame3/services.gif','descrip','navimages/frame3/descr.jpg','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/frame4/services.gif" width="161" height="25"
name="bsvcs" border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<img border="0" src="index.1.gif" width="161" height="155"></td>
</tr>
</table>
</td>
<td rowspan="2" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="20">
<tr valign="top">
<td bgcolor="#FFFFFF">
<p>Selling</p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><textarea rows="18" name="S1" cols="93"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>
</td>
<td bgcolor="#FFFFFF" width="140"
background="images/graygrid2.gif" class="sidebar">
<p> </p>
</td>
</tr>
</table>
</td>
<td rowspan="2" valign="top" bgcolor="#FFCC00" width="12"><img
src="images/shim.gif" width="12" height="16"></td>
</tr>
<tr>
<td width="161" class="sidebar"> </td>
</tr>
<tr>
<td colspan="3" class="sidebar" background="images/lowrtbbrdr.gif"><img
src="images/shim.gif" width="36" height="12"></td>
</tr>
</table>
</body>
</html>
given to me. Now my problem is I am trying to input a form. When the page is
loaded in a browser, you can not enter into the text area to type anything. I
have gone through the code below and can not seem to find the problem, which
is sort of meaningless anyways as I am very much a novice to html anyways. If
anyone has any ideas on what I did wrong that would be greatly appriciated.
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Selling</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" href="dp8.css">
<script language="JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_findObj(n, d) { //v3.0
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document); return x;
}
function MM_nbGroup(event, grpName) { //v3.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] =
new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args)) !=
null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args)) !=
null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver; img.src = (img.MM_dn) ? img.MM_dn :
img.MM_up; }
} else if (event == "down") {
if ((nbArr = document[grpName]) != null)
for (i=0; i < nbArr.length; i++) { img=nbArr; img.src = img.MM_up;
img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args)) !=
null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
</head>
<body bgcolor="#000000"
onLoad="MM_preloadImages('navimages/frame2/home.gif','navimages/frame1/descr.jpg','navimages/frame2/about.gif','navimages/frame2/descr.jpg','navimages/frame2/services.gif','navimages/frame3/descr.jpg','navimages/frame2/events.gif','navimages/frame4/descr.jpg','navimages/frame2/press.gif','navimages/frame5/descr.jpg','navimages/frame2/quest.gif','navimages/frame6/descr.jpg','navimages/frame3/home.gif','navimages/frame3/about.gif','navimages/frame3/services.gif','navimages/frame3/press.gif','navimages/frame3/events.gif','navimages/frame3/quest.gif','navimages/frame1/about.gif')" onClick="self.focus()">
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr align="left" >
<td background="images/tblcntrbg.gif">
<table width="602" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="602"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="160" valign="top">
<table width="161" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a href="index.htm"
onClick="MM_nbGroup('down','group1','bhome','navimages/frame3/home.gif','mkr1','navimages/frame3/cherry1.gif','descrip','navimages/frame1/descr.jpg',1)"
onMouseOver="MM_nbGroup('over','bhome','navimages/homeb.png','navimages/homeb.png','mkr1','navimages/homeb.png','','descrip','navimages/homeb.png','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/homey.png" border="0" name="bhome"
onLoad="MM_nbGroup('init','group1','bhome','navimages/frame1/home.gif','mkr1','navimages/frame3/cherry1.gif','descrip','navimages/frame1/descr.jpg',1)"
width="161" height="26"></a></td>
</tr>
<tr>
<td>
<a href="products.htm"
onClick="MM_nbGroup('down','group1','bevents','navimages/productsby.png','descrip','navimages/frame5/descr.jpg',1)"
onMouseOver="MM_nbGroup('over','bevents','navimages/productsb.png','navimages/frame3/events.gif','descrip','navimages/frame5/descr.jpg','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/productsby.png" width="161" height="26"
name="bevents" border="0" onLoad=""></a></td>
</tr>
<tr>
<td><a href="sell.htm"
onClick="MM_nbGroup('down','group1','babout','navimages/selly.png','descrip','navimages/selly.png',1)"
onMouseOver="MM_nbGroup('over','babout','navimages/sellb.png','navimages/sellb.png','descrip','navimages/sellb.png','',1)" onMouseOut="MM_nbGroup('out')">
<img src="navimages/selly.png" width="161" height="26" name="babout"
border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<a href="contact.htm"
onClick="MM_nbGroup('down','group1','bquest','navimages/contacty.png','descrip','navimages/contacty.png',1)"
onMouseOver="MM_nbGroup('over','bquest','navimages/contactb.png','navimages/contactb.png','descrip','navimages/contactb.png','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/contacty.png" width="161" height="26" name="bquest"
border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<a href="about.htm"
onClick="MM_nbGroup('down','group1','bpress','navimages/abouty.png','descrip','navimages/abouty.png',1)"
onMouseOver="MM_nbGroup('over','bpress','navimages/aboutb.png','navimages/aboutb.png','descrip','navimages/aboutb.png','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/abouty.png" width="161" height="26" name="bpress"
border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<a href="service.htm"
onClick="MM_nbGroup('down','group1','bsvcs','navimages/frame3/services.gif','descrip','navimages/frame3/descr.jpg',1)"
onMouseOver="MM_nbGroup('over','bsvcs','navimages/frame2/services.gif','navimages/frame3/services.gif','descrip','navimages/frame3/descr.jpg','',1)"
onMouseOut="MM_nbGroup('out')">
<img src="navimages/frame4/services.gif" width="161" height="25"
name="bsvcs" border="0" onLoad=""></a></td>
</tr>
<tr>
<td>
<img border="0" src="index.1.gif" width="161" height="155"></td>
</tr>
</table>
</td>
<td rowspan="2" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="20">
<tr valign="top">
<td bgcolor="#FFFFFF">
<p>Selling</p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><textarea rows="18" name="S1" cols="93"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>
</td>
<td bgcolor="#FFFFFF" width="140"
background="images/graygrid2.gif" class="sidebar">
<p> </p>
</td>
</tr>
</table>
</td>
<td rowspan="2" valign="top" bgcolor="#FFCC00" width="12"><img
src="images/shim.gif" width="12" height="16"></td>
</tr>
<tr>
<td width="161" class="sidebar"> </td>
</tr>
<tr>
<td colspan="3" class="sidebar" background="images/lowrtbbrdr.gif"><img
src="images/shim.gif" width="36" height="12"></td>
</tr>
</table>
</body>
</html>