Saturday, 20 October 2012

Adrotator

use for advertisements
take scriptmanager, timer, adrotator, upadate panel control in webpage.
place timer, adrotator in upadate panel.
Add the XML file from the "add new item"
Add new folder in solution explorer and paste all the images u want to display
write the code in the XML file


imageurl: name of the image i.e 10801.jpg
navigateurl:provide link to another web page.i.e www.google.com
it is only for 3 images. for more images use <ad> tag how many u want.

open the property of adrotator and add the xml file like this


click ok..
and change the time interval property as u want...for 1 sec use" 1000" value.. 

No comments :

Post a Comment