• Home
Pictures Archives Travel RSS

Auto coloring of child nodes using Prototype

19 June 2008 | JavaScript, Prototype | Suneth Mendis

Inspired by David F. Miller's work in 2004 to color alternate table rows (Just like iTunes) I wrote this simple Prototype based script to do the same and a little but more. This script will color any list given that the list belong to a single parent. 
[…]

Popularity: 30% [?]

No Comments

iFrame dynamic resizing revisited

05 June 2008 | Coding, JavaScript | Suneth Mendis

Its time to revisit the burning question once again!
“Is there a reliable way to dynamically resize the iFrame height according to its contents?”
Well according to my previous post I thought I nailed it! But I soon found out it wasn’t all that reliable! So it wasn’t the silver bullet I was hoping for. 
So as […]

Popularity: 70% [?]

8 Comments

Using jQuery with Prototype - Sweet!!!

18 May 2008 | Coding, JavaScript | Suneth Mendis

As many of us know there are 2 leading contenders for javascript frameworks. Prototype and jQuery. I have used prototype extensively in my applications but I do keep an eye on jQuery goodness from time to time. Being a Java developer, I personally like the syntax jQuery offers […]

Popularity: 46% [?]

Comments Off

“Fun” with Prototype and IE7 and Tables

13 May 2008 | JavaScript | Suneth Mendis

Its a known fact that DOM manipulation on TABLE in IE is a mine field. I thought I could get lucky with prototype when it comes to creating DOM elements on the fly. But apparently not! In particular html TABLES. So here are some of the "gotcha" moments […]

Popularity: 50% [?]

5 Comments

About Me

One life, Live it!

My name is Suneth Mendis. I'm a 29 year old Software Engineer. I live in Brisbane Australia and working for a very exciting company called Ephox.

  • Recent Posts

    • Ignorance is your loss
    • Auto coloring of child nodes using Prototype
    • iFrame dynamic resizing revisited
    • Using jQuery with Prototype - Sweet!!!
    • “Fun” with Prototype and IE7 and Tables
    • What serious lack of sleep can do to a developer…
    • iSurprise
    • Offline blog editor
    • What!?
    • Iframe dynamic resizing… SOLVED!
    • more...
  • Categories

    • Agile
    • Blogroll
    • Coding
    • Gadgets
    • Hobbies
    • Ideas
    • JavaScript
    • Life
    • Mac
    • Prototype
    • Travel
    • Work
    • WTF
  • Links

    • Planet Ephox

Copyright © Suneth Mendis 2008 · Designed by Suneth Mendis · Powered by WordPress