<?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: Please help us improve our website.</title>
	<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website/</link>
	<description>Comments on Ask MetaFilter post Please help us improve our website.</description>
	<pubDate>Fri, 29 Jul 2005 07:38:09 -0800</pubDate>
	<lastBuildDate>Fri, 29 Jul 2005 07:38:09 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Please help us improve our website.</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website</link>	
		<description>I&apos;m in the final stages of setting up a user survey for my website and wanted to ask a cookie/javascript question. &lt;br /&gt;&lt;br /&gt; The current set up is this: a DHTML window will kindly ask visitors to click through to a survey, with a setTimeout of 2 minutes, so I can have visitors actually go through the site beforehand. There is also a session cookie so visitors don&apos;t get the popup more than once per visit.&lt;br&gt;
&lt;br&gt;
However, the site has more than one page, and this script is rendered useless unless the visitor stays on the same page for 2 minutes (not likely). Is there a way I can introduce a site cookie or any other method that would initiate the javascript after 2 minutes, regardless of which page the user clicks through? &lt;br&gt;
&lt;br&gt;
The only solution I found so far is having a dummy window open in the background with the setTimeout, but I don&apos;t want any other popups (and they would be likely blocked, anyway). Hopefully someone with more technical knowledge than me will have a solution to this dilemma.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.21876</guid>
		<pubDate>Fri, 29 Jul 2005 07:18:04 -0800</pubDate>
		<dc:creator>Blue Buddha</dc:creator>
		
			<category>cookies</category>
		
			<category>javascript</category>
		
			<category>survey</category>
		
			<category>website</category>
		
	</item> <item>
		<title>By: 4easypayments</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352219</link>	
		<description>The pseudo-code logic might run something like this:&lt;br&gt;
&lt;blockquote&gt;&lt;br&gt;
document.onload, check for surveyCookie&lt;br&gt;
if surveyCookie doesn&apos;t exist{&lt;br&gt;
   var enteredTime = now&lt;br&gt;
   set surveyCookie = enteredTime&lt;br&gt;
}else{&lt;br&gt;
   var enteredTime = surveyCookie&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
var remainingInterval = (enteredTime + 2minutes) - now;&lt;br&gt;
set window to pop up after remainingInterval&lt;br&gt;
&lt;/blockquote&gt;&lt;br&gt;
If someone else wants to make that into actual javascript...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352219</guid>
		<pubDate>Fri, 29 Jul 2005 07:38:09 -0800</pubDate>
		<dc:creator>4easypayments</dc:creator>
	</item><item>
		<title>By: thanotopsis</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352241</link>	
		<description>4easypayments&apos; method assumes that you have control over whatever page the user is examining after they&apos;ve left your initial page.&lt;br&gt;
&lt;br&gt;
You could try and create your site in a framed document, where the rows of the frameset are denoted as &quot;100%,*&quot; with no bordering or margins.  That way, there&apos;s a frame on the page that&apos;s completely unseen, and the user doesn&apos;t experience a difference in navigation.  The only flaw in this method is if the user navigates by some other method than using the links on the page (i.e. via bookmarks or the address bar).  If they end up leaving the site by one of those methods, you&apos;re once again SOL.&lt;br&gt;
&lt;br&gt;
The popunder or hidden window is probably your best bet, but any popup blocker worth its salt is going to kill that idea.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352241</guid>
		<pubDate>Fri, 29 Jul 2005 08:05:00 -0800</pubDate>
		<dc:creator>thanotopsis</dc:creator>
	</item><item>
		<title>By: misterbrandt</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352258</link>	
		<description>No, you just have to add 4easypayments&apos; logic to EVERY page. maybe with auto_prepend in your root .htaccess or httpd.conf (assuming you are running on apache)&lt;br&gt;
&lt;br&gt;
Also, why not do this logic server-side, so that people browsing without javascript turned on still get your survey?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352258</guid>
		<pubDate>Fri, 29 Jul 2005 08:36:52 -0800</pubDate>
		<dc:creator>misterbrandt</dc:creator>
	</item><item>
		<title>By: Blue Buddha</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352262</link>	
		<description>misterbrandt, if you know a good resource on how to do it using ASP, please link it. Thanks.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352262</guid>
		<pubDate>Fri, 29 Jul 2005 08:39:45 -0800</pubDate>
		<dc:creator>Blue Buddha</dc:creator>
	</item><item>
		<title>By: misterbrandt</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352269</link>	
		<description>Oh, it is JS because it&apos;s a dhtml &quot;window&quot; not a popup window. never mind that last bit then</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352269</guid>
		<pubDate>Fri, 29 Jul 2005 08:48:30 -0800</pubDate>
		<dc:creator>misterbrandt</dc:creator>
	</item><item>
		<title>By: misterbrandt</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352280</link>	
		<description>Blue Buddha, ASP / IIS is not my thing. Sorry. And my google-fu for the MS equivalent of &lt;code&gt;auto_prepend&lt;/code&gt; failed me. utterly.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352280</guid>
		<pubDate>Fri, 29 Jul 2005 09:00:21 -0800</pubDate>
		<dc:creator>misterbrandt</dc:creator>
	</item><item>
		<title>By: creeront</title>
		<link>http://ask.metafilter.com/21876/Please-help-us-improve-our-website#352380</link>	
		<description>If you&apos;re on IIS, I think you should modify the global.asa file with that script.  Here is a link to the &lt;a href=&quot;http://www.w3schools.com/asp/asp_globalasa.asp&quot;&gt;w3Schools explanation &lt;/a&gt;of  the file, which is, unfortunately, completely in VBScript.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21876-352380</guid>
		<pubDate>Fri, 29 Jul 2005 10:57:43 -0800</pubDate>
		<dc:creator>creeront</dc:creator>
	</item>
	</channel>
</rss>
