PDA

View Full Version : modal boxes



solidgold
05-27-2007, 06:30 PM
1) CODE TITLE: Scriptaculous Modal Boxes

2) AUTHOR NAME/NOTES: Aesthetic

3) DESCRIPTION: Make modal boxes using Scriptaculous

4) URL TO CODE: http://aesthetic-design.co.uk/downloads/modal/howto.html
theres a working example here - http://aesthetic-design.co.uk/downloads/modal/

or, ATTACHED BELOW (see #3 in guidelines below):

Twey
05-27-2007, 07:08 PM
That's very daft. One can simply use .style.display = "" instead and remove dependency on Scriptaculous and Prototype.

solidgold
05-28-2007, 03:36 PM
this way has cool transitions though... ;)

Twey
05-28-2007, 03:47 PM
Well, I doubt (speaking in an unofficial capacity: I'm not related to DD) that DD will accept this, due to its dependence on Scriptaculous.

solidgold
05-28-2007, 04:42 PM
no, true

jscheuer1
05-28-2007, 05:21 PM
Well, lightbox (featured on DD) relies on scriptaculous. There is always mootools if you are looking for a lighter weight script library that can do the same sorts of things. Mootools is modular so, it can be downloaded with only the required module(s). You could always script your own transitions, they shouldn't be too hard to do.

shachi
05-28-2007, 07:35 PM
why bother to create another light-weight lightbox script with mootools when there already is one? http://www.digitalia.be/software/slimbox

solidgold
05-28-2007, 08:05 PM
i never said it was a lightbox script, they are similar, but not the same - for example lightbox is only for images, this is for basically everything,

oh and i've updated it here (http://aesthetic-design.co.uk/downloads/modal/update2.html)

solidgold
01-07-2008, 02:49 PM
I've made a more likely candidate - http://aesthetic-design.co.uk/aestheticbox/1.html

:)

ddadmin
01-07-2008, 10:03 PM
Dependence on a particular framework such as Scriptaculous isn't really an issue as far as whether a script gets featured on DD. After all, the last two scripts I added myself to DD uses jQuery. But I think in this case, the script itself just isn't too practical, and furthermore, could easily be implemented without tugging behind two large frameworks. :)