Open ASP file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Open ASP file

  1. #1
    Shari Guest

    Open ASP file


    Hi,
    How do I open a new window which has ASP reference in htm file

    <input type=button value=click onclick=window.open('b.asp')>

    when I click to open File download window appears to save this file or open
    from current location?

    Any help is appreciated!!
    Thankz


  2. #2
    David M Guest

    Re: Open ASP file


    "Shari" <spatton@hotmail.com> wrote:
    >
    >Hi,
    >How do I open a new window which has ASP reference in htm file
    >
    ><input type=button value=click onclick=window.open('b.asp')>
    >
    >when I click to open File download window appears to save this file or open
    >from current location?
    >
    >Any help is appreciated!!
    >Thankz
    >


    Hi,

    It sounds like the directory that contains the ASP file, is not set up to
    execute scripts.......

    If you are using Personal Web Server, Go to the Server Properties and use
    the Advanced section to set up the directory that holds the ASP file.....

    David M


  3. #3
    David Jennings Guest

    Re: Open ASP file


    "Shari" <spatton@hotmail.com> wrote:
    >
    >Hi,
    >How do I open a new window which has ASP reference in htm file
    >
    ><input type=button value=click onclick=window.open('b.asp')>
    >
    >when I click to open File download window appears to save this file or open
    >from current location?
    >
    >Any help is appreciated!!
    >Thankz
    >


    We use a button, but make it look like a link.

    Here is the code from our stylesheet:

    BUTTON.BigLink
    {
    BACKGROUND-COLOR: transparent;
    BORDER-BOTTOM: medium none;
    BORDER-LEFT: medium none;
    BORDER-RIGHT: medium none;
    BORDER-TOP: medium none;
    COLOR: #003399;
    CURSOR: hand;
    FONT: 110% verdana,arial,helvetica;
    TEXT-ALIGN: left;
    }

    Here is the code for the button:

    <button onclick="window.navigate('b.asp')" Class="BigLink" id="btn1" name="btn1"
    style="width: 200;"><u><b>Go Somewhere</b></u></button>

    This gives the appearance that it is a normal link, but it is really a transparent
    button.

  4. #4
    David Jennings Guest

    Re: Open ASP file


    "David Jennings" <de-jennings@zdnetmail.com> wrote:
    >
    >"Shari" <spatton@hotmail.com> wrote:
    >>
    >>Hi,
    >>How do I open a new window which has ASP reference in htm file
    >>
    >><input type=button value=click onclick=window.open('b.asp')>
    >>
    >>when I click to open File download window appears to save this file or

    open
    >>from current location?
    >>
    >>Any help is appreciated!!
    >>Thankz
    >>

    >
    >We use a button, but make it look like a link.
    >
    >Here is the code from our stylesheet:
    >
    >BUTTON.BigLink
    >{
    > BACKGROUND-COLOR: transparent;
    > BORDER-BOTTOM: medium none;
    > BORDER-LEFT: medium none;
    > BORDER-RIGHT: medium none;
    > BORDER-TOP: medium none;
    > COLOR: #003399;
    > CURSOR: hand;
    > FONT: 110% verdana,arial,helvetica;
    > TEXT-ALIGN: left;
    >}
    >
    >Here is the code for the button:
    >
    ><button onclick="window.navigate('b.asp')" Class="BigLink" id="btn1" name="btn1"
    >style="width: 200;"><u><b>Go Somewhere</b></u></button>
    >
    >This gives the appearance that it is a normal link, but it is really a transparent
    >button.



    Sorry, I forgot to put in the code for a window.open example.

    Sub btn2_onClick
    window.open "b.asp"
    End Sub

    <button ID="btn2" name="btn2" Class="BigLink" style="width: 210;"><u><b>Open
    a New Window</b></u></button>



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center