<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>GollyGolly.com &#187; Snippets | Code</title>
	<atom:link href="http://www.gollygolly.com/category/snippets-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gollygolly.com</link>
	<description>Shout Golly! a dozen times fast. That jumble of sounds your mouth begins to make is the humor that has become GollyGolly.com, a site about all my favorite things.  Shopping, Quotes, Reviews, Movies, TV, Family, Humor, Parenting, Art, Photoshop, Wordpress, Photography, Inspiration.</description>
	<pubDate>Wed, 29 Oct 2008 04:59:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Highslide JS :: View topic - PHP code for browsing a folder</title>
		<link>http://www.gollygolly.com/2007/02/10/highslide-js-view-topic-php-code-for-browsing-a-folder/</link>
		<comments>http://www.gollygolly.com/2007/02/10/highslide-js-view-topic-php-code-for-browsing-a-folder/#comments</comments>
		<pubDate>Sat, 10 Feb 2007 10:23:17 +0000</pubDate>
		<dc:creator>Golly Admin</dc:creator>
		
		<category><![CDATA[Snippets | Code]]></category>

		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://www.gollygolly.com/2007/02/10/highslide-js-view-topic-php-code-for-browsing-a-folder/</guid>
		<description><![CDATA[Need thumbnail creation script, images in a folder.
Highslide JS :: View topic - PHP code for browsing a folder
&#60; ?php
if ($handle = opendir(&#039;images&#039;)) {
   while (false !== ($file = readdir($handle))) {
       if ($file != &#34;.&#34; &#38;&#38; $file != &#34;..&#34;) {
        [...]]]></description>
			<content:encoded><![CDATA[<p>Need thumbnail creation script, images in a folder.<br />
<a href="http://vikjavev.no/highslide/forum/viewtopic.php?t=118&#038;highlight=folder">Highslide JS :: View topic - PHP code for browsing a folder</a><br />
<code>&lt; ?php<br />
if ($handle = opendir(&#039;images&#039;)) {<br />
   while (false !== ($file = readdir($handle))) {<br />
       if ($file != &quot;.&quot; &amp;&amp; $file != &quot;..&quot;) {<br />
           echo &quot;<br />
           &lt;a href=&#039;$file&#039; onclick=&#039;return hs.expand(this)&#039; class=&#039;highslide&#039;&gt;<br />
                &lt;img src=&#039;thumbnail-creation-script.php?src=$file&#039; alt=&#039;&#039;/&gt;<br />
           &quot;;<br />
       }<br />
   }<br />
   closedir($handle);<br />
}<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gollygolly.com/2007/02/10/highslide-js-view-topic-php-code-for-browsing-a-folder/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Highslide JS :: View topic - flash objects</title>
		<link>http://www.gollygolly.com/2007/01/18/highslide-js-view-topic-flash-objects/</link>
		<comments>http://www.gollygolly.com/2007/01/18/highslide-js-view-topic-flash-objects/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 09:55:59 +0000</pubDate>
		<dc:creator>Golly Admin</dc:creator>
		
		<category><![CDATA[Snippets | Code]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[highslide]]></category>

		<guid isPermaLink="false">http://www.gollygolly.com/2007/01/18/highslide-js-view-topic-flash-objects/</guid>
		<description><![CDATA[The solution appears to be setting wmode to transparent in the flash markup. This has to be done for both the object/param and embed tags. This is new knowlegde to me, but in the future I will try to do this automatically in Highslide so that the web designer doesn&#8217;t have to think about it.
&#60;object [...]]]></description>
			<content:encoded><![CDATA[<p>The solution appears to be setting wmode to transparent in the flash markup. This has to be done for both the object/param and embed tags. This is new knowlegde to me, but in the future I will try to do this automatically in Highslide so that the web designer doesn&#8217;t have to think about it.</p>
<p><code>&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;           <br />
codebase=&quot;http://download.macromedia.com/flash/swflash.cab#version=6,0,0,0&quot;<br />
    width=&quot;300&quot; height=&quot;250&quot; id=&quot;Flash&quot; align=&quot;&quot;&gt;<br />
    &lt;param name=&quot;movie&quot; value=&quot;Flash.swf&quot;&gt;<br />
    &lt;/param&gt;&lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;<br />
    &lt;/param&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot;&gt;     <br />
    &lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;<br />
&nbsp;<br />
    &lt;embed src=&quot;Flash.swf&quot; quality=&quot;high&quot; bgcolor=&quot;#FFFFFF&quot;  width=&quot;300&quot;<br />
            height=&quot;250&quot; name=&quot;Flash&quot; align=&quot;&quot; wmode=&quot;transparent&quot;<br />
            type=&quot;application/x-shockwave-flash&quot;<br />
            pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;&gt;         <br />
    &lt;/embed&gt;<br />
&lt;/param&gt;&lt;/object&gt;</code><br />
<a href="http://vikjavev.no/highslide/forum/viewtopic.php?t=30">Highslide JS :: View topic - flash objects</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gollygolly.com/2007/01/18/highslide-js-view-topic-flash-objects/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS Tip: Preloading Images With CSS</title>
		<link>http://www.gollygolly.com/2007/01/12/css-tip-preloading-images-with-css/</link>
		<comments>http://www.gollygolly.com/2007/01/12/css-tip-preloading-images-with-css/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 11:08:05 +0000</pubDate>
		<dc:creator>Golly Admin</dc:creator>
		
		<category><![CDATA[Snippets | Code]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.gollygolly.com/2007/01/12/css-tip-preloading-images-with-css/</guid>
		<description><![CDATA[Image Preloading
CSS Tip: Preloading Images With CSS
First, let&#8217;s create a class with display set to none and add it to the HEAD section of the home page:
&#60;style type=&#34;text/css&#34;&#62;
.hiddenPic {display:none;}
&#60;/style&#62;
Next, we&#8217;ll add image tags for our puppy pictures to the bottom of the home page. Always place them at the bottom of the page! If the [...]]]></description>
			<content:encoded><![CDATA[<p>Image Preloading</p>
<p><a href="http://www.netmechanic.com/news/vol6/css_no18.htm">CSS Tip: Preloading Images With CSS</a><br />
First, let&#8217;s create a class with display set to none and add it to the HEAD section of the home page:</p>
<p><code>&lt;style type=&quot;text/css&quot;&gt;<br />
.hiddenPic {display:none;}<br />
&lt;/style&gt;</code></p>
<p>Next, we&#8217;ll add image tags for our puppy pictures to the bottom of the home page. Always place them at the bottom of the page! If the visitor is at the home page, you certainly want it to display as quickly as possible. Let the browser display the home page and its images before it starts trying to retrieve the images for the next page.</p>
<p><code>&lt;img src=&quot;poodle-puppy-Clara.jpg&quot; <br />
  alt=&quot;Clara at 8 weeks&quot; title=&quot;Clara at 8 weeks&quot; <br />
    height=&quot;350&quot; width=&quot;350&quot; class=&quot;hiddenPic&quot;/&gt;<br />
&nbsp;<br />
&lt;img src=&quot;poodle-puppy-Kenny.jpg&quot;<br />
  alt=&quot;Kenny at 10 weeks&quot; title=&quot;Kenny at 10 weeks&quot;<br />
     height=&quot;350&quot; width=&quot;350&quot; class=&quot;hiddenPic&quot;/&gt;<br />
&nbsp;<br />
&lt;img src=&quot;poodle-puppy-Aiko.jpg&quot; <br />
  alt=&quot;Aiko at 6 weeks&quot; title=&quot;Aiko at 6 weeks&quot;<br />
     height=&quot;350&quot; width=&quot;350&quot; class=&quot;hiddenPic&quot;/&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gollygolly.com/2007/01/12/css-tip-preloading-images-with-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photos in captions</title>
		<link>http://www.gollygolly.com/2007/01/12/photos-in-captions/</link>
		<comments>http://www.gollygolly.com/2007/01/12/photos-in-captions/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 11:02:00 +0000</pubDate>
		<dc:creator>Golly Admin</dc:creator>
		
		<category><![CDATA[Snippets | Code]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[highslide]]></category>

		<guid isPermaLink="false">http://www.gollygolly.com/2007/01/12/photos-in-captions/</guid>
		<description><![CDATA[Highslide - extra photos in captions, click to enlarge in same window.
&#60;a href=&#34;my-image.jpg&#34; onclick=&#34;hs.expanders[hs.getWrapperKey(this)].content.src=this.href; return false&#34;&#62;Change picture&#60;/a&#62;
]]></description>
			<content:encoded><![CDATA[<p>Highslide - extra photos in captions, click to enlarge in same window.</p>
<p><code>&lt;a href=&quot;my-image.jpg&quot; onclick=&quot;hs.expanders[hs.getWrapperKey(this)].content.src=this.href; return false&quot;&gt;Change picture&lt;/a&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gollygolly.com/2007/01/12/photos-in-captions/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.031 seconds -->
