Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Prettier Perl websites

by sri (Vicar)
on Nov 03, 2008 at 15:03 UTC ( #721110=note: print w/replies, xml ) Need Help??

in reply to Re: Prettier Perl websites
in thread Prettier Perl websites

The animations are just a few seconds long, do you think it's worth using flash just so you can seek and pause?
Until we have HTML5 and the <video> tag, gif animations are the right choice for this specific problem imo.

Replies are listed 'Best First'.
Re^3: Prettier Perl websites
by moritz (Cardinal) on Nov 03, 2008 at 15:05 UTC
    You can use plain HTML + optional javascript.

    You can just provide a log of the session, and if javascript is enabled, turn that into an animation. If not, it stays normal text. Readable and copy&paste-able.

    (update: my first formulation was harsher than intended. I meant no offense, and made it constructive now...)

      Well, cross-browser JavaScript animations are still very tricky, i'm open for suggestions though.

        Oh, hells yes. Don't try to write them from scratch yourself. Try something simple and nice like jQuery + jQuery cycle plugin. It's very flexible with hooks for scripting. You can even animate text blocks so, as mortiz moritz suggested, it can remain available to copy/paste. There is no API guide on the site but a ton of examples to read/bite.

        (Update...) It also degrades well without JS if you set it up right so that all the content shows in the order that would otherwise be frames. Nice and semantic.

Re^3: Prettier Perl websites
by Lawliet (Curate) on Nov 03, 2008 at 19:57 UTC

    I find it extremely annoying to have to wait and watch the animation to see the command I need to type :\

    I do realize that there may be documentation elsewhere and if that is true then is there even a need for the animations?

    The rest looks nice though. (",)

    I'm so adjective, I verb nouns!

    chomp; # nom nom nom

      There is a conflict between being persuasive and being actually convenient learning material.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://721110]
[marto]: hey Corion, good weekend?
[Corion]: marto: Yeah, even though I didn't write any code :)
[Corion]: But at least I have a plan of action to move the site to https, played some (free!) VR games with friends and watched the plans for the next German Perl workshop progress ;)
[Corion]: AltSpace VR is amazingly good - highly polished and with some of the games you get for free what you'd pay EUR 20 or EUR 40 otherwise
[Corion]: But maybe it's also due to that I play with friends, which makes a game more enjoyable anyway ;)
[Corion]: Oh - I released a new version of some module, thanks to a pull request. But I don't consider "update Makefile.PL" and "update author tests" as "writing code" ;-D

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2017-08-21 09:24 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (319 votes). Check out past polls.