<?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: SimpleModal 1.3 Released</title>
	<atom:link href="http://www.ericmmartin.com/simplemodal-1-3-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ericmmartin.com/simplemodal-1-3-released/</link>
	<description></description>
	<lastBuildDate>Sun, 18 Jul 2010 17:50:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Edward Kelley</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9695</link>
		<dc:creator>Edward Kelley</dc:creator>
		<pubDate>Wed, 23 Sep 2009 05:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9695</guid>
		<description>Eric, that would be nice! I think it is beyond my skills though. I am disabled and suffer from a degenerative nerve disease that has impacted my cognitive abilities. I was once an excellent programmer who worked for AT&amp;T. 

I&#039;ve volunteered my time and what&#039;s left of my abilities to my old boarding school. HTML, CSS and a smattering of php is about all I am capable of these days and even that takes me a lot of time. I&#039;d be lost without wordpress plugins! lol

I&#039;ll ponder your suggestion and see if my brain can wrap around it. Thanks for the suggestion and your time!</description>
		<content:encoded><![CDATA[<p>Eric, that would be nice! I think it is beyond my skills though. I am disabled and suffer from a degenerative nerve disease that has impacted my cognitive abilities. I was once an excellent programmer who worked for AT&amp;T. </p>
<p>I've volunteered my time and what's left of my abilities to my old boarding school. HTML, CSS and a smattering of php is about all I am capable of these days and even that takes me a lot of time. I'd be lost without wordpress plugins! lol</p>
<p>I'll ponder your suggestion and see if my brain can wrap around it. Thanks for the suggestion and your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Martin</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9693</link>
		<dc:creator>Eric Martin</dc:creator>
		<pubDate>Wed, 23 Sep 2009 03:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9693</guid>
		<description>@Edward Kelley - what you are asking is possible, but it would require some changes to the &lt;code&gt;smcf.js&lt;/code&gt; file and the &lt;code&gt;smcf_data.php&lt;/code&gt; file.

You could do something like:
&lt;a href=&quot;/contact/webmaster&quot; rel=&quot;webmaster&quot;&gt;Contact&lt;/a&gt;
&lt;a href=&quot;/contact/info&quot; rel=&quot;info&quot;&gt;Contact&lt;/a&gt;
&lt;a href=&quot;/contact/submissions&quot; rel=&quot;submissions&quot;&gt;Contact&lt;/a&gt;

Then access the rel value in smcf.js and send it to smcf_data.php. Then in smcf_data.php, use that value to lookup or create the desired &quot;to&quot; email.</description>
		<content:encoded><![CDATA[<p>@Edward Kelley - what you are asking is possible, but it would require some changes to the <code>smcf.js</code> file and the <code>smcf_data.php</code> file.</p>
<p>You could do something like:<br />
&lt;a href="/contact/webmaster" rel="webmaster"&gt;Contact&lt;/a&gt;<br />
&lt;a href="/contact/info" rel="info"&gt;Contact&lt;/a&gt;<br />
&lt;a href="/contact/submissions" rel="submissions"&gt;Contact&lt;/a&gt;</p>
<p>Then access the rel value in smcf.js and send it to smcf_data.php. Then in smcf_data.php, use that value to lookup or create the desired "to" email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward Kelley</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9688</link>
		<dc:creator>Edward Kelley</dc:creator>
		<pubDate>Tue, 22 Sep 2009 23:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9688</guid>
		<description>I love SimpleModal and it is much preferable to all those contact form plugins I have seen. I really don&#039;t like embeding those forms into my pages and prefer the modal concept. However, like Calin C, I would like to be able to use SimpleModal to send emails to various email addresses rather than listing the actual email addresses on my blog where they can be harvested by spammers. There are numerous email addresses I need to use, all using the same domain name. What I would like to do is somehow use the smc-link to tell it which email address to send the email to. Something like these:

&lt;a href=&quot;/contact/webmaster&quot;&gt;Contact&lt;/a&gt;
&lt;a href=&quot;/contact/info&quot;&gt;Contact&lt;/a&gt;
&lt;a href=&quot;/contact/submissions&quot;&gt;Contact&lt;/a&gt;

Is something like this possible? I use wordpress extensively but I am not really that up on coding so I haven&#039;t the slightest idea how to go about doing something like this. Can you help?</description>
		<content:encoded><![CDATA[<p>I love SimpleModal and it is much preferable to all those contact form plugins I have seen. I really don't like embeding those forms into my pages and prefer the modal concept. However, like Calin C, I would like to be able to use SimpleModal to send emails to various email addresses rather than listing the actual email addresses on my blog where they can be harvested by spammers. There are numerous email addresses I need to use, all using the same domain name. What I would like to do is somehow use the smc-link to tell it which email address to send the email to. Something like these:</p>
<p>&lt;a href="/contact/webmaster"&gt;Contact&lt;/a&gt;<br />
&lt;a href="/contact/info"&gt;Contact&lt;/a&gt;<br />
&lt;a href="/contact/submissions"&gt;Contact&lt;/a&gt;</p>
<p>Is something like this possible? I use wordpress extensively but I am not really that up on coding so I haven't the slightest idea how to go about doing something like this. Can you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Martin</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9629</link>
		<dc:creator>Eric Martin</dc:creator>
		<pubDate>Thu, 17 Sep 2009 20:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9629</guid>
		<description>@calin c - you could add a unique id to each link and then use that id to lookup an email from an array.

You can contact me directly if you need implementation help.</description>
		<content:encoded><![CDATA[<p>@calin c - you could add a unique id to each link and then use that id to lookup an email from an array.</p>
<p>You can contact me directly if you need implementation help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: calin c</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9614</link>
		<dc:creator>calin c</dc:creator>
		<pubDate>Wed, 16 Sep 2009 21:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9614</guid>
		<description>If there is a list of emails in the page, is it possible to send from each link
&lt;a href=&#039;#&#039; rel=&quot;nofollow&quot;&gt;x1@yy.com&lt;/a&gt;
&lt;a href=&#039;#&#039; rel=&quot;nofollow&quot;&gt;x2@yy.com&lt;/a&gt;, a variable to contact.php, containing the email address corresponding to each link?</description>
		<content:encoded><![CDATA[<p>If there is a list of emails in the page, is it possible to send from each link<br />
<a href='#' rel="nofollow">x1@yy.com</a><br />
<a href='#' rel="nofollow">x2@yy.com</a>, a variable to contact.php, containing the email address corresponding to each link?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9560</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Fri, 11 Sep 2009 20:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9560</guid>
		<description>Thanks so much Eric.  That works great.  Thanks for the quick response!</description>
		<content:encoded><![CDATA[<p>Thanks so much Eric.  That works great.  Thanks for the quick response!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Martin</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9558</link>
		<dc:creator>Eric Martin</dc:creator>
		<pubDate>Fri, 11 Sep 2009 17:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9558</guid>
		<description>@Dale - You&#039;ll need to do the following:

* Remove the &lt;code&gt;simplemodal-close&lt;/code&gt; class from the &quot;no&quot; div&lt;/li&gt;
* Modify the confirm function to accept an argument&lt;/li&gt;
* Modify the &quot;yes click&quot; logic to handle both cases&lt;/li&gt;

Code:

&lt;pre&gt;&lt;code&gt;// new confirm function
confirm(&quot;blah blah&quot;, function (url) {
	window.location.href = url;
});


// &quot;yes click&quot; replacement code
$(&#039;.buttons div&#039;, dialog.data[0]).click(function () {
	// call the callback
	if ($.isFunction(callback)) {
		if ($(this).is(&#039;.yes&#039;)) {
			callback.apply(this, [&#039;http://www.site1.com/&#039;]);
		}
		else {
			callback.apply(this, [&#039;http://www.site1.com/&#039;]);
		}
	}
	// close the dialog
	$.modal.close();
});
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Dale - You'll need to do the following:</p>
<p>* Remove the <code>simplemodal-close</code> class from the "no" div<br />
* Modify the confirm function to accept an argument<br />
* Modify the "yes click" logic to handle both cases</p>
<p>Code:</p>
<pre><code>// new confirm function
confirm("blah blah", function (url) {
	window.location.href = url;
});

// "yes click" replacement code
$('.buttons div', dialog.data[0]).click(function () {
	// call the callback
	if ($.isFunction(callback)) {
		if ($(this).is('.yes')) {
			callback.apply(this, ['http://www.site1.com/']);
		}
		else {
			callback.apply(this, ['http://www.site1.com/']);
		}
	}
	// close the dialog
	$.modal.close();
});
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9557</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Fri, 11 Sep 2009 14:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9557</guid>
		<description>Is it possible to change the click event of the No button to do some action rather than simply close the dialog? I have the Yes forwarding the page to another URL,  and I want the No button to forward the page to a second URL.</description>
		<content:encoded><![CDATA[<p>Is it possible to change the click event of the No button to do some action rather than simply close the dialog? I have the Yes forwarding the page to another URL,  and I want the No button to forward the page to a second URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Martin</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-9156</link>
		<dc:creator>Eric Martin</dc:creator>
		<pubDate>Fri, 28 Aug 2009 02:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-9156</guid>
		<description>@Jirka - sounds like an event binding issue. Can you send me a link or more sample code?</description>
		<content:encoded><![CDATA[<p>@Jirka - sounds like an event binding issue. Can you send me a link or more sample code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jirka</title>
		<link>http://www.ericmmartin.com/simplemodal-1-3-released/#comment-8992</link>
		<dc:creator>Jirka</dc:creator>
		<pubDate>Fri, 21 Aug 2009 09:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ericmmartin.com/?p=698#comment-8992</guid>
		<description>Hi, i need confirm close event and I have a problem. I make this code:
&lt;pre&gt;&lt;code&gt;if (confirm(&quot;Realy close?&quot;)){
  	                 dialog.data.fadeOut(&#039;slow&#039;, function () {
                      dialog.container.slideUp(&#039;slow&#039;, function () {
  			               dialog.overlay.fadeOut(&#039;slow&#039;, function () {
  				              $.modal.close(); 
  			               });
  		                });
  	                 }); 
                    }
&lt;/code&gt;&lt;/pre&gt;

It works at first time, but when i click on close button second time, onClose event in not done. Can you help me? Thanks</description>
		<content:encoded><![CDATA[<p>Hi, i need confirm close event and I have a problem. I make this code:</p>
<pre><code>if (confirm("Realy close?")){
  	                 dialog.data.fadeOut('slow', function () {
                      dialog.container.slideUp('slow', function () {
  			               dialog.overlay.fadeOut('slow', function () {
  				              $.modal.close();
  			               });
  		                });
  	                 });
                    }
</code></pre>
<p>It works at first time, but when i click on close button second time, onClose event in not done. Can you help me? Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
