<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Gallery Question</title>
    <link>https://forums.adobe.com/community/labs/archives/spry?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 06 Jul 2006 00:25:06 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2006-07-06T00:25:06Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Gallery Question</title>
      <link>https://forums.adobe.com/message/347618?tstart=0#347618</link>
      <description>&lt;!-- [DocumentBodyStart:2a2ccfd4-6e6e-40bf-9f80-e0b980658830] --&gt;&lt;div class="jive-rendered-content"&gt;Ah - thanks Kin, that was the direction I needed.
&lt;br/&gt;
&lt;br/&gt;I neglected to change the ds_rowid to ds_RowCounter, as
originally suggested.
&lt;br/&gt;It introduces new issues to my scheme, but thats ok for now -
glad to get that sorted out.
&lt;br/&gt;
&lt;br/&gt;h&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2a2ccfd4-6e6e-40bf-9f80-e0b980658830] --&gt;&lt;img src='/beacon?t=1415898637249' /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 00:25:06 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/347618?tstart=0#347618</guid>
      <dc:date>2006-07-06T00:25:06Z</dc:date>
      <clearspace:dateToText>8 years 4 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/347128?tstart=0#347128</link>
      <description>&lt;!-- [DocumentBodyStart:760c5c51-6a36-457c-aef7-9234d9ba1f61] --&gt;&lt;div class="jive-rendered-content"&gt;Hi heathrowe,
&lt;br/&gt;
&lt;br/&gt;Did you change your HTML code to use {ds_RowCounter} after
you made that JS change?
&lt;br/&gt;
&lt;br/&gt;Are you using {ds_RowCounter} in a spry:if or spry:test
attribute? Or in HTML content?
&lt;br/&gt;
&lt;br/&gt;--== Kin ==--&lt;/div&gt;&lt;!-- [DocumentBodyEnd:760c5c51-6a36-457c-aef7-9234d9ba1f61] --&gt;</description>
      <pubDate>Wed, 05 Jul 2006 16:38:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/347128?tstart=0#347128</guid>
      <dc:date>2006-07-05T16:38:09Z</dc:date>
      <clearspace:dateToText>8 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/345333?tstart=0#345333</link>
      <description>&lt;!-- [DocumentBodyStart:fae3cf87-9cb0-4761-800c-5d9d524ad6d1] --&gt;&lt;div class="jive-rendered-content"&gt;thanks imagic for finding that for me, though that particular
area is in adifferent location in the latest build of that file,
with it implemented it still didn't bring change.
&lt;br/&gt;
&lt;br/&gt;But thanks for pointing me in the direction - I may have to
play with some lines here to try and figure it out.
&lt;br/&gt;
&lt;br/&gt;h&lt;/div&gt;&lt;!-- [DocumentBodyEnd:fae3cf87-9cb0-4761-800c-5d9d524ad6d1] --&gt;</description>
      <pubDate>Mon, 03 Jul 2006 00:04:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/345333?tstart=0#345333</guid>
      <dc:date>2006-07-03T00:04:57Z</dc:date>
      <clearspace:dateToText>8 years 4 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/345314?tstart=0#345314</link>
      <description>&lt;!-- [DocumentBodyStart:a5a7604c-39b2-480f-910f-0d50e93484d9] --&gt;&lt;div class="jive-rendered-content"&gt;Reading some threads on this forum, I found this fix for
starting the 
&lt;br/&gt;numbering at 1 posted by ::Andy. (Seems it's not possible to
do as of 
&lt;br/&gt;yet without editing SpryData.js, though I'm sure it's coming
in the future.)
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt; ds_RowNumber starting at zero
&lt;br/&gt; -------------------------------------------
&lt;br/&gt;
&lt;br/&gt; Added {ds_RowCounter} in sprydata.js to get round the
problem of 
&lt;br/&gt;displaying 0
&lt;br/&gt;when listing items. I have tried not to modified the
&lt;br/&gt; sprydata.js as I don't want to be in position as not to
easily 
&lt;br/&gt;upgrade. But I
&lt;br/&gt;could'nt find anyway around this with something
&lt;br/&gt; like {ds_RowNumber+1} for example.
&lt;br/&gt;
&lt;br/&gt; Line 2098 sprydata.js -
&lt;br/&gt;
&lt;br/&gt; if (token.data == "ds_RowNumber")
&lt;br/&gt; outputStr += dsContext.getRowIndex();
&lt;br/&gt; else if (token.data == "ds_RowCount")
&lt;br/&gt; outputStr += dsContext.getNumRows();
&lt;br/&gt; else if (token.data == "ds_RowCounter")
&lt;br/&gt; outputStr += dsContext.getRowIndex()+1;
&lt;br/&gt; else
&lt;br/&gt; {
&lt;br/&gt; var curDataSetRow = dsContext.getCurrentRow();
&lt;br/&gt; if (curDataSetRow)
&lt;br/&gt; outputStr += curDataSetRow[token.data];
&lt;br/&gt; }
&lt;br/&gt;
&lt;br/&gt;heathrowe wrote:
&lt;br/&gt;&amp;gt; Anyone know how to implement donalds suggestion?
&lt;br/&gt;&amp;gt; 
&lt;br/&gt;&amp;gt; Still can't figure out setting the array to 0 onpage
load.
&lt;br/&gt;&amp;gt; 
&lt;br/&gt;&amp;gt; h
&lt;br/&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a5a7604c-39b2-480f-910f-0d50e93484d9] --&gt;</description>
      <pubDate>Sun, 02 Jul 2006 23:06:58 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/345314?tstart=0#345314</guid>
      <dc:date>2006-07-02T23:06:58Z</dc:date>
      <clearspace:dateToText>8 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/344903?tstart=0#344903</link>
      <description>&lt;!-- [DocumentBodyStart:635c1c87-d3ea-4df5-9b3e-7ea3e98c665a] --&gt;&lt;div class="jive-rendered-content"&gt;Anyone know how to implement donalds suggestion?
&lt;br/&gt;
&lt;br/&gt;Still can't figure out setting the array to 0 onpage load.
&lt;br/&gt;
&lt;br/&gt;h&lt;/div&gt;&lt;!-- [DocumentBodyEnd:635c1c87-d3ea-4df5-9b3e-7ea3e98c665a] --&gt;</description>
      <pubDate>Sat, 01 Jul 2006 16:08:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/344903?tstart=0#344903</guid>
      <dc:date>2006-07-01T16:08:35Z</dc:date>
      <clearspace:dateToText>8 years 4 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/344475?tstart=0#344475</link>
      <description>&lt;!-- [DocumentBodyStart:e6cea23c-b6c1-4445-a77f-920b4ced8451] --&gt;&lt;div class="jive-rendered-content"&gt;Can you verify that I have the dsPhotos.setCurrentRow('1');
in the correct location?
&lt;br/&gt;I tried placing it in various locations, but it still dosn't
change the default array initial count from 0 to 1.
&lt;br/&gt;
&lt;br/&gt;
&lt;a class="jive-link-external-small" href="http://www.heathrowecs.com/spry/gallery/gallery.html" rel="nofollow"&gt;Gallery
Here&lt;/a&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e6cea23c-b6c1-4445-a77f-920b4ced8451] --&gt;</description>
      <pubDate>Fri, 30 Jun 2006 11:38:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/344475?tstart=0#344475</guid>
      <dc:date>2006-06-30T11:38:48Z</dc:date>
      <clearspace:dateToText>8 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/343567?tstart=0#343567</link>
      <description>&lt;!-- [DocumentBodyStart:59e63cb4-778b-404f-95d2-f67f6a07b2f5] --&gt;&lt;div class="jive-rendered-content"&gt;Hi Donald, thanks for the heads up.
&lt;br/&gt;
&lt;br/&gt;I saw that use in the examples, but they all used in
conjunction with a onChange event.
&lt;br/&gt;
&lt;br/&gt;Since I want to load the array onloading (automatically) and
not have to be triggered/fired off by an event, what notation do I
use in your example to get it to work?&lt;/div&gt;&lt;!-- [DocumentBodyEnd:59e63cb4-778b-404f-95d2-f67f6a07b2f5] --&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:14:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/343567?tstart=0#343567</guid>
      <dc:date>2006-06-29T11:14:43Z</dc:date>
      <clearspace:dateToText>8 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Gallery Question</title>
      <link>https://forums.adobe.com/message/343445?tstart=0#343445</link>
      <description>&lt;!-- [DocumentBodyStart:826c5f50-c268-48b9-8ab8-88a56826aeea] --&gt;&lt;div class="jive-rendered-content"&gt;Sure.
&lt;br/&gt;Under your data set declaration, add:
&lt;br/&gt;
&lt;br/&gt;dsPhotos.setCurrentRow('1');
&lt;br/&gt;
&lt;br/&gt;or whatever you want the default row to be...
&lt;br/&gt;Hope this helps.
&lt;br/&gt;Don&lt;/div&gt;&lt;!-- [DocumentBodyEnd:826c5f50-c268-48b9-8ab8-88a56826aeea] --&gt;</description>
      <pubDate>Thu, 29 Jun 2006 05:58:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/343445?tstart=0#343445</guid>
      <dc:date>2006-06-29T05:58:10Z</dc:date>
      <clearspace:dateToText>8 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Gallery Question</title>
      <link>https://forums.adobe.com/message/276074?tstart=0#276074</link>
      <description>&lt;!-- [DocumentBodyStart:998c5410-1f85-4c77-b06c-1ed99c22c8f5] --&gt;&lt;div class="jive-rendered-content"&gt;Pretty much understand the gist of the gallery and have a
demo setup 
&lt;a class="jive-link-external-small" href="http://www.heathrowecs.com/spry/gallery/gallery.html" rel="nofollow"&gt;here&lt;/a&gt;.
&lt;br/&gt;
&lt;br/&gt;And instead of the thumbnails I used the id number inot a css
block. I am also aware that id/row count array starts at 0, is
there a way to SHOW initial count at 1 instead of zero.
&lt;br/&gt;
&lt;br/&gt;I know a quick solution is to add another node to my xml
files with the literal number and and display that node, but was
wondering if the array count can be rigged.
&lt;br/&gt;
&lt;br/&gt;h&lt;/div&gt;&lt;!-- [DocumentBodyEnd:998c5410-1f85-4c77-b06c-1ed99c22c8f5] --&gt;</description>
      <pubDate>Thu, 29 Jun 2006 02:21:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/276074?tstart=0#276074</guid>
      <dc:date>2006-06-29T02:21:57Z</dc:date>
      <clearspace:dateToText>8 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>8</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

