HTML
  Home arrow HTML arrow Make Your Own Cool Drop Down Ad's
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Make Your Own Cool Drop Down Ad's
By: Tim Pabst
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 18
    2002-05-20

    Table of Contents:
  • Make Your Own Cool Drop Down Ad's
  • How drop down ads work
  • The admin.php script
  • The admin.php script (contd.)
  • Viewing, expanding and collapsing a banner
  • Tracking the number of click-thrus
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Make Your Own Cool Drop Down Ad's


    (Page 1 of 7 )

    "The age of the banner ad is dead" shouts a self-proclaimed online marketer. "Banner ads represent a bad return on investment" writes another. The truth of the matter is that banner ad's aren't dead, my friend. In this article Tim shows us how to create a banner management application that lets us add nifty MySQL-blobbed, two part drop-down banners to our sites. If you run your own site then you can't afford not to read this tutorial!Traditional banner ads are receiving lower click-thru rates, however many web sites are trying to combat this by introducing spin offs from these typical ads. One particular spin off that always gets my attention is the drop down ad.

    For those of you who haven't seen them, they're the type of ad that display as maybe a 700x100 banner for 5 seconds, and then when the page is fully loaded, they expand to 700x350 for a couple of seconds and then collapse back up. Once they've collapsed however, you still have the option to expand them again with the help of a button ingeniously titled "see more" or "expand".

    These ads *can* get on your nerves if you see them more than once however, so using some sort of tracking method to make sure that the ad only expands once for each visitors is a good idea.

    In this article I'm going to show you how to make your very own drop down ad management system with PHP and MySQL. I will show you how to create scripts that will allow you to create drop down ads, how to add those ads to your web site, and also how to track when one of these ads are clicked.

    We will be using a fair bit of PHP, MySQL and JavaScript to accomplish this, so you should be up to par with each of these technologies.

    I will be using PHP 4.1 for the code in this article. More specifically, I will be using the newer $_xxx arrays instead of the deprecated $HTTP_POST_VARS, $HTTP_SERVER_VARS, etc. If you're running an earlier version of PHP, then you'll need to replace $_GET with $HTTP_GET_VARS, etc.

    More HTML Articles
    More By Tim Pabst


     

    HTML ARTICLES

    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway