Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Benjamin Evans #1
Showing all options for one product in a list/menu
I have several products (name, image, description, dimensions, etc) to go on a
"detail page." Some are stand-alone SKUs with no options, while others have
several options. To the ones that have options I have added a Class_ID, which
puts all the options for Product X in the same class (say, Cass 6). I want one
product to show at a time except in the dynamic list/menu, where I want to list
the options for each item. I need to find a way to make the list/menu form a
repeat region within the repeat region or work around the anti-nesting rule and
still have the list/menu correspond to the other data surrounding it.
Here's the code: MANY THANKS!!
Attach Code
<cfoutput query="QSalesD" startrow="#StartRow_QSalesD#"
maxrows="#MaxRows_QSalesD#">
<tr>
<td width="125" rowspan="2" valign="top"><img src="/Images/aiologo1.gif"
width="125" height="118" align="top"></td>
<td width="258" height="35" valign="top" class="saletext">
<cfif (IsDefined("QSalesD.Name") AND QSalesD.Name neq "") AND
(IsDefined("QSalesD.Images") AND QSalesD.Images neq "")>#QSalesD.Name#</cfif>
</td>
<td width="1"> </td>
<td width="350"> </td>
<td width="63"> </td>
<td width="43"> </td>
</tr>
<tr>
<td rowspan="4" valign="top"><a href="#QSalesD.Images#"><img
src="Images/<%=(QSalesD.Fileds.Item(Images).Value)%>"
alt=<cfoutput>#QSalesD.Name#</cfoutput> width="100%" height="303" border="0"
class="pixbox" id="Salesmen" /></a> </td>
<td height="107"> </td>
<td colspan="3" rowspan="2" valign="top"><div align="left">
<p align="center" class="Saletextred">#QSalesD.Pitch#</p>
<p class="copy2">#QSalesD.Description#<br>
#QSalesD.Dimensions#<br>
</p>
<p align="left" class="copy2"><br>
<cfif (IsDefined("QSalesD.Name") AND QSalesD.Name neq
"")>#QSalesD.SKU#</cfif>
<BR>
#DollarFormat(QSalesD.Price)# per #QSalesD.Per_Unit#<BR>
<form name="form1" method="post" action="">
<p>
<SELECT NAME="select" CLASS="copy2">
<OPTION VALUE="value"><cfif IsDefined("QSalesD.OP_Desc") AND
(QSalesD.Class_ID neq "")>Options for this Item:<cfelse> No Options Listed
</cfif></OPTION>
<option value="value"><cfif IsDefined("QSalesD.OP_Desc") AND
(QSalesD.Class_ID neq "")>#QSalesD.Op_Desc#, #QSalesD.Price# per
#QSalesD.Per_Unit#</cfif></option>
</SELECT>
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
</div></td>
</tr>
<tr>
<td rowspan="2"></td>
<td height="165"></td>
</tr>
<tr>
<td height="18"></td>
<td></td>
<td valign="top" class="copy2"Previous ></td>
<td valign="top" class="copy2"><div align="right"Next></div></td>
</tr>
<tr>
<td height="41"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<DIV ALIGN="RIGHT"><SPAN CLASS="copy2"><a
href="#CurrentPage#?PageNum_QSalesD=#Max(Decrement Value(PageNum_QSalesD),1)##Que
ryString_QSalesD#">> Previous</a> <a
href="#CurrentPage#?PageNum_QSalesD=#Min(Increment Value(PageNum_QSalesD),TotalPa
ges_QSalesD)##QueryString_QSalesD#">Next</a> </SPAN></DIV>
</cfoutput>
Benjamin Evans Guest
-
Creating product list & login
I want to design a list of wanted presents for a party in flash so that if guests tick/select a present then it must become greyed out or... -
List/Menu Form hides dropdown Menu
http://2006.maximizer.com/about/customers/index.html when you scroll over 'company' in the main navbar at the top of the page, you'll see what... -
View Menu selection options (Large icons, Small icons, List, Details or Thumbnails)
In the View Menu option of the File Save or File Open menus (4th icon to the right of the Save In or Look In drop-down boxes) Acrobat 5.0 gives you... -
Menu/list ( menu ) in topframe and mouse scrolling
I've made a menu ( with an arrow next to it and the choices appear when you click that arrow - I forgot what this is called in English :))in the... -
menu options
I have gone to the "Folder Options" many times. The problem is in the popup or context menu when I right click on an object. Windows is taking an...



Reply With Quote

