a technical notebook
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.7 KiB

  1. Wednesday, January 14, 2015
  2. ===========================
  3. On making a web page remind me of a quality I never fully appreciated in
  4. HyperCard.
  5. So I generally am totally ok with scrolling on web pages. I think in
  6. fact it's a major advantage of the form.
  7. Then again, I just got to indulging a few minutes of thinking about
  8. HyperCard, and I think that this time rather than read the same old
  9. articles about its ultimate doom over and over again, maybe I should do
  10. something by way of recreating part of it that was different from the
  11. web in general.
  12. The web has plenty of stupid carousels and stuff, but despite their example I'm
  13. curious whether HyperCard's stack model could still hold up as an idea. I was
  14. never sure whether it was the important thing or not. It was so obviously and
  15. almost clumsily a _metaphor_. (A skeuomorphism which I have never actually
  16. seen anyone bag on when they are playing that game, perhaps because Designer
  17. Ideologues know there's not much percentage in talking shit about HyperCard.)
  18. Here is some JavaScript to start:
  19. $('article').each(function (i, a) {
  20. $(a).hide();
  21. });
  22. $('article').first().show();
  23. I'll spare you the usual slow-composition narrative of where I go from here,
  24. and jump straight to my eventual [first-pass solution](https://github.com/brennen/tildebrennen/commit/560826a9884dae47998843dcf4917266b3344fec).
  25. (Ok, actually I just repurposed a terrible thing I did for some slides a while
  26. back, after recreating about 75% without remembering that I had already written
  27. the same code within the last couple of months. It's amazing how often that
  28. happens, or I guess it would be amazing if my short term memory weren't so
  29. thoroughly scrambled from all the evil living I do.)