Email this Page
Log Support Call
Send Feedback
Print |
||||||||||||||||||||
Random AdsRandom ad functionality can be used to add rotating adverts, or graphics, to a webpage. Each time a new page is viewed, or the current page refreshed, the advert is changed. Instead of showing one or more static adverts you can use the random ads functionality to cycle through a group of adverts or images. As an example, we use this functionality on our website to cycle through a selection of advert and message blocks, increasing the information we are able to deliver to visitors.
Random adverts, where the advert uses an image, are created by adding the advert file to an Author-it topic, then publishing and uploading the files to the webserver. When the book is published the image file and HTML file (used to call the advert) are uploaded to the Content folder (if you have translated your website the files are uploaded to the language sub folder). In the Content folder, or language sub folder, you need to create an advert folder to store the HTML files. The Author-it Website Manager function uses the files in the advert folder to call and display the advert in your webpage. Random adverts can be created from an image or from a block of text, such as a comment or a set of related links. If the advert is created from a block of text the HTML page containing the text is displayed in the ad block and is added to the random adverts folder. You can display several advert blocks on the same page. To do this, add a placeholder for each block in the template (identifying each block by naming it, for example, ad_block_1, ad_block_2, etc), create a folder for each block, and reference the appropriate block in the placeholder value. Tip: Create advert blocks for different types of adverts, for example, image-based ads, comments, etc. In Website Manager define the placeholder value at global, experience, or content level using the following format:
Note: The number and orientation parameters are optional.
To Add Random Advert Functionality:
To Call the Advert Files:
|
||||||||||||||||||||
| Top of Page |
Email this Page
Log Support Call
Send Feedback
Print |
|||||||||||||||||||
|
||||||||||||||||||||