Hi Ian,

Ian Barton <li...@manor-farm.org> writes:

> I am writing the screenshots page for my org-color-theme
> contribution. Usually when I am doing something like this I would make
> each picture about 500px wide and allow the user to see a full size
> popup using the Lightbox Javascript library. Lightbox is licenced under
> the Creative Commons Attribution 2.5 License, so I think it's compatible
> with Worg's licence.
>
> Would anybody object if I uploaded lightbox.js to org? Once it's there
> anyone esle would be able to use it on a Worg page if the wished. You
> can read more about Lightbox at
> http://www.huddletogether.com/projects/lightbox/

nice idea.  I uploaded lightbox on the server:

http://orgmode.org/css/
http://orgmode.org/js/

Scripts are loaded in the Worg pages and you can now use it as
documented:

,----
| # Add a rel="lightbox" attribute to any link tag to activate the
|   lightbox. For example:
| 
| <a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
| 
| Optional: Use the title attribute if you want to show a caption.
| 
| # If you have a set of related images that you would like to group,
|   follow step one but additionally include a group name between square
|   brackets in the rel attribute. For example:
| 
| <a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
| <a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
| <a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>
`----

Thanks for this idea,

-- 
 Bastien

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to