* Worg - Using Lightbox Javascript.
@ 2010-10-10 17:38 Ian Barton
2010-10-16 10:48 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Ian Barton @ 2010-10-10 17:38 UTC (permalink / raw)
To: emacs-orgmode
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/
Ian.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Worg - Using Lightbox Javascript.
2010-10-10 17:38 Worg - Using Lightbox Javascript Ian Barton
@ 2010-10-16 10:48 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2010-10-16 10:48 UTC (permalink / raw)
To: lists; +Cc: emacs-orgmode
Hi Ian,
Ian Barton <lists@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-16 11:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-10 17:38 Worg - Using Lightbox Javascript Ian Barton
2010-10-16 10:48 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.