Register   Login
     
  Latest Posts  
RE: zoom for images in PA and Simple gallery
by bertrand.duluc on 12/04/2008 5:04 PM
RE: How do I - templates
by cptkoi on 12/04/2008 4:36 PM
RE: Notification on comment and multiple authors
by ba on 12/04/2008 3:29 PM
RE: RSS error in event viewer
by jjovic on 12/04/2008 3:24 PM
RE: conditional testing over [TYPE] or [TYPEID]
by zoulou on 12/04/2008 3:19 PM
RE: Notification on comment and multiple authors
by smcculloch on 12/04/2008 3:18 PM
RE: Notification on comment and multiple authors
by smcculloch on 12/04/2008 3:17 PM
RE: Notification on comment and multiple authors
by ba on 12/04/2008 3:15 PM
RE: Notification on comment and multiple authors
by ba on 12/04/2008 3:11 PM
RE: Notification on comment and multiple authors
by smcculloch on 12/04/2008 3:05 PM
  Forums  
Subject: Is there a template for the lightbox?
Prev Next
You are not authorized to post a reply.

Author Messages
Ryan ViceUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:7

2/25/2008 3:05 PM  

Is there a template to control the layout of the lightbox?

Robert AxfordUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:756


2/25/2008 3:23 PM  
no, you'll have to either change the lightbox javascript file or try and make do with styles that are already present. You can use that display:none tip I gave you in the other post to remove bits.

Use Firefox with the Web developer and Firebug add-ons to determine styles and test changes in real time <<< don't go a step further until you have these installed.

Rob
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:781


3/14/2008 5:54 AM  
I am not sure that I am posting in the correct thread, but currently, when clicking on a photo, you see the description of the photo below the photo - I think that this is the "lightbox". If you do not have any description, you see the title.

I would like to see both, title and description.
Is it possible ??

DV

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:781


3/14/2008 6:03 AM  
Ok, I have found my answer in another thread...
The answer is: NOT POSSIBLE without modifying the js... But where is it ???? Robert, do you know ?

DV
PS: I do not want to bother Scott, he is upgrading NA and I am eager to see the new version... Wow as you said...

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Robert AxfordUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:756


3/14/2008 4:46 PM  
Yes, I changed the js for my site so that the graphic arrows that I made for it look better.

It's not easy to work with, but the code you need to mess with is in DesktopModules/SimpleGallery/JS/Lightbox/jquery.lightbox-0.4.pack.js

I don't know what you'll need to do to get the description to show.. but if there is code in there for the title, then you might be able to figure it out from that.

To change the placement of the arrows, I modified the bit starting with span id=\"lightbox-container-image-details-nav
The title and description will be close by.

I might try and look at it myself, because it would be handy to be able to enable the description there... or at least a segment of the description... or perhaps it could be made to show up when the mouse is over the image - I want people to be able to have long descriptions.

Rob
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12596


3/15/2008 3:41 AM  
Thanks guys for helping out, longer term it should be a template with some dynamic JS, not sure how hard this would be though.

Scott McCulloch
Site Administrator
Ryan ViceUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:7

3/15/2008 9:12 AM  
Templated would be sick, you guys should definitely implement that.
You are not authorized to post a reply.
Forums > Modules > Simple Gallery > Is there a template for the lightbox?



ActiveForums 3.7