Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
zazu #1
Filtering spry
I don't have any programming experience, but I can use Spry in CS3. I
would like to filter my data as follows and am confused. This is my
dataset:
<script type="text/javascript">
<!--
var diet = new Spry.Data.XMLDataSet("diet.xml", "dataroot/
RecipeListPage",{sortOnLoad:"Title",sortOrderOnLoa d:"ascending"});
//-->
</script>
This is the repeating regions:
<div spry:detailregion="diet">
<div spry:repeat="diet"><dl class="lp"><dt class="lp">
<a href="../../images/{diet::SKU}.{diet::Image}"><img
class="pic" src="../../images/{diet::SKU}-2.{diet::Image}"
alt="{diet::Title} - {diet::Author}"></a></dt>
<dd class="lp"><a href="{diet::SKU}.htm">{diet::Title}</
a><br>
<span class="bold">By:</span> {diet::Author}<br>
<span class="bold">Delivery:</span> {diet::Delivery}<br>
PRICE: ${diet::Price}.00</dd>
<dd class="lp"><form method='GET' action='http://
www.thebookshelf.co.nz/shop/cart.php'>
<input type='hidden' name='prodopt1'
value='{diet::RecipesProdOpt}'>
<input type='hidden' name='quantity' value='1'>
<input type='submit' name='submitact' value='Add to
Cart' class="shpct">
</form></dd><p class="clearer"></dl><hr></div>
</div>
my xml file has 61 entries and I would like to display 40 on a page
and 21 on another page. I think the ds_RowID should be able to help
me, but all the tutorials and info on Adobe confuse me.
Any help would be appreciated
Mike
zazu Guest
-
Combine Spry Tabbed Panel and Spry HTML Panel
I would like to maintain the presentation of the tabbed panel and utilize its ability to load content from a Spry Dataset, but I would also like to... -
filtering recordset
I am trying to pull a recordset that has the following items: ID Name Description Image1 Image2 Image3 DateAdded Is there anyway that I could pull... -
Row filtering
Hi all, I am having a dataset which is Reading from the XML file. The Dataset has a table Users with Scheema (US_ID, US_Name). I am attempting to... -
Filtering
Lets say I have a privilege structure organized by number: 1 - Administrator 2 - Office 3 - Supervisor 4 - Field Operator 5 - Assistant... -
filtering in chart
I'm having a form on which i can select a bank account for which I want to see information. the information comes from a table with all accounts in...



Reply With Quote

