Results 1 to 10 of 10

Thread: modal boxes

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post modal boxes

    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/downlo...dal/howto.html
    theres a working example here - http://aesthetic-design.co.uk/downloads/modal/

    or, ATTACHED BELOW (see #3 in guidelines below):
    Last edited by solidgold; 05-27-2007 at 06:58 PM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That's very daft. One can simply use .style.display = "" instead and remove dependency on Scriptaculous and Prototype.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this way has cool transitions though...

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    no, true

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    why bother to create another light-weight lightbox script with mootools when there already is one? http://www.digitalia.be/software/slimbox

  8. #8
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  9. #9
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've made a more likely candidate - http://aesthetic-design.co.uk/aestheticbox/1.html


  10. #10
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •