http://trentrichardson.com/Impromptu/index.php shows that Impromptu doesn't require you move to the top of the page to ask the dialog, but for some reason CCK Field Privacy does so. It's a bit confusing since if the profile item is lower on the page, you lose the focus of the user's page there.
Can you fix this so the dialog appears without changing page location?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cck_field_privacy_double_padlock.patch | 3.74 KB | obsidiandesign |
| #1 | cck_field_privacy.module.overlay_popup.patch | 2.3 KB | obsidiandesign |
Comments
Comment #1
obsidiandesign commentedThe links that were used had an href="#", which was bouncing up to the top of the page. By removing the link, the JQuery Impromptu popup occurs directly over the current position on the page. I do need to work out the CSS so that the pointer still shows up over the lock, although that may be more of an issue for #220553: display of privacy values?, where the icons are being reworked anyway. Should apply as-is to 5.x, but marking for 6.x for the moment.
Comment #2
obsidiandesign commentedPatch rerolled, tweaks a couple other issues, but does try to fix the cursor to a pointer when the user hovers over the padlock image. It works with fieldgroups, but isn't working with others. The style tag is being stripped. Can anyone provide some insight?
Comment #3
obsidiandesign commentedA new method committed, thanks to ksenzee on #drupal for the new approach.