Search the web
Sign In
New User? Sign Up
ycarousel · Bill Scott's Carousel Component
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Open a lightbox window from a list item...   Message List  
Reply | Forward Message #490 of 506 |
I'm trying to open a lightbox window (see here:
http://www.huddletogether.com/projects/lightbox/ for an example)
from one of the list items in the carousel. I've modified the
javascript that constructs the url:

var fmtItem = function(imgUrl, url, title) {

var innerHTML =
'<a rel="lightbox" title="' + title +
'" href="' +
url +
'"><img src="' +
imgUrl +
'" width="' +
302 +
'" height="' +
308 +
'"/><\/a>';

return innerHTML;

};
I've inserted the necessary css/scripts for lightbox. When I click
the link, the lightbox script does not execute, instead I get a
static image.

Is it possible to relate the href to a script after the page has
loaded (and the URL is constructed on the fly)?

Can you suggest alternatives for displaying the image in a lightbox
(or similar window)?

thanks -- carousel has been great for my portfolio!




Fri May 1, 2009 4:35 pm

subvorkian
Offline Offline
Send Email Send Email

Forward
Message #490 of 506 |
Expand Messages Author Sort by Date

I'm trying to open a lightbox window (see here: http://www.huddletogether.com/projects/lightbox/ for an example) from one of the list items in the carousel....
Rick Harris
subvorkian
Offline Send Email
May 1, 2009
4:35 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help