From the SEO Expert Blog, there's a new tutorial focusing on making "Amazon ads that rock" by combining jQuery and PHP.

Are you sick of annoying ads that take up large parts of the screen, pop up, under or anywhere else, move around, blink and flash? You want to learn how to create ads that rock with a few lines of simple JavaScript and PHP code? Then let me show you how.

He shows his method for the creation of his unobtrusive ads with the advertising content that Amazon has to offer. The process is broken up into four steps:

The Data Structure - an array of arrays with the Amazon information for the items (in this case books)

Converting the PHP Array to JavaScript - using a Drupal module to assign the PHP array to a Javascript variable

The HTML Output - a function that outputs a "block" of ads

The JavaScript - the jQuery Javascript code to handle the clicks on each of the links.

From the SEO Expert Blog, there's a new tutorial focusing on making "Amazon ads that rock" by combining jQuery and PHP.

Are you sick of annoying ads that take up large parts of the screen, pop up, under or anywhere else, move around, blink and flash? You want to learn how to create ads that rock with a few lines of simple JavaScript and PHP code? Then let me show you how.

He shows his method for the creation of his unobtrusive ads with the advertising content that Amazon has to offer. The process is broken up into four steps:

The Data Structure - an array of arrays with the Amazon information for the items (in this case books)

Converting the PHP Array to JavaScript - using a Drupal module to assign the PHP array to a Javascript variable

The HTML Output - a function that outputs a "block" of ads

The JavaScript - the jQuery Javascript code to handle the clicks on each of the links.

What I did to achieve this was used server-side cookies instead of JavaScript cookies. Hence, PHP. However this isn't a "PHP style switcher" â€“ which is where Ajax comes in. For the extreme technical folks, no, there is no xml involved here, or even a callback response. I only say Ajax because everyone knows what 'it' means. With that said, itâ€™s the Ajax that sets the cookies 'on the fly'. Got it? Awesome!

What I did to achieve this was used server-side cookies instead of JavaScript cookies. Hence, PHP. However this isn't a "PHP style switcher" â€“ which is where Ajax comes in. For the extreme technical folks, no, there is no xml involved here, or even a callback response. I only say Ajax because everyone knows what 'it' means. With that said, itâ€™s the Ajax that sets the cookies 'on the fly'. Got it? Awesome!