Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: YUI Lightbox

  1. #1
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default YUI Lightbox

    1) YUI Lightbox

    2) Joe Nicora and Yahoo

    3) There are tons of lightbox apps out there, but none that I could find that use YUI. I'm sure there are lots of developers out there already using YUI and don't want to have to use another library such as jQuery to get lightbox functionality. I have two demos available from the link below and you can download a zip file of the complete application including the YUI files needed.

    4) http://nicora.net/projects/lightBox/

  2. #2
    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

    Looks very nice. One problem that I noticed though in Opera (perhaps others), in the variant version:

    If you have two 'lightboxes' open and try to navigate via next or previous to the image in the other 'lightbox' it won't load.
    - John
    ________________________

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

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Indeed, firefox is the same way (at least on my computer). Then again I am at work and it is a POS computer. Will try my personal computer when I get home.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah, I have not done any testing for Opera as of yet. I suppose I should download it and get started. You can see the desired functionality in FireFox or IE7, although I have already found one bug.

  5. #5
    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

    In FF it shows the image sometimes, and skips to the next one sometimes.
    - John
    ________________________

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

  6. #6
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What version FF are you using? I have 2.0.0.7 and it is not behaving in the mentioned way. Also, what platform and version?

    I added the new bugs to the known bugs section and also a link to the blog about this component. Feel free to leave comment/requests/bugs as a comment.

  7. #7
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also wanted to add, that currently I am not pre-loading the zoom sized images, so be sure to give them time to load before clicking again. Also, do you think it would be wise to disable the next/prev buttons while waiting for an image to load? One more thing, is the loading image to subtle? Of course styles can be modified, but I mean just for the default. That reminds me, once I get this tightened, I make a few extra themes.

  8. #8
    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

    FF 2.0.0.7 under Win XP Media Edition w/broadband cable.
    - John
    ________________________

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

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

    Default

    It certainly has potential. but right now, it just feels a little choppy. When the user first clicks on an image thumbnail, there is a delay before the image shows up, and since there are no ajax style indicator to let the user know this is happening, it can appear as if nothing is happening. Also, in Firefox at least, the animation when cycling through images (the expanding part) is choppy.

    BTW, YUI supports hosting of all the .js files on their server. You might want to update your demo/ documentation to just point to those files, so users don't have to download anything.

  10. #10
    Join Date
    Sep 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I added a loading image, for the initial load. And because the style sheet is so ambiguous, it could easily be changed. As far as choppiness, I'm using industry standard animation libraries, so...

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
  •