[prev in list] [next in list] [prev in thread] [next in thread]
List: gallery-devel
Subject: Re: [Gallery-devel] jquery Lightbox for G3
From: Chad Kieffer <chad () 2tbsp ! com>
Date: 2009-05-10 4:37:09
Message-ID: 52CED7E5-2DFA-4A41-9D3F-13E205B51B58 () 2tbsp ! com
[Download RAW message or body]
Weird, guess i didn't click enough to notice.
Using the following selector will at least isolate the lightbox
application to the anchor with the image. The title link goes to the
resize page.
$(\".gPhoto a:has(img)\")
Apply it to the initialization script and the script which gets
inserted with each item.
On May 9, 2009, at 3:31 PM, Stephen Cupp wrote:
> If it selects both when you click next in the lightbox iit shows
> them twice.
>
> Stephen Cupp
>
>
> On May 9, 2009, at 10:03 AM, Chad Kieffer <chad@2tbsp.com> wrote:
>
>> Thanks Stephen, I was missing the second helper function in my copy.
>>
>> Everything seems to work just fine for me using $(".gPhoto
>> a").lightbox. Trying to target the first anchor isn't working, and
>> I might spend some time to get it working, but I'm not sure why
>> it's needed.
>>
>> Thanks,
>> Chad
>>
>>
>>
>> On May 9, 2009, at 10:19 AM, Stephen Cupp wrote:
>>
>>> Here you go. I hope it helps.
>>>
>>> Stephen Cupp
>>>
>>>
>>> Chad Kieffer wrote:
>>>> Hey, can you send me a zipped archive of what you're working with
>>>> as I don't think i've got the full version
>>>> On May 8, 2009, at 11:48 PM, Stephen Cupp wrote:
>>>>> Well it does load the resize image. The problem is the selector
>>>>> selects both the image link and the title link. Take a look.
>>>>> <url-omitted>
>>>>>
>>>>> Stephen Cupp
>>>>>
>>>>> "Goaltending is a normal job, Sure! How would you like it in
>>>>> your job
>>>>> if every time you made a mistake, a red light went on over your
>>>>> desk and
>>>>> fifteen thousand people stood up and yelled at you?" -Hall of Fame
>>>>> Goaltender Jacques Plante
>>>>>
>>>>> Chad Kieffer wrote:
>>>>>> Hey Stephen,
>>>>>> The following selector seems to work just fine with G3 a4. Now
>>>>>> to actually get the resize image to load into the lightbox.
>>>>>> <script type=\"text/javascript\">
>>>>>> $(function() {
>>>>>> $(\".gPhoto a\").lightBox({
>>>>>> imageLoading: '/modules/jquery_lightbox/images/lightbox-ico-
>>>>>> loading.gif',
>>>>>> imageBtnClose: '/modules/jquery_lightbox/images/lightbox-btn-
>>>>>> close.gif',
>>>>>> imageBtnPrev: '/modules/jquery_lightbox/images/lightbox-btn-
>>>>>> prev.gif',
>>>>>> imageBtnNext: '/modules/jquery_lightbox/images/lightbox-btn-
>>>>>> next.gif',
>>>>>> imageBlank: '/modules/jquery_lightbox/images/lightbox-
>>>>>> blank.gif'
>>>>>> });
>>>>>> });
>>>>>> </script>";
>>>>>> - Chad
>>>>>> On Apr 28, 2009, at 4:16 PM, Stephen Cupp wrote:
>>>>>>> Chad,
>>>>>>>
>>>>>>> Did you ever get a chance to look at that jquery selector we
>>>>>>> talked about in Feburary?
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
__[ g a l l e r y - d e v e l ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic