My Blog
contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!
Tag Archives: javascript
Creating a custom Zend Framework Body Script helper
It drives me nuts that the best practices with javascript that is not required for the initial rendering of your application is to be placed at the bottom of the document, yet frameworks (like Zend Framework) do not support that … Continue reading
setTimeout proper syntax
The javascript function setTimeout can be used to execute a function after a specified amount of delay. It uses the javascript callback pattern. Its important to use the callback pattern correctly, however, or you may get different results than you … Continue reading
Scoping your Bookmarklet Correctly
I’ve been lucky so far. I’ve used variable names and functions in my bookmarklets that weren’t that common. Then, one day, I chose a variable named something very common (x, counter, etc). I noticed that my bookmarklet accidentally overwrote some … Continue reading
Google Analytics Campaign Link Builder Bookmarklet
I was thinking about how difficult it is to create custom links for our campaigns at “the big L” – so I decided to create my own function to build these. To top it off, I’ll make it a bookmarklet. … Continue reading
jQuery form plugin does not submit submit buttons named submit
… in Google Chrome. Yep. I tested in Firefox and Internet explorer and had no problem. However, using the form plugin and submit input types with the name of ‘submit’ did not work. I changed their name to ‘submitbutton’ and … Continue reading
jQuery Validation – greedy on your forms?
I was creating a page with two forms on it. I ran into an issue where I would fill out one form, and it would fail validation. Then, I tried to do the other form with passing fields, and it … Continue reading
jQuery show password toggle
More and more people are requesting that their passwords not be masked – or that they have the option to toggle them. If the visitor is using Firefox, this has been a relatively easy feat. Simply add a checkbox and … Continue reading
Using Google Charts to make QR Codes
Google Charts is my hero yet again. This time, I happened to notice that they have a chart in their API for QR Codes. Considering I was just searching google for a PHP class to do this, I was pretty … Continue reading
Use your own short domain while waiting for BitLy Pro
If you’ve checked out BitLy Pro, you’re probably pretty excited like I am. I saw it and immediately registered saray.me for a short URL. When I went to sign up, I found it was still in a queue system where … Continue reading
Branding your Tweets using @anywhere tweetbox
With Twitter’s new @anywhere features, it’s now possible to brand your tweets from your own web page. While I still like using Tweetdeck or Seesmic for my actual interaction on twitter, I have started tweeting a bit from my own … Continue reading
