Add Images/Html in Drupal Node Titles

After some frantic hair-pulling, I finally got this to work in Drupal 6.x. Here I am presenting 2 ways to add images/Html to Drupal node titles (both based on template.php), and you can choose any of them as per your needs. There are pretty other options (including...

Enums in Javascript – Part 2

I blogged about this topic earlier also here. That blog post presents an approach to create enums (enumerations) in javascript, exactly like those available in .NET or Java.The later portion of that blog post mentions that the approach presented is extensible, and we...

Generating markup for Drop-Down menus in Drupal

I am not presenting the actual approach here. I created this blog entry just to point to this wonderful tutorial in Drupal's official theming guide for this purpose, which describes all the steps in a clear and concise way.I came across it while creating a drop-down...

Thickbox – Show on Page Load

I had a situation where I needed to show a Flash movie in a modal dialog on a Page. Needless to mention, LightBox is the first thing that strikes to mind for such purposes. However, LightBox supports only images. And I needed to show a Flash movie.A quick Google...

Enums in Javascript

UPDATE: An updated and enhanced version of this technique is available here:Enums in Javascript - Part 2 Basically, the title says it all. So, without wasting any time, let's see an example of an enum in Javascript.{syntaxhighlighter brush: jscript;fontsize: 100;...

Flash Falling Money Animation

I recently prepared a long Flash movie for one of my Client websites. The movie had the animation of Falling Currency Notes in between it.I thought I should share the Falling Money part of it on my website. So, the .fla & .swf files for the Falling Money animation...

Chit Chat

Projects