Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 banner rotation
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

benjamin64
New Member

84 Posts

Posted - 30 July 2003 :  14:39:29  Show Profile
can any one tell why this dont work

<% @language = vbscript %>
<% option explicit %>
<html>
<head>
<title>vis reklamer</title>
</head>
<body bgcolor=#000000>

This is the page which load the banner
<%
dim adrot
set adrot = server.createobject("MSWC.adrotator")
adrot.border = 1
adrot.clickable = true
adrot.Targetframe = "new"
response.write(adrot.getadvertisement("banner/banner.txt"))
%></body><html>

this is the banner.txt file
redirect count.asp
width 468
height 60
*
bannerpåsidenleft\mcselec.gif
http://www.eb.nu
eb
10
ad_eurocomp.gif
http://www.softng.com
so
20

and this is the count.asp
<% @language = vbscript%>
<%
stradvertiserurl = request.querystring("url")
respons.appendtolog stradvertiserurl
response.redirect(stradvertiserurl)
%>


when i click on the banner if opens a new window, but does not write the adress only also the adress of my site first like this
http://www.test.test/test/main/1tæller.asp?url=http://www.eb.nu&image=bannerleft\mcsec.gif

instead of
http://www.eb.nu

benjamin64
New Member

84 Posts

Posted - 30 July 2003 :  17:07:57  Show Profile
i did get it to work, my it totally different, hate books!!!!!!!!!!!!!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07