Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Prettier Perl websites

by moritz (Cardinal)
on Nov 03, 2008 at 15:05 UTC ( #721112=note: print w/ replies, xml ) Need Help??


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

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...)


Comment on Re^3: Prettier Perl websites
Re^4: Prettier Perl websites
by sri (Vicar) on Nov 03, 2008 at 18:05 UTC
    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.

        Thats nice and all, but can you show us an example? I'm quite sure it won't work with text.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://721112]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-09-22 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls