s906201
New Member
- Messages
- 46
- Reaction score
- 0
- Points
- 0
x10Hosting Ads as a Banner in Joomla!
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:1&target=_blank");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>
PS: The Code above is for Large Banner ( Corporate ). The code for Text Link(Advanced) will Work as well but Showing a text on a Banner Space is ugly.
et Voila.
Reference : http://www.sangriastudios.com/content/blogcategory/20/39/
You can see an example on my new website (still under developement)
http://algerie.x10hosting.com/
- Upload a 1x1 transparent gif file.
- Create a new Client x10hosting under Components > Banners > manage Clients.
- Create a new Banner x10hosting under Components > Banners > manage Banners
- Chose Client name x10hosting
- Show Banner : Yes
- Click URL : http://x10hosting.com/advert/adclick.php?n=a7fb3e9d
- Custom banner code insert the following :
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:1&target=_blank");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>
- Banner Image Selector : Select the 1x1 transparent gif file
- Publish the Banner.
et Voila.
Reference : http://www.sangriastudios.com/content/blogcategory/20/39/
You can see an example on my new website (still under developement)
http://algerie.x10hosting.com/