Posts tagged ‘modal dialog’

SimpleModal 1.3-b1 Released

Friday, May 22nd, 2009
The final SimpleModal 1.3 version is available for download. Updated documentation will be available in the next few days.

Considering the number of changes and new features, I’ve decided to release 1.3 as a beta version. This release covers most of the common requests I receive for SimpleModal: forced focus on the dialog (prevent tabbing away), ESC/overlay-click to close dialog and an appendTo option.

*NOTE*: Moving forward, all issue/bug/feature requests should be made on the issues page: http://code.google.com/p/simplemodal/issues/list

Download: http://code.google.com/p/simplemodal/downloads/list

Read the rest of this entry »

SimpleModal Contact Form (SMCF) 1.2.3 Released

Sunday, April 5th, 2009

Charles found an issue with the validation code – it was requiring a subject even when the subject field was disabled.

A fix has been made and uploaded to the WordPress plugin repository. You should see the update available shortly.

Thanks Charles!

For more information and the download, please visit the SMCF WordPress Plugin Page.

SimpleModal Contact Form (SMCF) 1.2.2 Released

Tuesday, March 31st, 2009

SMCF 1.2.2 includes the following changes:

  • Upgraded SimpleModal to 1.2.3
  • Added addslashes() function for smcf_messages JavaScript object to prevent localization issues
  • Added stripslashes() function for the email message
  • Removed 70 character limit for wordwrap() function – defaults to 75
  • Added wp_page_menu() and wp_list_pages() filter to dynamically add smcf-link class to a contact menu link
  • Changed format of validation messages – requires translation updates

If you are using wp_list_pages() or wp_page_menu(), this release makes it a lot easier to use SMCF without having to modify any source files. All you need to do is enter the matching link title on the SMCF options page.

I’ve also modified the email message to use the default wordwrap of 75 characters and have removed the slashes added by magic_quotes.

Translators: Updates were made to the verbiage, so if you would be so kind to update your translations, I’d appreciate it!

For more information and the download, please visit the SMCF WordPress Plugin Page.

SimpleModal 1.2.3 Released

Monday, March 2nd, 2009

I meant to release this a few weeks ago – sorry for the delay. This release fixes two IE bugs:

  • Fixed IE6 positioning issue (position: [,20] did not work)
  • Fixed IE issue with jQuery 1.3+ (issue with $.boxModel property)

There are a number of fixes and enhancements on my list for the future versions of SimpleModal:

  • Provide dialog appendTo option. The current default is body
  • Provide additional close options: ESC and overlay click
  • Find solution for dialogs with no width/height given – determine dynamically
  • Find solution for dialogs that are larger than viewport
  • Force focus on dialog – prevent interaction with page

Let me know which of those you would most like to see. Also, if you have any other feature requests or bugs to report, please report them on the issues page.

Links: Project Page | jQuery Plugins Page

Monster.com Using SimpleModal

Wednesday, February 4th, 2009

I found out this morning that Monster.com is using SimpleModal to power the modal dialogs on their site! Which, of course, means they are using jQuery too! This is the first major corporate site that I have discovered using SimpleModal, so I was pretty excited when I discovered it.

Funny story on how I found out…

Read the rest of this entry »

jQuery 1.3 and SimpleModal

Wednesday, January 14th, 2009

In case you haven’t heard, jQuery 1.3 has been released! In addition to being jQuery’s 3rd birthday, the team has a number of new announcements, including Sizzle (a brand new CSS selector engine), a new API browser (developed by Remy Sharp) and the formation of the jQuery Foundation.

I tested SimpleModal (tests and demos) with jQuery 1.3 and everything seems to be working as expected. After reading about all of the speed improvements, I thought it would be interesting to run some tests (Firebug 1.3 Profiler) comparing the SimpleModal demos with jQuery 1.2.6 and jQuery 1.3:

Basic Modal Dialog Contact Form Confirm Override
jQuery 1.2.6 22.472ms | 1126 calls 101.547ms | 3805 calls 24.03ms | 1094 calls
jQuery 1.3 19.747ms | 938 calls 91.612ms | 3859 calls 16.883ms | 914 calls

I haven’t looked into why 1.3 has more calls for the Contact Form, but even so, the execution time (ms) has improved for each one!

Congratulations to the jQuery team and Happy Birthday!

SimpleModal 1.2.2 Released

Tuesday, December 16th, 2008

Includes IE6 positioning bug fixes reported by Deepak Mehta and James Taylor.

  • Removed iframe option (use wmode property for object and embed elements)
  • Fixed IE positioning issues (including horizontal scrolling)
  • Updated jQuery version requirement to 1.2.2
  • Added horizontal scrolling test and more position option tests

Links: Project Page | jQuery Plugins Page

SimpleModal 1.2.1 Released

Friday, December 5th, 2008

Includes bug fixes reported by calderon.joe (thanks joe):

  • Fixed iframe errors when iframe option set to false
  • Fixed auto centering to use data width/height if container width/height is not set

Also changed the default for the iframe option to false.

Links: Project Page | jQuery Plugins Page