Comments for Eric Martin http://www.ericmmartin.com Sat, 27 Jun 2009 18:30:49 -0700 http://wordpress.org/?v=2.8 hourly 1 Comment on SimpleModal 1.3-b1 Released by Coop http://www.ericmmartin.com/simplemodal-13-b1-released/#comment-8766 Coop Sat, 27 Jun 2009 18:30:49 +0000 http://www.ericmmartin.com/?p=500#comment-8766 overlayClose doesnt seem to work for me in the final 1.3 release...ive never been able to get it to work in any release... overlayClose doesnt seem to work for me in the final 1.3 release…ive never been able to get it to work in any release…

]]>
Comment on SimpleModal 1.3-b1 Released by Eric Martin http://www.ericmmartin.com/simplemodal-13-b1-released/#comment-8751 Eric Martin Mon, 22 Jun 2009 15:41:44 +0000 http://www.ericmmartin.com/?p=500#comment-8751 @Scooper - are you seeing different results with that change? The only reason I had that for <code>ch</code> was due to browser differences determining height. If you have an example of how your suggestion fixes something, please let me know. @Scooper – are you seeing different results with that change? The only reason I had that for ch was due to browser differences determining height. If you have an example of how your suggestion fixes something, please let me know.

]]>
Comment on SimpleModal 1.3-b1 Released by Scooper http://www.ericmmartin.com/simplemodal-13-b1-released/#comment-8750 Scooper Mon, 22 Jun 2009 08:06:02 +0000 http://www.ericmmartin.com/?p=500#comment-8750 Hi Eric, Great job! Say, shouldn't 1.3 line 438 be: <code>cw = this.getVal(this.dialog.container.css('width'))</code> This will make my current code work with 1.3, else the container will always have the entire window's width. Hi Eric,

Great job!

Say, shouldn’t 1.3 line 438 be:
cw = this.getVal(this.dialog.container.css('width'))

This will make my current code work with 1.3, else the container will always have the entire window’s width.

]]>
Comment on Weekly Photo Assignment 13: Landscapes by Jason http://www.ericmmartin.com/weekly-photo-assignment-13-landscapes/#comment-8741 Jason Fri, 19 Jun 2009 10:47:05 +0000 http://www.ericmmartin.com/?p=463#comment-8741 Here is a fine collection of landscape photography that may provide some inspiration <a href="http://www.fotoviva.co.uk/view.asp?filter=Landscape%20Canvas%20Art" rel="nofollow">Landscape Pictures</a> for people. I'll go and join your group now... Here is a fine collection of landscape photography that may provide some inspiration Landscape Pictures for people. I’ll go and join your group now…

]]>
Comment on SimpleModal by Eric Martin http://www.ericmmartin.com/projects/simplemodal/#comment-8718 Eric Martin Sat, 13 Jun 2009 16:40:53 +0000 http://www.ericmmartin.com/?page_id=234#comment-8718 @Ben - are you able to see if this is still an issue with 1.3? @hamletborn - something like: <pre><code>setTimeout('$.modal.close()', 5000); </code></pre> @Ken - Technically speaking, you can't directly do a file upload using Ajax. There are ways around this, but it is too involved to explain here. You could change it so the send does a standard post and not an ajax call, but you would loose the response message. @emack - <a href="http://www.gracobaby.com/Catalog/Pages/ProductListingPage.aspx?catID=10:400||1&subCatID=11:10457||1&pID=10434:4294959375||1#" rel="nofollow">Graco</a> does something similar by embedding flash - that should be similar enough to use as an example. @george - You are correct, that is the default behavior. <a href="http://www.ericmmartin.com/projects/smcf/#comment-233" rel="nofollow">This solution</a> should do what you are asking. @Sam - when are you initializing tinyMCE? You should be doing it in a SimpleModal onShow callback for it to work properly. @Marsel - are you asking how to use something other than a button to open the confirm dialog? Something like: <pre><code><a href='#' class='confirm'>Confirm</a> </code></pre> @Alvaro Grillet - 1) See my response to @Ken. 2) No I have not tried Google Maps in a modal dialog. Any luck? @Franz Zieher - 1.3 should fix the centering issues. @Cristian Ortiz - Did you have a particular question? You bind the open to some event and then call $.modal.close() when you want it to close. @Drew - the scroll position should not change. Are you using # as the href and not preventing that event? @carlos - can you email me with more specifics on what you are trying to do. @lance - there are a number of ways to do this. See <a href="http://www.ericmmartin.com/projects/simplemodal/#comment-8707" rel="nofollow">@Mehdi's</a> comment above! @Dave - 1.3 should resolve that issue. @Tamer - which version are you using? If it is 1.3b1, I have a fix for that. @Mehdi - very cool, thanks for sharing! I'm closing the comments in preparation for the 1.3 version and project page. @Ben – are you able to see if this is still an issue with 1.3?

@hamletborn – something like:

setTimeout('$.modal.close()', 5000);

@Ken – Technically speaking, you can’t directly do a file upload using Ajax. There are ways around this, but it is too involved to explain here. You could change it so the send does a standard post and not an ajax call, but you would loose the response message.

@emack – Graco does something similar by embedding flash – that should be similar enough to use as an example.

@george – You are correct, that is the default behavior. This solution should do what you are asking.

@Sam – when are you initializing tinyMCE? You should be doing it in a SimpleModal onShow callback for it to work properly.

@Marsel – are you asking how to use something other than a button to open the confirm dialog? Something like:

<a href='#' class='confirm'>Confirm</a>

@Alvaro Grillet – 1) See my response to @Ken. 2) No I have not tried Google Maps in a modal dialog. Any luck?

@Franz Zieher – 1.3 should fix the centering issues.

@Cristian Ortiz – Did you have a particular question? You bind the open to some event and then call $.modal.close() when you want it to close.

@Drew – the scroll position should not change. Are you using # as the href and not preventing that event?

@carlos – can you email me with more specifics on what you are trying to do.

@lance – there are a number of ways to do this. See @Mehdi’s comment above!

@Dave – 1.3 should resolve that issue.

@Tamer – which version are you using? If it is 1.3b1, I have a fix for that.

@Mehdi – very cool, thanks for sharing!

I’m closing the comments in preparation for the 1.3 version and project page.

]]>
Comment on SimpleModal by Mehdi http://www.ericmmartin.com/projects/simplemodal/#comment-8707 Mehdi Fri, 12 Jun 2009 19:23:52 +0000 http://www.ericmmartin.com/?page_id=234#comment-8707 Hi Eric, In our project we have tried a lot of modal dialog plugins and we found that SimpleModal is the best (very flexible). So I just want to thank you for this nice plugin :). On the link below you can find a (sexy Dialog) demo inspired by Facebook and based on your Plugin (SimpleModal power! :) ) http://blog.populiz.com/popDialog/ Thanks again, Mehdi. Hi Eric,

In our project we have tried a lot of modal dialog plugins and we found that SimpleModal is the best (very flexible). So I just want to thank you for this nice plugin :) .

On the link below you can find a (sexy Dialog) demo inspired by Facebook and based on your Plugin (SimpleModal power! :) )

http://blog.populiz.com/popDialog/

Thanks again,

Mehdi.

]]>
Comment on SimpleModal by Tamer http://www.ericmmartin.com/projects/simplemodal/#comment-8689 Tamer Thu, 11 Jun 2009 15:15:31 +0000 http://www.ericmmartin.com/?page_id=234#comment-8689 I am starting to use simplemodal and I am truly impressed. Great work. And GREAT JOB ON THE DOCUMENTATION. I have one small problem, when I popup the dialog, I am not able to navigate from one input field to another via the "Tab" key. Has anyone seen this problem? Thank you, Tamer I am starting to use simplemodal and I am truly impressed. Great work. And GREAT JOB ON THE DOCUMENTATION. I have one small problem, when I popup the dialog, I am not able to navigate from one input field to another via the “Tab” key. Has anyone seen this problem?

Thank you,

Tamer

]]>
Comment on SimpleModal by Dave http://www.ericmmartin.com/projects/simplemodal/#comment-8687 Dave Thu, 11 Jun 2009 14:37:15 +0000 http://www.ericmmartin.com/?page_id=234#comment-8687 I do the trick to use appendTo('form') instead of body because i'm working on a page in asp.net. It's working but my page use Ajax and instead of doing an Ajax postback when I click on the button in the modal div, it just do a full postback. Did somebody have an idea why? I do the trick to use appendTo(’form’) instead of body because i’m working on a page in asp.net. It’s working but my page use Ajax and instead of doing an Ajax postback when I click on the button in the modal div, it just do a full postback. Did somebody have an idea why?

]]>
Comment on SimpleModal Contact Form (SMCF) by Pani http://www.ericmmartin.com/projects/smcf/#comment-8682 Pani Thu, 11 Jun 2009 11:16:33 +0000 http://www.ericmmartin.com/projects/smcf/#comment-8682 I'm getting the "server issue" error just when trying to send from a Hotmail, Gmail, Msn address. With other domain email addresses, there's no problem. Any tip? TIA! Pani. I’m getting the “server issue” error just when trying to send from a Hotmail, Gmail, Msn address. With other domain email addresses, there’s no problem. Any tip? TIA!

Pani.

]]>
Comment on SimpleModal by lance http://www.ericmmartin.com/projects/simplemodal/#comment-8676 lance Wed, 10 Jun 2009 16:41:11 +0000 http://www.ericmmartin.com/?page_id=234#comment-8676 I'm sure there is an easy way to do this, but how do I use images for the border around the modal that pops up instead of any existing default border? Like, if I want to use a fuzzy shadow border all around that is created by different image files. Thanks! I’m sure there is an easy way to do this, but how do I use images for the border around the modal that pops up instead of any existing default border? Like, if I want to use a fuzzy shadow border all around that is created by different image files. Thanks!

]]>