AJAX and XML
Lately I've become obsessed with realtime updates to pages via AJAX & XML. I've been drafting a simple solution, and will be posting it shortly. Stay tuned! ps – If I get enough AJAX related code, I'll create a new category
'JavaScript Code' Category
October 18th, 2006
AJAX and XMLLately I've become obsessed with realtime updates to pages via AJAX & XML. I've been drafting a simple solution, and will be posting it shortly. Stay tuned! ps – If I get enough AJAX related code, I'll create a new category
October 8th, 2006
Make an object stay on the page when scrollingIt's pretty common to see a nav bar or some persistent menu/object floating on a web page as you scroll dow it. Well here's the code to do that yourself. You can set the specific location for the floating object, and when the web page is scrolled down or up the object will float to [...]
October 6th, 2006
Detect resolution and resize contents to fit!It can be a pain to deliver one unified interface or data table that works well on all resolutions. Either it looks tiny on large resolutions, or people with lower resolutions are forced to scroll. Neither or thse are great for usability. So here is some JavaScript and PHP code that can detect the resolution [...]
September 13th, 2006
Easily create recurring PayPal subscription URLsWell, I've recently had to create some URLs for people to send me recurring PayPal payments. I find that if you have to modify it at all for a different subscription it can be a pain, gettting lost in the URL encoded string and PayPal parameters. So I whipped up this little JavaScript form to [...]
September 12th, 2006
Count the number of words with JavaScriptSometimes you need a quick way to count the number of words in a string. Suppose you've typed out a blog post or essay and you want to ensure the minimum word count. Well, you could past into Word or OpenOffice, but this is much quicker! This handy little code snippet provides a textarea and [...] |