• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 943
  • Last Modified:

VB Script with a FRAME TARGET

How do I target another frame using VB script for banner ads in a differant frame,
When the banner ad comes up in FRAME1, I want to click on it, but target frame2.
How can I do this?

This is the script I am using:


     FILE NAME: what ever the web page is called as long as it ends with .asp
     this is to tell it to read the script.

     <HTML>
     <HEAD><TITLE>VBScript Using the Ad Rotator</TITLE></HEAD>
     <BODY BGCOLOR=#FFFFFF>
     <H3>VBScript Using the Ad Rotator</H3>

     <%  Set Ad = Server.CreateObject("MSWC.Adrotator") %>
     <%= Ad.GetAdvertisement("adrot.txt") %>
     <BR>

     </BODY>
     </HTML>
     ----------------------------------------------------------------------------------

     This is the script for what banner is seen
     FILE NAME: adrot.txt
     redirect /cgi-asp/adredir.asp
     width 460
     height 60
     border 1
     *
     http://www.e-scope.com/test/ad_1.gif
     http://www.e-scope.com
     Astro Mt. Bike Company
     20

     http://www.e-scope.com/test/ad_2.gif
     http://www.e-scope.com/hotel_pg/hotel_pg.htm
     Arbor Shoes
     20

     http://www.e-scope.com/test/ad_3.gif
     http://www.e-scope.com
     Clocktower Sporting Goods
     30

     http://www.e-scope.com/test/ad_4.gif
     http://www.e-scope.com
     GG&G
     30
     ----------------------------------------------------------------------------------------

     This is the script for the redirection after clicking on the banner
     FILE NAME: adredir.asp

     <% response.redirect (request.QueryString("url")) %>

Thanks
Paul S. Aiello
0
paulvb
Asked:
paulvb
  • 3
  • 3
1 Solution
 
soedingCommented:
paulvb,
automatisation with VBScript is good and fine.
But if there are no methods...
Regards
0
 
paulvbAuthor Commented:
SO how can I do this?
What is needed?
0
 
KEWLCommented:
Window.parent.frames("framename").location.href="www.so-and-so.com"
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
paulvbAuthor Commented:
There was no answer in the comment box.
0
 
KEWLCommented:
what do you mean?
0
 
paulvbAuthor Commented:
Now there is an answer, before the answer box was blank.
How can I grade this now? This is the answer I need.
Excellant
0
 
KEWLCommented:
when it says 'text above' it means that the answer is in the second top box.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now