Logo of RobustHost, developer of high quality webmaster tools.
Home About Us Contact Us Support Download Products
DynAds Basic banner ad rotation and tracking script

DynAds Pre-Loading of Ads

Sometimes you want to manipulate ad content or the way the ads are displayed instead of raw display. DynAds provides the opportunity to pre-load the ads into the browser memory as a JavaScript array object. This allows you to change the format or the content of the ads before displaying. You can either paste the ads immediately by using a document.write() or later by using DHTML layers.

In the following example, all of the ads of an ad group are pre-loaded and then they are displayed in a 2 column table. You can compare this with the direct paste of the static JavaScript demo. Inspect the source HTML of this demo to see how easily this is done.

In addition, as stated earlier, you can do DHTML processing. In the next example, whenever you click the "Click to Show the Next Ad" heading, the next ad is shown below it, and whenever you put your mouse over the "Point to Show the Previous Ad" heading, the previous ad in the list is shown (Almost all IE browsers and new Netscape browsers should support it). This is a good way of displaying context sensitive ads.

Just imagine how much potential DynAds have for improving the quality of your web site!

Click to Show the Next Ad Point to Show the Previous Ad


Copyright © 2003, RobustHost.com. All Rights Reserved.