Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 5th, 2008, 06:18 PM
Authorized User
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Banner display in asp

HI,
I want to display some javascript banner in asp page but for somereason its not displaying anything, I checked the javascript on Editor (editor plus) and it does display the banner.....
please help me out.

Code:
<html>
    <head>
        <title>My First ASP Page</title>
    </head>
    <body bgcolor="white" text="black">

<script language="JavaScript" type="text/javascript">if(typeof(ord)=="undefined"){var ord=Math.floor(Math.random()*10000000000)}document.write("<scr" + "ipt language="JavaScript1.1" src="http://ad.uk.doubleclick.net/adj/bounty.tmuk/forum_info;!category=bounty_forums;category=bounty_forums;!category=forum_info;pos=topban;tile=1;dcopt=ist;sz=468x60,728x90;ord=' + ord + '?" type="text/javascript"><\/scr" + "ipt>");</script>
<script language="JavaScript" type="text/javascript">if((!document.images && navigator.userAgent.indexOf('Mozilla/2.') >= 0)|| navigator.userAgent.indexOf("WebTV") >= 0){document.write('<a href="http://ad.uk.doubleclick.net/jump/bounty.tmuk/forum_info;!category=bounty_forums;!category=forum_info;pos=topban;tile=1;sz=468x60,728x90;ord=123456789?" target="_blank"><img src="http://ad.uk.doubleclick.net/ad/bounty.tmuk/forum_info;!category=bounty_forums;!category=forum_info;pos=topban;tile=1;sz=468x60,728x90;ord=123456789?" width="728" height="90" border="0" alt=""><\/a>');}</script>
<noscript><a href="http://ad.uk.doubleclick.net/jump/bounty.tmuk/forum_info;!category=bounty_forums;!category=forum_info;pos=topban;tile=1;sz=468x60,728x90;ord=123456789?" target="_blank"><img src="http://ad.uk.doubleclick.net/ad/bounty.tmuk/forum_info;!category=bounty_forums;!category=forum_info;pos=topban;tile=1;sz=468x60,728x90;ord=123456789?" width="728" height="90" border="0" alt=""></a></noscript>



    </body>
</html>
 
Old May 5th, 2008, 06:38 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

you will get better help in the JS section of the forum

Wind is your friend
Matt
www.elitemarquees.com.au





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display a banner in div control peace2007 Javascript 3 October 5th, 2007 12:38 AM
intresting banner? sirup_segar Dreamweaver (all versions) 1 May 30th, 2007 04:25 AM
Repeating Banner in web page ychange Dreamweaver (all versions) 2 March 11th, 2007 01:32 PM
Pausing a rotating image banner 132591 Javascript How-To 1 December 18th, 2006 01:54 AM
Adding banner to this code einarhansen Classic ASP Basics 0 November 29th, 2003 08:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.