How To – Script.aculo.us Effect.Appear

Since I implemented Prototype and Script.aculo.us for the Lightbox photo album some time ago, I found that I can do more with these libraries – for example a Fade-in / Appear effect for my blog and posts (you can see it, can’t you ?). Now it’s the how to guide:

  • Provided that you already included the for prototype.js and scriptaculous.js in the header.template;
  • Then in the same file, find the line of <div id=”content”>
  • Add a new attribute to it style=”display:none;”
  • Then open the file main.template (your template set may have another name), add the following code right after the template loop through all the posts, but before the links and footer:

{literal}

//

{/literal}

  • You can adjust the duration to whatever seconds, you know.
  • Apply the same changes to other template files, if required.
  • Then upload the those template files to the server, and you are done !!

Enjoy !!

Entrepreneurial Proverbs

Yes, may be it’s a bit late to cross post this article, but I reckon it’s never too late to have something useful about how a geek can start up a business … especailly in a list of proverbs !!

And my favorite one is:

Jump when you are more excited than afraid — lack of fear is irrational, and too much fear is debilitating. Make the jump into your business when you have considered the fear, and come out more excited than afraid.

Here you go … Entrepreneurial Proverbs from O’Reilly. Enjoy and learn !!

What’s Next ? Widget ?

It all started from a very simple idea … put up something nifty in the sidebar of my blog. Of course, it is easy to put up Google adsense, Amazon Omakase, RSS etc … but what about something better, something easier to manage (in my blog) ? Like widgets ?

Since the good old days of Windows Active Desktop, Apple Dashboard, and Yahoo Konfabulator, widgets are really not new stuff. But we now have Vista sidebar gadgets, and after Newsweek declared 2007 is the year of widget, I am sure we will see a lot more about widgets.

However, what really really really caught my eye is the following blog post:

If you were going to invent the portal today, would you?

Just some excerpt …

My point is that all content needs to be loosed in the smallest particles possible (widgetised) – then it will reform itself into valid and relevant units, driven by the consumers of that content. One unspoken issue underlying this is the concept of ‘portal death’.

Check that blog post, check out the concept behind widget and widget sites like widgetbox.com … widget is going to change the Internet and the world again.