Logo of RobustHost, developer of high quality webmaster tools.
Home About Us Contact Us Support Download Products
DynAds Pro Professional rotation and tracking software
DynAds Pro
Main Page
Features
Demo & Test
Documents
F.A.Q.
 
Order Online
 
Other Products
DynAds
 
Testimonials
 

Sample Testimonial
Dynads is only as limited as your imagination!
I am able to use for banners, google type keyword campaigns and am adding content links category and keyword based to advertise other services. The administration area did feel a bit overwhelming at first, but after getting the basics down it is very easy and user friendly. To top it off this is about the best support I have seen, fast efficient and friendly!!! So thank you for developing dynads pro - I still can't believe the reasonable price for the powerful dynamic scripting - Thanks.
D. Kamuran, CyberWebSearch.com More...

Affiliates

Ad Class

Ad class is a container for a single ad or content. The properties of the class closely reflects the DynAds ad database fields in the server. When an ad group is loaded to the browser as a DAG object from DynAds database, all Ad objects are created automatically.

Ad Class: Container class for a single ad.
Ad.Html method: Get the html content of the ad (without link redirection).
Ad.RedHtml method: Get the redirected html content of the ad.
Ad.isAd Property: Check if this object is an Ad object.
Ad.category Property: Category of the Ad.
Ad.name Property: Name of the Ad.
Ad.hhtml Property: Header html of the Ad.
Ad.fhtml Property: Footer html of the Ad.
Ad.link Property: Original link of the Ad.
Ad.rlink Property: Redirection link of the Ad.
Ad.weight Property: Weight of the Ad.

Ad Class
Definition: Container class for a single ad or content.
Syntax: new Ad() ;
new Ad(anotherAdObject) ;
new Ad(category, name, hhtml, fhtml, link, rlink, weight) ;
Arguments: None: An empty Ad is created.
anotherAdObject: Copy of anotherAdObject is created.
category, name, hhtml, fhtml, link, rlink, weight : An Ad object with the given properties is created.
Returns: A new Ad object.
Remarks: The properties of Ad class can be accessed freely. When you access ads from DynAds, necessary Ad objects are created automatically.
Example:
// Create a new Ad object
var myAd = new Ad("First_Category", "myAd", "<A HREF=\"", "\">Press Here</a>", 
                  "http://robusthost.com/", "http://robusthost.com/redirect.html", 2) ;

Ad.Html Method
Definition: Get the html content of the ad (without link redirection).
Syntax: function Ad.Html() ;
Arguments: None.
Returns: The original html content of the ad.
Remarks: None.
Example:
document.write(adObject.Html()) ;

Ad.RedHtml Method
Definition: Get the redirected html content of the ad.
Syntax: function Ad.RedHtml() ;
Arguments: None.
Returns: The redirected html content of the ad.
Remarks: None.
Example:
document.write(adObject.RedHtml()) ;

Ad.isAd Property
Definition: Check if this object is an Ad object. isAd property is always true for an Ad object.

Ad.category Property
Definition: Category to which the ad belongs.

Ad.name Property
Definition: Name of the ad.

Ad.hhtml Property
Definition: Header html of the ad as defined in DynAds database.

Ad.fhtml Property
Definition: Footer html of the ad as defined in DynAds database.

Ad.link Property
Definition: Link field of the DynAds ad database

Ad.rlink Property
Definition: Redirected link of the ad. This link is generated automatically by DynAds if the Ad is loaded from DynAds. Otherwise, the redirected link must be created manually.

Ad.weight Property
Definition: Weight assigned to this ad. When the ad is loaded from DynAds, this is the weight of the ad in the loading display group.


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