From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Worg - Using Lightbox Javascript. Date: Sat, 16 Oct 2010 12:48:09 +0200 Message-ID: <8762x2l6rq.fsf@altern.org> References: <4CB1FA2E.7090109@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=41438 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P74sg-0000BW-65 for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 07:24:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P74sa-0004DS-Mz for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 07:24:54 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:46720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P74sa-0004CL-Ha for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 07:24:48 -0400 Received: by wwd20 with SMTP id 20so1525067wwd.30 for ; Sat, 16 Oct 2010 04:24:47 -0700 (PDT) In-Reply-To: <4CB1FA2E.7090109@manor-farm.org> (Ian Barton's message of "Sun, 10 Oct 2010 18:38:54 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: lists@manor-farm.org Cc: emacs-orgmode@gnu.org Hi Ian, Ian Barton 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: | | image #1 | | 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: | | image #1 | image #2 | image #3 `---- Thanks for this idea, -- Bastien