Help with ASP and include
#1
I am quite new to ASP, so please bear with me.
Basically I have an ASP page which I'm trying to 'include' a header. I use the command:
<!--#include file="header.inc"-->
The complied ASP page loads up ok, but when I try and click any link it opens up in a new window as if it was "target=_blank".
Any ideas?
Basically I have an ASP page which I'm trying to 'include' a header. I use the command:
<!--#include file="header.inc"-->
The complied ASP page loads up ok, but when I try and click any link it opens up in a new window as if it was "target=_blank".
Any ideas?
#4
Scooby Regular
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
You can help me
http://www.iantrott.co.uk/test/
I just want someone to convert 1st page into php or asp.
its just easier to learn with a working example i think then learn as you go.
Ignore bk. colour and logo
Si
http://www.iantrott.co.uk/test/
I just want someone to convert 1st page into php or asp.
its just easier to learn with a working example i think then learn as you go.
Ignore bk. colour and logo
Si
#5
Hi Si
When you say "convert to ASP" what exactly do you mean? At the moment it looks like your page is just HTML using Javascript to do the menuing system.
Basically "classic ASP" (as opposed to new fangle ASP.NET) is mainly made up of HTML but ASP code (nearly always VBScript) is mixed in there too between special ASP tags that just generate normal HTML when the page runs/loads.
HTH
Rich
When you say "convert to ASP" what exactly do you mean? At the moment it looks like your page is just HTML using Javascript to do the menuing system.
Basically "classic ASP" (as opposed to new fangle ASP.NET) is mainly made up of HTML but ASP code (nearly always VBScript) is mixed in there too between special ASP tags that just generate normal HTML when the page runs/loads.
HTH
Rich
#6
Scooby Regular
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes
on
0 Posts
i dont know really
I just thought rather then the .html
something .asp or .php
I want a returnable form eventually!
Do you think theres no need for asp in there
Si
I just thought rather then the .html
something .asp or .php
I want a returnable form eventually!
Do you think theres no need for asp in there
Si
#7
It always helps to know what you want before you ask for it!
Decide excactly what you need to do with the page, then we can advise on the best way of going about it.
Incidentally, you can have a returnable form and keep that page as static HTML. You just add an .asp or .php page to process the form.
Decide excactly what you need to do with the page, then we can advise on the best way of going about it.
Incidentally, you can have a returnable form and keep that page as static HTML. You just add an .asp or .php page to process the form.
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post