January 25, 2005

Using quotes in posts on my page...

Just as for smilies, I just added a JavaScript function that lets you quote anything on my site the way Multiply does it!

This function is simply called quote(), and takes 3 arguments :

* text : the text to be quoted
* author : the author of the quote
* option : value 'get' or 'post', just as for the smiley() function, for advanced users who want to include a quote in a JavaScript code


To call it, simple use



on any post on my Multiply site.

For example, will get you the following result :
Hello, this is a quote!
- the tester


Enjoy!

0 commentaires: