News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

SEO Expert Blog:
Creating Amazon Ads that Rock with jQuery and PHP
August 07, 2007 @ 10:16:00

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.

You can see it in action at the top of the right sidebar on the SEO Expert website.

1 comment voice your opinion now!
amazon advertisement jquery unobtrusive javascript drupal amazon advertisement jquery unobtrusive javascript drupal



PHPToys.com:
Creating a file based AD rotator script
April 24, 2007 @ 11:43:00

From the PHPToys.com website, there's a simple tutorial that shows you how to create a simple file-based ad rotation script for your website.

In this tutorial I will show you hot to create a simple AD rotator script without using database. The script can display both text and image ads and you can control the number of ads to be displayed at once.

The content (images) are stored in a directory and the heart of the mini-app, the rotation list, is stored in a text-file. All of the code you'll need to get started is included and you can even just download the script if you want to get started right away.

0 comments voice your opinion now!
advertisement rotator script textfile simple tutorial advertisement rotator script textfile simple tutorial



Community Events











Don't see your event here?
Let us know!


ajax security database code zend application PEAR cakephp mysql developer example job releases conference PHP5 book framework package zendframework release

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework