HTML5 slides

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

HTML5 slides

laurent laffont
Hi,

I dream of a Pharo app. to create slides like this http://slides.html5rocks.com

How would you do it ?

Cheers,

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: HTML5 slides

LawsonEnglish
On 6/25/10 12:12 PM, laurent laffont wrote:
Hi,

I dream of a Pharo app. to create slides like this http://slides.html5rocks.com

How would you do it ?

Cheers,

Laurent Laffont


There's an HTML5 class for seaside. Never used it however.


Lawson

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: HTML5 slides

Gary Chambers-4
In reply to this post by laurent laffont

For fun, can be done using halos to embed things interactively...
 
Start with:
 
(Morph new
 layoutPolicy: StackLayout new;
 addMorphBack: (Morph new color: Color red; hResizing: #spaceFill; vResizing: #spaceFill);
 addMorphBack: (Morph new color: Color green; hResizing: #spaceFill; vResizing: #spaceFill);
 addMorphBack: (Morph new color: Color blue; hResizing: #spaceFill; vResizing: #spaceFill);
 on: #mouseDown send: #value:value: to: [:event :source | source firstSubmorph goBehind];
 openInWindow)
 extent: [hidden email];
 center: World center
 
Clicking on the window content will flick through the "slides" ;-)
 
Then, say:
 
TextMorph new openInHand
 
drag over the window, bring up the halo menu and "embed into".
 
repeat as desired!
 
(you can drag image files into Pharo from your OS, choose "open in window" then drag/embed etc.)
 
 
If you want to preserve the contents you can just get an inspector on the window (halos again) and assign to, say, a global. To reopen if closed just send #openAsIs (or equivalent) to your "stored" window.
 
This is by no means the nicest way of doing things, just relatively quick and requiring no new classes etc.

Regards, Gary
----- Original Message -----
Sent: Friday, June 25, 2010 8:12 PM
Subject: [Pharo-project] HTML5 slides

Hi,

I dream of a Pharo app. to create slides like this http://slides.html5rocks.com

How would you do it ?

Cheers,


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project