<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts in 'set attributes' | Prototype UI</title>
    <link>http://forums.prototype-ui.com/forums/3/topics/113</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <atom:link rel="search" type="application/opensearchdescription+xml" href="http://forums.prototype-ui.com/open_search.xml"/>
    <description></description>
    <item>
      <title>set attributes replied by mig @ Sun, 13 Apr 2008 17:00:47 -0000</title>
      <description>&lt;p&gt;thanks for the help ..&lt;br /&gt;but is there anyway to set them from the javascript call ?&lt;br /&gt;how can i make smthg like this works :&lt;/p&gt;


	&lt;p&gt;new UI.Carousel(&amp;#8220;vertical_carousel&amp;#8221;, {direction:&amp;#8221;vertical&amp;#8221;,scrollInc: 3,nbVisible: 5});&lt;/p&gt;


	&lt;p&gt;the scrollInc is set now to 3 and it works, &lt;br /&gt;but how to set the nbVisible now to 5 ??&lt;br /&gt;thanks again ..&lt;/p&gt;</description>
      <pubDate>Sun, 13 Apr 2008 17:00:47 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:113:324</guid>
      <author>mig</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/113</link>
    </item>
    <item>
      <title>set attributes replied by seb @ Sun, 13 Apr 2008 16:10:49 -0000</title>
      <description>&lt;p&gt;Change in &lt;span class="caps"&gt;CSS&lt;/span&gt; width of #horizontal_carousel (to 448px) and #horizontal_carousel .container (to 375px)&lt;/p&gt;</description>
      <pubDate>Sun, 13 Apr 2008 16:10:49 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:113:322</guid>
      <author>seb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/113</link>
    </item>
    <item>
      <title>set attributes replied by mig @ Sun, 13 Apr 2008 10:45:33 -0000</title>
      <description>&lt;p&gt;hi Seb ..&lt;br /&gt;thanks for your reply ..&lt;br /&gt;would you please tell me how to set the nbVisible then ?&lt;br /&gt;i am using the example found in the /test/functional/carousel/test_classic_theme.html ..&lt;br /&gt;i just want to set the nbVisible to 3 items ..&lt;br /&gt;could you help me please ?&lt;br /&gt;thanks in advance&lt;/p&gt;</description>
      <pubDate>Sun, 13 Apr 2008 10:45:33 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:113:321</guid>
      <author>mig</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/113</link>
    </item>
    <item>
      <title>set attributes replied by seb @ Sun, 13 Apr 2008 07:16:23 -0000</title>
      <description>&lt;pre&gt;
horizontal_carousel.nbVisible=2;
&lt;/pre&gt;

	&lt;p&gt;What does it mean?&lt;br /&gt;Carousel finds by itself nbVisible, it depends on your carousel and its elements sizes&lt;/p&gt;</description>
      <pubDate>Sun, 13 Apr 2008 07:16:23 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:113:320</guid>
      <author>seb</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/113</link>
    </item>
    <item>
      <title>set attributes replied by mig @ Sun, 13 Apr 2008 04:21:19 -0000</title>
      <description>&lt;p&gt;hi &amp;#8230;&lt;br /&gt;really nice work here ..&lt;br /&gt;i have a small problem, and hope someone can help me with it ..&lt;br /&gt;iam trying to set the &lt;span class="caps"&gt;NBVISIBLE&lt;/span&gt; : Number of visible elements, it&#8217;s a float ..&lt;br /&gt;but it is not working ..&lt;br /&gt;could anybody please tell me how to set this attribute ?&lt;br /&gt;iam trying this :&lt;/p&gt;


&lt;pre&gt;
&amp;lt;script type="js"&amp;gt;

      function runTest() {
        var ul = $$("#horizontal_carousel .container ul").first();
     horizontal_carousel.nbVisible=2;
  // Fill carousel
        var html = $R(0,31).inject("", function(html, index)  {
          return html + '&amp;lt;li&amp;gt;&amp;lt;img alt="Image'+ index + '" src="../../assets/images/image' +
            index + '.png"/&amp;gt;Image #' + index + "&amp;lt;/li&amp;gt;";
        });
        ul.update(html);

    new UI.Carousel("horizontal_carousel");
    }
      Event.observe(window, "load", runTest);

&lt;/pre&gt;&lt;br /&gt;but not working ..&lt;br /&gt;thanks in advance</description>
      <pubDate>Sun, 13 Apr 2008 04:21:19 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:3:113:319</guid>
      <author>mig</author>
      <link>http://forums.prototype-ui.com/forums/3/topics/113</link>
    </item>
  </channel>
</rss>
