<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: How to rotate a masthead.</title>
	<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead/</link>
	<description>Comments on Ask MetaFilter post How to rotate a masthead.</description>
	<pubDate>Mon, 17 Jul 2006 01:53:18 -0800</pubDate>
	<lastBuildDate>Mon, 17 Jul 2006 01:53:18 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: How to rotate a masthead.</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead</link>	
		<description>How do I create a rotating masthead on my blog? &lt;br /&gt;&lt;br /&gt; You guys/gals are much more experienced in this area than I.&lt;br&gt;
&lt;br&gt;
I want to have the masthead be the same image (diferent color) everytime someone vists a new page.&lt;br&gt;
&lt;br&gt;
HOWEVER, I DON&apos;T want the image to change randomly while the reader is viewing a page. I only want it to change when a new page is visited.&lt;br&gt;
&lt;br&gt;
...sorry, the OCD in me.&lt;br&gt;
&lt;br&gt;
I&apos;ve got all the images ready... now I just need to script, or plug-in, or what-not.&lt;br&gt;
&lt;br&gt;
WordPress is the platform, btw.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.42300</guid>
		<pubDate>Mon, 17 Jul 2006 01:32:04 -0800</pubDate>
		<dc:creator>bamassippi</dc:creator>
		
			<category>blog</category>
		
			<category>blogs</category>
		
			<category>images</category>
		
			<category>masthead</category>
		
			<category>wordpress</category>
		
			<category>script</category>
		
	</item> <item>
		<title>By: ifranzen</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650541</link>	
		<description>I think you can do this with a little javascript.  I have a rotating image on my homepage (check profile).  See &lt;a href=&quot;http://www.java-scripts.net/javascripts/Random-Image-Script.phtml&quot;&gt;here &lt;/a&gt;for the code. &lt;br&gt;
&lt;br&gt;
When you say &quot;I DON&apos;T want the image to change randomly while the reader is viewing a page&quot; - do you mean surf away from that page?  If you want the image to keep steady while the viewer is elsewhere on the site, or to keep constant as he&apos;s surfing through multiple pages, then you might need cookies - and then it&apos;s over my head in terms of the coding.  :)&lt;br&gt;
&lt;br&gt;
A rotating image on a single page is really simple though.  Check the link and see my homepage for an example.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650541</guid>
		<pubDate>Mon, 17 Jul 2006 01:53:18 -0800</pubDate>
		<dc:creator>ifranzen</dc:creator>
	</item><item>
		<title>By: Leon</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650548</link>	
		<description>Do you want the image to be&lt;br&gt;
&lt;br&gt;
a) static for the page (page &lt;em&gt;n&lt;/em&gt; always shows the orange masthead, regardless of user)&lt;br&gt;
&lt;br&gt;
b) static for the page and the user (page &lt;em&gt;n&lt;/em&gt; always shows the orange masthead to user &lt;em&gt;x&lt;/em&gt; and always shows the green masthead to user &lt;em&gt;y&lt;/em&gt;)&lt;br&gt;
&lt;br&gt;
c) static for the page and the user and the session (page &lt;em&gt;n&lt;/em&gt; shows the orange masthead to user &lt;em&gt;x&lt;/em&gt; and a green masthead to user &lt;em&gt;y&lt;/em&gt; for the lifetime of their browser session, but if they close and reopen the browser they get a new random masthead)&lt;br&gt;
&lt;br&gt;
or (deep breath)&lt;br&gt;
&lt;br&gt;
d) static for the page and the user and the hit (for want of a better term) (page &lt;em&gt;n&lt;/em&gt; shows the user an orange masthead, which stays orange if they refresh the browser, but if they navigate to page &lt;em&gt;m&lt;/em&gt; and back to page &lt;em&gt;n&lt;/em&gt;, the masthead colour is shuffled again)&lt;br&gt;
&lt;br&gt;
Sorry to be pedantic, it&apos;s probably only a few lines of code, but each case is slightly different.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650548</guid>
		<pubDate>Mon, 17 Jul 2006 02:32:20 -0800</pubDate>
		<dc:creator>Leon</dc:creator>
	</item><item>
		<title>By: derbs</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650551</link>	
		<description>this is pretty easy:&lt;br&gt;
&lt;br&gt;
http://www.derbs.co.uk/misc/randomimage/randomImage.htm&lt;br&gt;
&lt;br&gt;
keep refreshing this page and it will randomly cycle through the 5 images.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650551</guid>
		<pubDate>Mon, 17 Jul 2006 03:31:26 -0800</pubDate>
		<dc:creator>derbs</dc:creator>
	</item><item>
		<title>By: derbs</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650552</link>	
		<description>If you view the source, you&apos;ll see how this works. You firstly need your images numbered like &quot;1.gif&quot;. &lt;br&gt;
&lt;br&gt;
Say you have 10 images, you&apos;ll then need to change the 5 to 10:&lt;br&gt;
&lt;br&gt;
randomNumber=getRandom(5);&lt;br&gt;
&lt;br&gt;
Here&apos;s the link again, but clickable this time!&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.derbs.co.uk/misc/randomimage/randomImage.htm&quot;&gt; http://www.derbs.co.uk/misc/randomimage/randomImage.htm&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650552</guid>
		<pubDate>Mon, 17 Jul 2006 03:35:37 -0800</pubDate>
		<dc:creator>derbs</dc:creator>
	</item><item>
		<title>By: derbs</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650553</link>	
		<description>You can get the files here as well:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.derbs.co.uk/misc/randomimage.zip&quot;&gt;http://www.derbs.co.uk/misc/randomimage.zip&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650553</guid>
		<pubDate>Mon, 17 Jul 2006 03:36:20 -0800</pubDate>
		<dc:creator>derbs</dc:creator>
	</item><item>
		<title>By: Smart Dalek</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650567</link>	
		<description>&lt;a href=&quot;http://zeldman.com/&quot;&gt;Jefferey Zeldman&lt;/a&gt; uses php for image rotation; it works even in Firefox.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650567</guid>
		<pubDate>Mon, 17 Jul 2006 04:34:20 -0800</pubDate>
		<dc:creator>Smart Dalek</dc:creator>
	</item><item>
		<title>By: adamrice</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650604</link>	
		<description>I&apos;m using the &lt;a href=&quot;http://hivelogic.com/articles/2003/10/22/a_better_mouse-trap&quot;&gt;Hivelogic rotator&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650604</guid>
		<pubDate>Mon, 17 Jul 2006 05:50:35 -0800</pubDate>
		<dc:creator>adamrice</dc:creator>
	</item><item>
		<title>By: jdroth</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650613</link>	
		<description>I use the Hivelogic rotator, too, on my pesonal weblog. I rotate background images and I rotate a photo in the upper-right corner of the blog. Works like charm.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650613</guid>
		<pubDate>Mon, 17 Jul 2006 06:04:37 -0800</pubDate>
		<dc:creator>jdroth</dc:creator>
	</item><item>
		<title>By: Steven C. Den Beste</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650628</link>	
		<description>I currently one of 670 images on the top of my site, which cycle at a rate of one per hour, for a total cycle of almost 28 days. It&apos;s handled by a pretty simple shell script invoked hourly by cron (under Linux).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650628</guid>
		<pubDate>Mon, 17 Jul 2006 06:45:33 -0800</pubDate>
		<dc:creator>Steven C. Den Beste</dc:creator>
	</item><item>
		<title>By: Steven C. Den Beste</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650630</link>	
		<description>That should have been &quot;I currently &lt;i&gt;display&lt;/i&gt; one of...&quot;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650630</guid>
		<pubDate>Mon, 17 Jul 2006 06:46:05 -0800</pubDate>
		<dc:creator>Steven C. Den Beste</dc:creator>
	</item><item>
		<title>By: baylink</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650638</link>	
		<description>Pedant-filter:  That&apos;s not the &apos;masthead&apos;; that&apos;s the &apos;nameplate&apos;.  The masthead is the section, usually on an inside page, that lists the staff of a publication.&lt;br&gt;
&lt;br&gt;
The nameplate is the thing on the front page above the fold that identifies the publication for the reader.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650638</guid>
		<pubDate>Mon, 17 Jul 2006 06:51:26 -0800</pubDate>
		<dc:creator>baylink</dc:creator>
	</item><item>
		<title>By: BillyG</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650654</link>	
		<description>3 more I had saved in my delicious account:&lt;br&gt;
&lt;br&gt;
http://automaticlabs.com/products/rotator&lt;br&gt;
http://www.alistapart.com/articles/betterrotator/&lt;br&gt;
http://www.dyn-web.com/javascript/rotate-img/ &lt;br&gt;
&lt;br&gt;
I&apos;m not using one for myself but I would look at the middle one first to see if it fits your needs. G/L.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650654</guid>
		<pubDate>Mon, 17 Jul 2006 07:11:28 -0800</pubDate>
		<dc:creator>BillyG</dc:creator>
	</item><item>
		<title>By: sluggo</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650693</link>	
		<description>I second/third/fourth the hivelogic rotator - it does exactly what you&apos;re asking for.  &lt;br&gt;
&lt;br&gt;
I&apos;m using it on several sites (including a few wordpress ones) and it works like a charm.  Email me (profile) if you have specific questions on integrating it w/WP.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650693</guid>
		<pubDate>Mon, 17 Jul 2006 07:58:39 -0800</pubDate>
		<dc:creator>sluggo</dc:creator>
	</item><item>
		<title>By: Happy Dave</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#650921</link>	
		<description>You can do this in K2 (Wordpress theme) - go check out &lt;a href=&quot;http://paulstamatiou.com/2005/12/28/customizing-k2-part-1/&quot;&gt;Pstam&apos;s Wordpress Customisation&lt;/a&gt; series for more info</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-650921</guid>
		<pubDate>Mon, 17 Jul 2006 11:13:03 -0800</pubDate>
		<dc:creator>Happy Dave</dc:creator>
	</item><item>
		<title>By: AmbroseChapel</title>
		<link>http://ask.metafilter.com/42300/How-to-rotate-a-masthead#651092</link>	
		<description>&lt;strong&gt;&lt;em&gt;Jefferey Zeldman uses php for image rotation; it works even in Firefox.&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
I just have to post &lt;strong&gt;&lt;em&gt;&quot;huh?&quot;&lt;/em&gt;&lt;/strong&gt; -- not just to be a pedant, but to counteract the impression you seem to have that the other solutions&lt;em&gt; don&apos;t&lt;/em&gt; work in FireFox.&lt;br&gt;
&lt;br&gt;
But, if you&apos;ve got PHP running the site, you might was well do it in the PHP, so that you don&apos;t have to worry about users who don&apos;t have JavaScript/have it turned off.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.42300-651092</guid>
		<pubDate>Mon, 17 Jul 2006 13:59:37 -0800</pubDate>
		<dc:creator>AmbroseChapel</dc:creator>
	</item>
	</channel>
</rss>
