-
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
-
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
-
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.
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks