Results 1 to 3 of 3

Thread: Link in JS

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question Link in JS

    I have a link on a page containing frames. The link is OK, except when I have opened a new window. What could be wrong? Do I have to activate the window with the frames or...?

    Link code:
    Code:
    <a href="pipedim.asp?pageID=<%=pageID%>" target="venstre" onclick="pipedim();" style="font-size: 12pt">This is the link</a>
    function:
    Code:
    function pipedim() {
       window.parent.frames("right").location = "blank.htm";	
       parent.frames[0].navform.dim.disabled=false; 
       return;
    }
    An error occurs if I hit "This is the link" after activating a new window with this form:
    Code:
    <form name=pipe_res method="post" action="print.asp?pageID=<%=pageID%>" target="_blank">
    The error occurs happen in the right frame, left is OK

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    What error are you getting?
    Mark
    -------------------

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049
    A simple error saying that the ressource is not allowedt. This is the HTTP 405 error.

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