OP was last here on 30th december.
He shot me a PM i was lazy to answer but from what he wanted, javascript is the answer.
If he still is interested and still doesn't find the answer with more googling using that trigger word, then i might elaborate otherwise i am lazy now.