[Gimp-web] News on Screenshots/Imagebox
Roman Joost
romanofski at gimp.org
Mon Aug 13 04:43:00 PDT 2007
On Mon, Aug 13, 2007 at 11:00:40AM +0200, Ingo Lütkebohle wrote:
> 2007/8/13, Roman Joost <romanofski at gimp.org>:
> > I spend some time on the imagebox the last days and tried lightbox. I do
> > have now a working website with lightbox and scaling support. The
> > scaling is done entirely in CSS which puts the lightbox approach in a
> > much better position than the jQuery thingy.
>
> Does that mean that you removed the prototype dependency entirely from
> lightbox?
Nope...
> Did you have to remove functionality to do that? So far, I
> have not seen an overlay that doesn't use JavaScript of some sort.
> Would be very interesting :)
No - I'm sorry if my posting was misleading to you. The current
implemented approach (imagebox - check the trunk) sets style attributes
in Javascript code, which is awkward IMHO and can become a pain to
maintain.
The lightbox thingy let you customize the size entirely in CSS instead
of messing with the Javascript code. Currently the screenshots are much
wider than most of the screens so we're using the 'max-width' CSS
attribute to scale them down to 800px (which might be awkward of some sort
..). Anyways, the lightbox approach seems to be much cleaner using CSS
instead of customizing the JS code ...
Greetings,
--
Roman Joost
www: http://www.romanofski.de
email: romanofski at gimp.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /lists/gimp-web/attachments/20070813/3a5af1be/attachment.bin
More information about the Gimp-web
mailing list