Results 1 to 2 of 2

Thread: How to specify TARGET in ASP?

  1. #1

    Thread Starter
    Addicted Member wernerh's Avatar
    Join Date
    Sep 2000
    Posts
    170

    Question

    How can I specify the target frame in an ASP response.redirect ???

    response.redirect "mypage.asp" "<TARGET = 'main'>"???????????

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    you cant specify a target in ASP but you can do:


    if choice = blabla then
    %>
    <script language=javascript>
    parent.frames.main.location='yourRedirection';
    </script>
    <%
    else
    %>
    <script language=javascript>
    parent.frames.main.location='yourRedirection';
    </script>
    <%
    end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width