Print Page | Close Window

ASP Problem.

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15053
Printed Date: 30 March 2026 at 5:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP Problem.
Posted By: davidshq
Subject: ASP Problem.
Date Posted: 12 May 2005 at 11:08am
Hi Folks,
  My database for LoudASP's banner exchange script has gone nuts, so I set up a new instance and manually transferred the data. However, I am still trying to contact all those who are part of the banner exchange. What I tried to do was replace the code thats called whenever a banner is served (ShowBanner.asp) with a short little response.write command (or html, or image, I've tried all three) that would show up instead of the usual banners, linking them to a page where they could learn how to update their code. However, for some reason this doesn't appear to be working. The code is still on my page (www.civilwarsearch.com) but nothing appears. Any ideas? Here is the link from my page to what used to be the banner serving page:
<script language='javascript'
src='http://www.dhq.nu/search/exchange/ShowBanner.asp?
s=n&u=23'
></script>
And here is the new page I created:
<%
Response.Write("The Banner Exchange has moved. You need to
update your banner code. Please click
<a href='http://www.civilwarsearch.com/explanation.asp'>here</a>
to learn more.")
%>
Any ideas what I'm doing wrong?


-------------
- http://www.davemackey.net/" rel="nofollow - Dave Mackey - Virtual Home.



Replies:
Posted By: wingking
Date Posted: 13 May 2005 at 5:06pm
you are leaving off the "" double quotes I would write it more like
response.write "the banner exchange has been moved. please click "
response.write "<a href=""http://www.civilwarsearch.com/explanation.asp"">here<a>"
response.write " to learn more"


Posted By: Gullanian
Date Posted: 15 May 2005 at 8:17am
Try changing the page to:

document.write("The banner....")



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net