<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to create an Email Opt in Box for your Downloads – Part 1	</title>
	<atom:link href="https://michaelsoriano.com/create-opt-in-box/feed/" rel="self" type="application/rss+xml" />
	<link>https://michaelsoriano.com/create-opt-in-box/</link>
	<description>I turn code into captivating user experiences for the web</description>
	<lastBuildDate>Sat, 05 Oct 2013 20:17:26 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Create an Email Opt in Box for your Downloads - Part 2 &#124; Fearless flyer		</title>
		<link>https://michaelsoriano.com/create-opt-in-box/#comment-529</link>

		<dc:creator><![CDATA[Create an Email Opt in Box for your Downloads - Part 2 &#124; Fearless flyer]]></dc:creator>
		<pubDate>Sat, 05 Oct 2013 20:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=2142#comment-529</guid>

					<description><![CDATA[[&#8230;] my previous post, we already have a working box that shows us some static messages, along with a link that takes [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] my previous post, we already have a working box that shows us some static messages, along with a link that takes [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/create-opt-in-box/#comment-528</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Sat, 05 Jan 2013 03:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=2142#comment-528</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/create-opt-in-box/#comment-527&quot;&gt;FitJerk&lt;/a&gt;.

which part is not working?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/create-opt-in-box/#comment-527">FitJerk</a>.</p>
<p>which part is not working?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: FitJerk		</title>
		<link>https://michaelsoriano.com/create-opt-in-box/#comment-527</link>

		<dc:creator><![CDATA[FitJerk]]></dc:creator>
		<pubDate>Thu, 03 Jan 2013 17:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=2142#comment-527</guid>

					<description><![CDATA[Pretty kick ass. Just one quesiton - how do you stop the thing from popping up on refresh and instead, ONLY pop up on a regular click. For example if I wanted to make the pop up appear on an image click?]]></description>
			<content:encoded><![CDATA[<p>Pretty kick ass. Just one quesiton &#8211; how do you stop the thing from popping up on refresh and instead, ONLY pop up on a regular click. For example if I wanted to make the pop up appear on an image click?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: michael soriano		</title>
		<link>https://michaelsoriano.com/create-opt-in-box/#comment-526</link>

		<dc:creator><![CDATA[michael soriano]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 16:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=2142#comment-526</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/create-opt-in-box/#comment-525&quot;&gt;Avi Cohen&lt;/a&gt;.

make sure you have the plugin. inspect in firebug - use console.log.  i tried $.cookie and it looks like its working.
&lt;code&gt;
$(document).ready(function(){
// getting the value of cookie_1 and setting it to a variable
var cookieValue = $.cookie(&#039;cookie_1&#039;);
// if cookie_1 doesn&#039;t exist, show the divs then create the cookie
if(!cookieValue){
	console.log(&#039;test&#039;)
//enter code
}
&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/create-opt-in-box/#comment-525">Avi Cohen</a>.</p>
<p>make sure you have the plugin. inspect in firebug &#8211; use console.log.  i tried $.cookie and it looks like its working.<br />
<code><br />
$(document).ready(function(){<br />
// getting the value of cookie_1 and setting it to a variable<br />
var cookieValue = $.cookie(&#39;cookie_1&#39;);<br />
// if cookie_1 doesn&#39;t exist, show the divs then create the cookie<br />
if(!cookieValue){<br />
	console.log('test')<br />
//enter code<br />
}<br />
</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Avi Cohen		</title>
		<link>https://michaelsoriano.com/create-opt-in-box/#comment-525</link>

		<dc:creator><![CDATA[Avi Cohen]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 20:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://fearlessflyer.com/?p=2142#comment-525</guid>

					<description><![CDATA[Hi Mike,
How would you go about limiting the lightbox&#039;s appearance with a cookie? I&#039;m using your lightbox to display an image link, but I&#039;d like to limit it so that the same user will see it only once every 24 hours.
I modified the code you provided above and came up with the following, but it doesn&#039;t work:
&lt;code&gt;
$(document).ready(function(){
	    // getting the value of cookie_1 and setting it to a variable
    var cookieValue = $.cookie(&#039;cookie_1&#039;);
    // if cookie_1 doesn&#039;t exist, show the divs then create the cookie
    if(!cookieValue){
         $(&#034;#darkbg&#034;).delay(2000).fadeIn(300);
	$(&#034;#lightbox-panel&#034;).delay(2000).fadeIn(50).animate({
	left: &#039;50%&#039;
  });
		 $(&#034;a#close&#034;).click(function(){
		 $(&#034;#darkbg, #lightbox-panel&#034;).fadeOut(300);
		})
         // creating a cookie named cookie_1 and expire it in 1 day
         $.cookie(&#039;cookie_1&#039;, &#039;cookie_value&#039;, {expires: 1});
    }
    // bind the delete cookie action
    $(&#039;#delete-cookie&#039;).click(function(){
        // set it to null to delete the cookie
        $.cookie(&#039;cookie_1&#039;, null);
    });
	})
&lt;/code&gt;
Along with the following html:
&lt;code&gt;
&#060;a href=&#034;http://www.yahoo.com&#034; rel=&#034;nofollow&#034;&#062;&#060;/a&#062;
&#060;a href=&#034;#&#034; rel=&#034;nofollow&#034;&#062;close&#060;/a&#062;
&lt;/code&gt;
Wait 2 seconds for script to take effect
Delete Cookie &#038; Reset Script]]></description>
			<content:encoded><![CDATA[<p>Hi Mike,<br />
How would you go about limiting the lightbox&#8217;s appearance with a cookie? I&#8217;m using your lightbox to display an image link, but I&#8217;d like to limit it so that the same user will see it only once every 24 hours.<br />
I modified the code you provided above and came up with the following, but it doesn&#8217;t work:<br />
<code><br />
$(document).ready(function(){<br />
	    // getting the value of cookie_1 and setting it to a variable<br />
    var cookieValue = $.cookie(&#39;cookie_1&#39;);<br />
    // if cookie_1 doesn&#39;t exist, show the divs then create the cookie<br />
    if(!cookieValue){<br />
         $(&quot;#darkbg&quot;).delay(2000).fadeIn(300);<br />
	$(&quot;#lightbox-panel&quot;).delay(2000).fadeIn(50).animate({<br />
	left: &#39;50%&#39;<br />
  });<br />
		 $(&quot;a#close&quot;).click(function(){<br />
		 $(&quot;#darkbg, #lightbox-panel&quot;).fadeOut(300);<br />
		})<br />
         // creating a cookie named cookie_1 and expire it in 1 day<br />
         $.cookie(&#39;cookie_1&#39;, &#39;cookie_value&#39;, {expires: 1});<br />
    }<br />
    // bind the delete cookie action<br />
    $(&#39;#delete-cookie&#39;).click(function(){<br />
        // set it to null to delete the cookie<br />
        $.cookie(&#39;cookie_1&#39;, null);<br />
    });<br />
	})<br />
</code><br />
Along with the following html:<br />
<code><br />
&lt;a href=&quot;http://www.yahoo.com&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;<br />
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;close&lt;/a&gt;<br />
</code><br />
Wait 2 seconds for script to take effect<br />
Delete Cookie &amp; Reset Script</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
