this is a pay per click Network that allows webmasters called publishers to display advertisements on their website and earn a profit per click. These publishers signup and login to manage their ad code and settings before they display the java script ads on their websites.
Overview of whats needed
Before they add ad code to their website, they must select size that it will appear and color, etc. There are two alternative sections called alternative 1 and 2. If they insert any code into this, it will appear in the place of the advertisement when we do not have any ads to display.
I would like to by default, put this affiliate code of the banner size that matches the ad code size into alternative ad code 1 by default.
If they select 125x125
Sample code in alternative section.
<a href="[url removed, login to view]" style="text-decoration: none;" title="Get Domain Premium" ><img src="[url removed, login to view]" border="0"" /></a>
This would appear in alternative section when they are creating or updating publisher code. The code will appear after its has check database to see if code is not there, if code is store then that code will appear but ifs now code is available, then the default code will appear.
I want to also update all existing publishers alternative section in database with default code.
I also need a "whats this" link above alternative section that pops up and shows html text I insert so i can explain what to do.
This project is simple as you will edit this one page have default code show in alternative section if this is new publisher code being create or if there is not existing alternative ads in database already stored.