3/19/07

Sidenotes!


I've done my javascript homework and I finally figured out how to put sidenotes into my blog. To me, a sidenote is something that isn't including in the body of the text because it's too lengthy, trivial or just superfluous. In conversation, this is easy. The master of sidenotes, at least to me, was Mr Randy Oveson. He'd be telling you a story and then right in the middle of the climax, he'd lean over and say something in a hushed voice, like "You know, that guy is always doing stupid stuff like that." or "You know that's a lie." So, in my tribute to Thầy Thái, here's my attempt at cyber sidenotes. Anything in this nice blue color is a sidenote. Click on it to see what I have to say under my breath. :)

Try it our here or this one or right here.


3 comments:

Triet said...

welcome to javascript. you're probably better at it than me already. I use the same function to truncate posts. When i have a humongous post, I insert the javascript to expand/collapse the post so people can see more of my posts on the front page without scrolling down forever, and they can then click on the link if they really want to read the post.

My last post, Fixing March Madness is exactly like that.

Not that you write long posts...because you don't...I just...anyway...yeah...

Triet said...

Ok, so I seriously want a good comment script that would allow someone to simultaneously post a comment on more than one blog...or do something like facebook, where you could link a post to a post on another blog and look at comments on both (like facebook's "post on their wall/see the conversation" ability).

Alrighty, the answer to your comment on my blog that was an answer to my comment on your blog (see my frustration?) is that all you do is set up a simple javascript. I do mine like I found on another blog.

In the style section of my header, I have a .posthidden {display: none} and a .postshown {display: inline}.

Actually, forget me writing it down. Just look at my source code, and there are those two lines in the style section and some short javascript code right beneath that with explicit instructions on what must be put into the blog post. Copy that and you have it.

I know Aditya Murkherjee at The Last Word had drawn up some script or something to make the coding easier when writing your posts, but i didn't pay too much attention because I had just installed this version and got lazy...so check him out. Heck, you probably have a better version than I already.

Jennie said...

Hey I like the sidenotes! Very cool..

Thanks for visiting my site, I'm glad I got a chance to view your site. Lots of interesting stuff.

travel log
  • 02.13.08 - to the temple with Luan and his mom, good to be back
  • 02.14.08 - Mẫu's alive! and staying for the weekend
  • 02.15.08 - floor hockey and Thái food makes for some strange dreams
  • 02.17.08 - frisbee and swamp monster at the park: fun but I'm pooped!
  • 02.19.08 - just read Triết's response to my last post - game on!
  • 02.20.08 - raining and expected to continue through Sunday - thank goodness!
  • 02.21.08 - 3-hour nap is a bad idea right before bed
  • 02.23.08 - to the beach to watch kites, a baptism @ 5pm, and homemade bulgogi - what a day!
  • 02.25.08 - just gave myself a haircut - woo, cold head!
  • 02.26.08 - 75° and spring cleaning - couldn't feel better
  • 02.27.08 - fed the elders bún đậu tonight - think it's their first time
  • 03.01.08 - working on new background...
  • 03.02.08 - finalized javascript to change background without muffing up my other scripts
  • 03.03.08 - fhe: "In his strength I can do all things" (Alma 26:12)
  • 03.07.08 - some decisions are harder than others, but some are downright excruciating
  • 03.08.08 - there is life after work... i almost forgot
  • 03.11.08 - the distance between good and bad is much shorter than between better and best
  • 03.12.08 - conversion is sometimes a gradual process, so much so that we don't even notice
  • 03.14.08 - for some reason everything was a little harder today, looking forward for bed!
  • 03.15.08 - last night after blog reading, I missed OnlyBlue, today I find she's back
  • 03.16.08 - best day of my life!
  • 03.19.08 - "Pray for the answer that they've been looking for"
release notes v1.0 - FINALLY DONE!
  • 12.07 - first thought of starting a new blog
  • 01.08 - busy with election stuff but blog design still on back burner
  • 01.13.08 - first idea to imitate jk rowling with the "desk" theme
  • 01.28.08 - start sketching current design, breaking down development into phases
  • 02.02.08 - election only days away but still drafting final plans
  • 02.04.08 - v0.6 LAUNCH
    • main components (blog body, sidebar, header, etc) designed and implemented
    • styling for font, links, drop caps, etc. finished
  • 02.07.08 - v0.8 LAUNCH
    • image style to imitate polariod
    • moveability - post-it notes and static clings can be repositioned by drag and drop
    • release notes styled and written
  • 02.16.08 - travel log (beta) added in hopes of catching the mundane
  • 02.22.08 - lightbox 2.03 reinstalled and working fine (hopefully - let me know otherwise)
  • 02.26.08 - v0.9 LAUNCH
    • travel log seems to be working, so I'll keep it
    • lightbox also seems to have passed the test, so it's a keeper
    • some credits/info added to bottom (will expand)
    • keeping old Viet terms in archive for future viewing
  • 03.18.08 - v1.0 LAUNCH
    • installation and testing of time-sensitive background completed (for now)