DBrown
asked on
Help with <CF_TWOSELECTSRELATED>
Can someone look at the following page, what I need to do is line up the "textarea" directly to the right of the two selects. The top of the textarea should be in-line with the top select box. You can see what it looks like now by going here.
http://66.27.1.6/carnivorepc/_dbs/_dsp/dsp_add_component.cfm
<TR>
<TD width="8%">Type ID:</TD>
<TD>
<CF_TwoSelectsRelated
QUERY="getType"
NAME1="typeID"
NAME2="mfgID"
DISPLAY1="typeID"
DISPLAY2="mfgID"
FORCEWIDTH1="40"
FORCEWIDTH2="40"
SIZE1="1"
SIZE2="1"
AUTOSELECTFIRST="Yes"
EMPTYTEXT1="Please choose one"
EMPTYTEXT2="Please choose one"
HTMLBETWEEN="</TD></TR><TR ><TD>MfgID <td> "
FORMNAME="component_add"> </TD>
<TD rowspan="4" width="78%" valign="top">
<textarea cols="60" rows="8" name="description" style="background-image : url(/carnivorepc/_images/t rex4.gif); background-repeat : no-repeat;" class="input"></textarea>
</TD>
</TR>
http://66.27.1.6/carnivorepc/_dbs/_dsp/dsp_add_component.cfm
<TR>
<TD width="8%">Type ID:</TD>
<TD>
<CF_TwoSelectsRelated
QUERY="getType"
NAME1="typeID"
NAME2="mfgID"
DISPLAY1="typeID"
DISPLAY2="mfgID"
FORCEWIDTH1="40"
FORCEWIDTH2="40"
SIZE1="1"
SIZE2="1"
AUTOSELECTFIRST="Yes"
EMPTYTEXT1="Please choose one"
EMPTYTEXT2="Please choose one"
HTMLBETWEEN="</TD></TR><TR
FORMNAME="component_add"> </TD>
<TD rowspan="4" width="78%" valign="top">
<textarea cols="60" rows="8" name="description" style="background-image : url(/carnivorepc/_images/t
</TD>
</TR>
ASKER
Ok so HTMLBETWEEN= should say what exactly? Sorry to sound stupid, but I am extremely tired, and have been loosing sleep over this damn tag.
HTMLBETWEEN="</TD><TD>MfgI D</TD> .....?
Doug
HTMLBETWEEN="</TD><TD>MfgI
Doug
Try this:
HTMLBETWEEN="</TD><TD rowspan="4" width="78%" valign="top"><textarea cols="60" rows="8" name="description" style="background-image : url(/carnivorepc/_images/t rex4.gif);
background-repeat : no-repeat;" class="input"></textarea>
</TD></TR><TR><TD>MfgID<td > "
Michael
HTMLBETWEEN="</TD><TD rowspan="4" width="78%" valign="top"><textarea cols="60" rows="8" name="description" style="background-image : url(/carnivorepc/_images/t
background-repeat : no-repeat;" class="input"></textarea>
</TD></TR><TR><TD>MfgID<td
Michael
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks alot, works great. Your a life saver
Doug
Doug
Glad it worked.
Michael
Michael
ASKER
Didnt I award you points for this? I think EE is going nuts again!!!
Doug
Doug
Again, you mean it stopped at one time...;-)
Michael
Michael
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:
Accept SewellM
Please leave any comments here within the next four days.
mrichmon
EE Cleanup Volunteer
I will leave the following recommendation in the Cleanup topic area:
Accept SewellM
Please leave any comments here within the next four days.
mrichmon
EE Cleanup Volunteer
It will end up looking like:
<FORM NAME="component_add" ACTION="dsp_add_component.
<TR>
<TH align="left" class="header" width="8%">Components</TH>
<TD class="header" colspan="2"> </TD>
</TR>
<tr bgcolor="#FF00FF">
<TD width="8%">Type ID:</TD>
<TD>
<!--- the javascript goes here --->
<SELECT NAME="typeID" onChange="component_addCha
<OPTION VALUE="">Please choose one
<OPTION VALUE="cpu">cpu
<OPTION VALUE="mod">mod
<OPTION VALUE="vid">vid
<OPTION VALUE=""></SELECT>
</TD>
<TD rowspan="4" width="78%" valign="top">
<textarea cols="60" rows="8" name="description" style="background-image : url(/carnivorepc/_images/t
</TD>
</TR>
This will allow the textarea to start on the same row as the Type ID select box.
Michael