<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
 <generator>http://textpattern.com/</generator>
 <title>Textpattern Tips – Simple image slideshow using jQuery and native TXP tags</title>
 <description>Simple image slideshow using jQuery and native TXP tags - comments</description>
 <link>https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags</link>
 <atom:link href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags?f=comment-feed" rel="self" type="application/rss+xml" />
 <pubDate>Sat, 06 Oct 12 01:37:46 +0000</pubDate>

 <item>
     <title>Comment on Simple image slideshow using jQuery and native TXP tags by Dylan</title>
     <link><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001149" id="c001149">1</a></link>
     <guid><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001149" id="c001149">1</a></guid>
     <pubDate>Mon, 01 Oct 12 14:58:28 +0000</pubDate>
     <description><![CDATA[<p>I&#8217;m having problems with this. The images are not staying constrained to the box. I specified the dimensions of the box in the <span class="caps">CSS</span>, should I specify it elsewhere instead or in addition?</p>]]></description>
     <content:encoded><![CDATA[<p>I&#8217;m having problems with this. The images are not staying constrained to the box. I specified the dimensions of the box in the <span class="caps">CSS</span>, should I specify it elsewhere instead or in addition?</p>]]></content:encoded>
     <dc:creator>Dylan</dc:creator>
 
</item>
<item>
     <title>Comment on Simple image slideshow using jQuery and native TXP tags by Jonathan Stubbs</title>
     <link><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001150" id="c001150">1</a></link>
     <guid><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001150" id="c001150">1</a></guid>
     <pubDate>Tue, 02 Oct 12 09:38:29 +0000</pubDate>
     <description><![CDATA[<p>@Dylan, its hard to help you without an example of what you are currently working with in terms of <span class="caps">HTML</span>/CSS&#8230;</p>]]></description>
     <content:encoded><![CDATA[<p>@Dylan, its hard to help you without an example of what you are currently working with in terms of <span class="caps">HTML</span>/CSS&#8230;</p>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://jonathanstubbs.com">Jonathan Stubbs</a></dc:creator>
 
</item>
<item>
     <title>Comment on Simple image slideshow using jQuery and native TXP tags by Dylan</title>
     <link><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001151" id="c001151">1</a></link>
     <guid><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001151" id="c001151">1</a></guid>
     <pubDate>Tue, 02 Oct 12 17:20:49 +0000</pubDate>
     <description><![CDATA[<p>Sure, sorry.</p><p><span class="caps">CSS</span>&#8212;</p><p>.slideshow {  
    height:  310px;  
    width:   410px;  
    padding: 0;  
    margin:  0;  <br>} </p><p>.slideshow img {  
    padding: 15px;  
    border:  1px solid #ccc;  
    background-color: #eee;  
    width:  400px; 
    height: 300px; 
    top:  0; 
    left:0; <br>} </p><p><span class="caps">HTML</span></p><p>&lt;txp:article&gt;&lt;txp:if_custom_field name=&#8220;images_category&#8221;&gt;<br>&lt;div class=&#8220;slideshow&#8221;&gt;<br>&lt;txp:images category=&#8217;&lt;txp:custom_field name=&#8220;images_category&#8221; /&gt;&#8217; break=&#8221;&#8220;&gt;<br>&lt;txp:image /&gt;<br>&lt;/txp:images&gt;<br>&lt;/div&gt;<br>&lt;/txp:if_custom_field&gt;<br>&lt;/txp:article&gt;</p><p>Thank you. Help is very much appreciated.</p>]]></description>
     <content:encoded><![CDATA[<p>Sure, sorry.</p><p><span class="caps">CSS</span>&#8212;</p><p>.slideshow {  
    height:  310px;  
    width:   410px;  
    padding: 0;  
    margin:  0;  <br>} </p><p>.slideshow img {  
    padding: 15px;  
    border:  1px solid #ccc;  
    background-color: #eee;  
    width:  400px; 
    height: 300px; 
    top:  0; 
    left:0; <br>} </p><p><span class="caps">HTML</span></p><p>&lt;txp:article&gt;&lt;txp:if_custom_field name=&#8220;images_category&#8221;&gt;<br>&lt;div class=&#8220;slideshow&#8221;&gt;<br>&lt;txp:images category=&#8217;&lt;txp:custom_field name=&#8220;images_category&#8221; /&gt;&#8217; break=&#8221;&#8220;&gt;<br>&lt;txp:image /&gt;<br>&lt;/txp:images&gt;<br>&lt;/div&gt;<br>&lt;/txp:if_custom_field&gt;<br>&lt;/txp:article&gt;</p><p>Thank you. Help is very much appreciated.</p>]]></content:encoded>
     <dc:creator>Dylan</dc:creator>
 
</item>
<item>
     <title>Comment on Simple image slideshow using jQuery and native TXP tags by Jonathan Stubbs</title>
     <link><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001152" id="c001152">1</a></link>
     <guid><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001152" id="c001152">1</a></guid>
     <pubDate>Wed, 03 Oct 12 01:07:18 +0000</pubDate>
     <description><![CDATA[<p>Dylan, it would be good to see an example <span class="caps">URL</span> if you have one to test couple things out, but from what I can see in the above, your padding of 15px and the border of 1px would be wider than the containing div.</p><p>You could try and change the padding to 2px for example and see what happens.</p>]]></description>
     <content:encoded><![CDATA[<p>Dylan, it would be good to see an example <span class="caps">URL</span> if you have one to test couple things out, but from what I can see in the above, your padding of 15px and the border of 1px would be wider than the containing div.</p><p>You could try and change the padding to 2px for example and see what happens.</p>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://jonathanstubbs.com">Jonathan Stubbs</a></dc:creator>
 
</item>
<item>
     <title>Comment on Simple image slideshow using jQuery and native TXP tags by Dylan</title>
     <link><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001154" id="c001154">1</a></link>
     <guid><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001154" id="c001154">1</a></guid>
     <pubDate>Fri, 05 Oct 12 14:02:51 +0000</pubDate>
     <description><![CDATA[<p>Hi Jonathan,<br>I have addressed the issue you mentioned,&#8212; thank you. However, the problem is still happening&#8212; namely when the page is re-accessed by the same person (for example, if you were to visit the page, then click the logo to go &#8220;back&#8221; to the same page). I am seeing this in Mozilla, but have also seen it in Chrome.  </p><p>This is the link: http://www.bournedesigns.info/textpatterntemp/<br>No one reports seeing this on the <span class="caps">FIRST</span> time the page is accessed&#8212; only on subsequent viewings, such as by clicking the logo or the &#8220;Home&#8221; link on the right hand side, or refreshing. It may not happen every time. </p><p>When the images are loading in the correct size, each image displays a size of nearly 300 &#215; 400 in the html; when they display incorrectly, each disparate size is present in the code.</p>]]></description>
     <content:encoded><![CDATA[<p>Hi Jonathan,<br>I have addressed the issue you mentioned,&#8212; thank you. However, the problem is still happening&#8212; namely when the page is re-accessed by the same person (for example, if you were to visit the page, then click the logo to go &#8220;back&#8221; to the same page). I am seeing this in Mozilla, but have also seen it in Chrome.  </p><p>This is the link: http://www.bournedesigns.info/textpatterntemp/<br>No one reports seeing this on the <span class="caps">FIRST</span> time the page is accessed&#8212; only on subsequent viewings, such as by clicking the logo or the &#8220;Home&#8221; link on the right hand side, or refreshing. It may not happen every time. </p><p>When the images are loading in the correct size, each image displays a size of nearly 300 &#215; 400 in the html; when they display incorrectly, each disparate size is present in the code.</p>]]></content:encoded>
     <dc:creator>Dylan</dc:creator>
 
</item>
<item>
     <title>Comment on Simple image slideshow using jQuery and native TXP tags by Jonathan Stubbs</title>
     <link><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001155" id="c001155">1</a></link>
     <guid><a href="https://textpattern.tips/simple-image-slideshow-using-jquery-and-native-txp-tags#c001155" id="c001155">1</a></guid>
     <pubDate>Sat, 06 Oct 12 01:37:46 +0000</pubDate>
     <description><![CDATA[<p>Your image #47 seems to break the layout. On first page load, the slideshow div has this style attached by Cycle:</p><p><code>&lt;div class="slideshow" style="position: relative; "&gt;</code></p><p>Sometimes (not all the time), on page reload after clicking the home logo, the layout breaks with image #47 and this is what Cycle produces:</p><p><code>&lt;div class="slideshow" style="position: relative; width: 640px; height: 480px; "&gt;</code></p><p>From what I can see, your image #47 is in fact 640&#215;480 px, so this should break the layout as far as I remember from using cycle.</p><p>As <a href="http://forum.textpattern.com/viewtopic.php?pid=266407#p266407" rel="nofollow">Uli indicated on your forum post</a>, please check first for errors in the loading of scripts, and I would start with the <a href="http://jquery.malsup.com/cycle/basic.html" rel="nofollow">basic Cycle example</a> first, make sure there are no errors with that and then add your own images.</p><p>But, I&#8217;m not 100% sure about the images being larger than their containers, I don&#8217;t remember how Cycle handles that (or not) so you may need to address that.</p>]]></description>
     <content:encoded><![CDATA[<p>Your image #47 seems to break the layout. On first page load, the slideshow div has this style attached by Cycle:</p><p><code>&lt;div class="slideshow" style="position: relative; "&gt;</code></p><p>Sometimes (not all the time), on page reload after clicking the home logo, the layout breaks with image #47 and this is what Cycle produces:</p><p><code>&lt;div class="slideshow" style="position: relative; width: 640px; height: 480px; "&gt;</code></p><p>From what I can see, your image #47 is in fact 640&#215;480 px, so this should break the layout as far as I remember from using cycle.</p><p>As <a href="http://forum.textpattern.com/viewtopic.php?pid=266407#p266407" rel="nofollow">Uli indicated on your forum post</a>, please check first for errors in the loading of scripts, and I would start with the <a href="http://jquery.malsup.com/cycle/basic.html" rel="nofollow">basic Cycle example</a> first, make sure there are no errors with that and then add your own images.</p><p>But, I&#8217;m not 100% sure about the images being larger than their containers, I don&#8217;t remember how Cycle handles that (or not) so you may need to address that.</p>]]></content:encoded>
     <dc:creator><a rel="nofollow" href="http://jonathanstubbs.com">Jonathan Stubbs</a></dc:creator>
 
</item>

</channel>
</rss>