[Seaside] What has lightbox: been replaced with?

gettimothy gettimothy at zoho.com
Sat May 5 11:45:26 UTC 2018


Hi Tim

MaterialDesignLite has a modal demo:


https://mdl.ferlicot.fr/mdl?_s=1azfU55mAebRDK2V&_k=tJOU22VpFMP9AjCz




TwitterBootstrap has one


https://github.com/astares/Seaside-Bootstrap




I am in alpha now, but Zurb has em:
https://github.com/gettimothy/ZurbSeaside


You can view the Zurb modals here: https://foundation.zurb.com/sites/docs/reveal.html






cheers.


t
---- On Fri, 04 May 2018 05:17:28 -0400 Tim Mackinnon<tim at testit.works> wrote ---- 

Hi - I was refreshing my memory on seaside (hence previous questions) - and there are a few decent tutorials still kicking around (and possibly we could convince people to update them).

I remembered that the PotsDam one was pretty good in the day - so was following that - and loaded up the tutorial code in Pharo 6.1 (and it mostly runs - but there are a few things that aren’t quite right).

However, one thing that has changed a lot (I think) is the use of scriptaculous and Jquery - is the former now deprecated? As in the tutorial they have a component that does: self lightbox: <aComponent>

I can’t find any reference to lightbox in the image apart from a test that creates a jQuery dialog box - can I easily recreate the #lightbox: method using this?

I can see how you can render a jQuery new dialog - but you need a canvas to render on, and it seems that this old method must have done something with tasks - does anyone remember how this used to work (it seems a good learning for me in fixing this anyway).

Tim
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20180505/b8d57856/attachment.html>


More information about the seaside mailing list