-
Positioning Javascript
I am using an ad server to display rotating ads. The problem is that I can't put the code into our articles directly as else I can't update the article in our article management section.
So now I tried to display the rotating images from the php page instead the article itself.
I am wandering if there is a way to position the image so that the text runs along the image instead of being on top of the article.
This is the code I need to insert to display the ad
<script language='JavaScript' type='text/javascript' src='http://www.website.com/ads/adx.js'></script>
<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://www.website.com/ads/adjs.php?n=" + phpAds_random) ;
document.write ("&what=zone:9");
document.write ("&exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.website.com/ads/adclick.php?n=aedb0fe3' target='_blank'><img src='http://www.website.com/ads/adview.php?what=zone:9&n=aedb0fe3' align = "right" border='0' alt=''></a></noscript>
If it would be only a picture i would align = right but this doesn't seem to work.
Can anybody help?
Thank you in advance
Andrea
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks