All,
This should be a very simple change but I can't figure it out.
I have 3 tabs which when clicked shows the corresponding text in the textarea. Now I want the tabs to be moved in the place where the Words "PUT TAB HERE" appears and need to have the Text area in the same place where it is now. The tabs are gifs and since there is no attachment provision here I cannot upload it. But if you save the following script (html) and preview it you know what I am talking about. Search for the words "PUT TAB HERE" in the source. Someone please do help me. Thanks and regards.
HTML Script:
<HTML>
<HEAD>
<TITLE>Test</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- BEGIN TABS CODE-->
<SCRIPT language="javaScript1.2"><!--
var layerIndex=new Array("right1a","right1b","right1c"
var layerIndex2=new Array("right2a","right2b","right2c"
var layerIndex3=new Array("mid1a","mid1b","mid1c"
var layerIndex4=new Array("popa","popb","popc"
var layerIndex5=new Array("right3a","right3b","right3c"
var layerIndex6=new Array("right4a","right4b"
// initializes layers - run body onload
function changeLayer2(layerid)
{
for(x=0;x<layerIndex2.length;x++)
document.getElementById(layerIndex2[x]).style.visibility='hidden';
var hbar = document.getElementById(layerid);
hbar.style.visibility= "visible";
}
// -->
</SCRIPT><!-- END TABS CODE-->
<!-- BEGIN SLOT 2 -->
</head>
<BODY bgcolor="#ffffff">
<DIV id="Layer1" style="WIDTH: 752; HEIGHT: 453;">
<TABLE width="100%" height="417" border="0" bordercolor="#ffffff" cellpadding="0" cellspacing="0">
<TR>
<TD align="left" valign="top">
<TABLE width="100%" height="76%" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD height="87" align="left" valign="top">
<TABLE width="763" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width="393" height="84" align="left" valign="top">
</TD>
<TD width="366" align="right" valign="bottom">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height="53" align="left" valign="top">
<TABLE width="762" border="0" cellspacing="0" cellpadding="0" style="height: 244px">
<TR>
<TD width="329" valign="bottom">
</TD>
<TD width="306" align="left" valign="top">
PUT TAB HERE
</TD>
</TR>
<TR>
<TD height="48" colspan="6" width="760">
<TABLE width="754" height="214" border="1" cellpadding="0" cellspacing="0" style="width: 754px" bordercolor="#FF0000" bordercolorlight="#E9967A" bordercolordark="#E9967A">
<TR>
<TD width="53%" align="left" valign="top" height="212">
<div class="O">
</div>
</TD>
<TD width="47%" align="left" valign="top" height="212">
<DIV id="right2a" style="VISIBILITY: visible; POSITION: absolute">
<TABLE width="250" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD colspan="3" width="250"><IMG src="i\Solutions1.gif" alt="" height="21" width="250" usemap="#right2" border="0">
</TD>
<MAP name="right2">
<AREA shape="RECT" coords="167, 3, 245, 18" href="#c" onClick="changeLayer2('right2c');return false;" alt="">
<AREA shape="RECT" coords="85, 4, 163, 19" href="#b" onClick="changeLayer2('right2b');return false;" alt="">
</MAP>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff" width="248">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
<TR>
<TD valign="top" width="79"><TEXTAREA border="0" READONLY class=TA id=textarea1 style="WIDTH: 349; HEIGHT: 180" name=textarea1 rows=7 wrap=on cols=55>Standard
</TEXTAREA>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
<DIV id="right2b" style="VISIBILITY: hidden; POSITION: absolute">
<TABLE width="250" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD colspan="3" width="250"><IMG src="i\Solutions2.gif" alt="" height="21" width="250" usemap="#right2" border="0">
</TD>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff" width="248">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
<TR>
<TD valign="top" width="79"><TEXTAREA READONLY class=TA id=textarea1 style="WIDTH: 349; HEIGHT: 180" name=textarea1 rows=7 wrap=on cols=55>All-In-1</TEXTAREA>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
<DIV id="right2c" style="VISIBILITY: hidden; POSITION: absolute">
<TABLE width="250" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD colspan="3" width="250"><IMG src="i/Solutions3.gif" alt="" height="21" width="250" usemap="#right2" border="0">
</TD>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff" width="248">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
<TR>
<TD valign="top" width="79"><TEXTAREA READONLY class=TA id=textarea1 style="width: 349; height: 180" name=textarea1 rows=7 wrap=on cols=55>Customized
</TEXTAREA>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
<DIV id="dumm1" style="VISIBILITY: hidden; WIDTH: 346px; POSITION: relative;
HEIGHT: 162px">
</DIV><!-- height is exact height of div --><!-- END SLOT 2 -->
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<P> </p>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
</BODY>
</HTML>
This should be a very simple change but I can't figure it out.
I have 3 tabs which when clicked shows the corresponding text in the textarea. Now I want the tabs to be moved in the place where the Words "PUT TAB HERE" appears and need to have the Text area in the same place where it is now. The tabs are gifs and since there is no attachment provision here I cannot upload it. But if you save the following script (html) and preview it you know what I am talking about. Search for the words "PUT TAB HERE" in the source. Someone please do help me. Thanks and regards.
HTML Script:
<HTML>
<HEAD>
<TITLE>Test</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- BEGIN TABS CODE-->
<SCRIPT language="javaScript1.2"><!--
var layerIndex=new Array("right1a","right1b","right1c"
var layerIndex2=new Array("right2a","right2b","right2c"
var layerIndex3=new Array("mid1a","mid1b","mid1c"
var layerIndex4=new Array("popa","popb","popc"
var layerIndex5=new Array("right3a","right3b","right3c"
var layerIndex6=new Array("right4a","right4b"
// initializes layers - run body onload
function changeLayer2(layerid)
{
for(x=0;x<layerIndex2.length;x++)
document.getElementById(layerIndex2[x]).style.visibility='hidden';
var hbar = document.getElementById(layerid);
hbar.style.visibility= "visible";
}
// -->
</SCRIPT><!-- END TABS CODE-->
<!-- BEGIN SLOT 2 -->
</head>
<BODY bgcolor="#ffffff">
<DIV id="Layer1" style="WIDTH: 752; HEIGHT: 453;">
<TABLE width="100%" height="417" border="0" bordercolor="#ffffff" cellpadding="0" cellspacing="0">
<TR>
<TD align="left" valign="top">
<TABLE width="100%" height="76%" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD height="87" align="left" valign="top">
<TABLE width="763" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width="393" height="84" align="left" valign="top">
</TD>
<TD width="366" align="right" valign="bottom">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height="53" align="left" valign="top">
<TABLE width="762" border="0" cellspacing="0" cellpadding="0" style="height: 244px">
<TR>
<TD width="329" valign="bottom">
</TD>
<TD width="306" align="left" valign="top">
PUT TAB HERE
</TD>
</TR>
<TR>
<TD height="48" colspan="6" width="760">
<TABLE width="754" height="214" border="1" cellpadding="0" cellspacing="0" style="width: 754px" bordercolor="#FF0000" bordercolorlight="#E9967A" bordercolordark="#E9967A">
<TR>
<TD width="53%" align="left" valign="top" height="212">
<div class="O">
</div>
</TD>
<TD width="47%" align="left" valign="top" height="212">
<DIV id="right2a" style="VISIBILITY: visible; POSITION: absolute">
<TABLE width="250" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD colspan="3" width="250"><IMG src="i\Solutions1.gif" alt="" height="21" width="250" usemap="#right2" border="0">
</TD>
<MAP name="right2">
<AREA shape="RECT" coords="167, 3, 245, 18" href="#c" onClick="changeLayer2('right2c');return false;" alt="">
<AREA shape="RECT" coords="85, 4, 163, 19" href="#b" onClick="changeLayer2('right2b');return false;" alt="">
</MAP>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff" width="248">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
<TR>
<TD valign="top" width="79"><TEXTAREA border="0" READONLY class=TA id=textarea1 style="WIDTH: 349; HEIGHT: 180" name=textarea1 rows=7 wrap=on cols=55>Standard
</TEXTAREA>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
<DIV id="right2b" style="VISIBILITY: hidden; POSITION: absolute">
<TABLE width="250" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD colspan="3" width="250"><IMG src="i\Solutions2.gif" alt="" height="21" width="250" usemap="#right2" border="0">
</TD>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff" width="248">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
<TR>
<TD valign="top" width="79"><TEXTAREA READONLY class=TA id=textarea1 style="WIDTH: 349; HEIGHT: 180" name=textarea1 rows=7 wrap=on cols=55>All-In-1</TEXTAREA>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
<DIV id="right2c" style="VISIBILITY: hidden; POSITION: absolute">
<TABLE width="250" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD colspan="3" width="250"><IMG src="i/Solutions3.gif" alt="" height="21" width="250" usemap="#right2" border="0">
</TD>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff" width="248">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
<TR>
<TD valign="top" width="79"><TEXTAREA READONLY class=TA id=textarea1 style="width: 349; height: 180" name=textarea1 rows=7 wrap=on cols=55>Customized
</TEXTAREA>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
<DIV id="dumm1" style="VISIBILITY: hidden; WIDTH: 346px; POSITION: relative;
HEIGHT: 162px">
</DIV><!-- height is exact height of div --><!-- END SLOT 2 -->
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<P> </p>
</TABLE>
</TD>
</TR>
</TABLE>
</DIV>
</BODY>
</HTML>