Posts Tagged ‘How-To’

Posts Tagged ‘How-To’

View All Posts In My Blog »


Gmail Newsletter Trick

11.07.2008 | 0 Comments

Today I found a tips and tricks article discussing html email from NetTuts. I pretty much knew of most of the techniques but tip number 6 is great.

With gmail whatever it finds at the beginning of the email is what it uses to show in your inbox. For the newsletters I have been sending it would be something like: “Having trouble reading this email? Click here to see it in your browser”. Not very friendly and not one that jumps out and makes you want to read it. :)

The tip from Nettuts is:

Insert a 1px x 1px image as the very first element in your email. Wrap the image in span tags setting the font color to the same as the background. Whatever text you put in the ALT tags for your 1px x 1px image will now replace that google snippet in the users inbox.

Truly brilliant and some nice outside the box thinking. For the other tips visit: 6 Easy Ways to Improve Your HTML Emails.


jQuery pass variables to functions

9.22.2008 | 4 Comments

I have been working with jQuery recently because we are going to be using it in the 4.1 release of 68 Classifieds. One of the things I couldn’t get my head around was how to pass the id of a database record to a jQuery click function.

For example in regular javascript I had: Read more…