Mercurial > defr > drupal > popups
diff README.txt @ 1:4215c43e74eb
Popups: Mise à jour en version alpha6
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 31 Dec 2010 13:44:00 +0100 |
parents | 76f9b43738f2 |
children |
line wrap: on
line diff
--- a/README.txt Fri Dec 31 13:41:08 2010 +0100 +++ b/README.txt Fri Dec 31 13:44:00 2010 +0100 @@ -17,7 +17,9 @@ LIMITATIONS ------------------------------------------------------------------------------------ - Is this still true? Does not work with tinymce. Unlikely to work with other WYSIWYG's. + Does not work with tinymce. Unlikely to work with other WYSIWYG's. (Is this still true?) + Conflicts with: + Devel Theme Developer module. HOW TO USE THE POPUPS API ------------------------------------------------------------------------------------ @@ -34,8 +36,6 @@ // In your module popups_add_popups(array('#mylink', '#mylink2=>array('width'=>'200px'))); - IMPORTANT: You can only put popups_add_popups in module, NOT in a .tpl file - or the template.php file. This is the simplest method if you want to pass in per-link options. The first key is a jQuery selector. It should select an 'a' element (unless you are using the 'href' option). See http://docs.jquery.com/Selectors to learn more