Closed (fixed)
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2009 at 23:49 UTC
Updated:
12 Mar 2009 at 18:40 UTC
I wanted to customize the loading graphic for our site and the following changes made this easier for me.
Note:
*I used $loading.length instead of $loading.size() as I think it may be faster since it's not a function (correct me if I'm wrong).
*setting initial display of #popups-loading to display:none in css and then switching to block in js after applying top and left hides the repositioning.
| Comment | File | Size | Author |
|---|---|---|---|
| popups.loading.theme_.patch | 1.34 KB | sirkitree |
Comments
Comment #1
starbow commentedInteresting. I bet other people would like to use this too. Looks fine with a quick look, but I will need to do some testing. If anyone else reading this wants to test it, let me know what you find.
Comment #2
starbow commentedHmm, I really like this idea, but it doesn't seem to work. width and height are 0 for blocks with display:none.
I am reworking it, but curious if it ever worked for you?
Comment #3
starbow commentedAh, I get it. It works, just not with the default html.
Comment #4
starbow commentedA version of this has been checked into head and will be part of 1.2 alpha2