|
-
Tiger Shark
Creating the title of a page with ASP...
For my website, I use SSI to include my header and footer asp files. I have the rest in the middle. I want to create different titles for each page, but the title tag is in my header file so it has to be the same all of the time. I would like to use ASP to solve this. In the header I was thinking of putting in this code:
<title>
<%
Response.write title
%>
</title>
And in my page this code:
<%
Dim title="News"
Response.write title
%>
But it doesn't work because the variable is declared after the time I want to write it. How should I go about this? Thanks.
My Webpage: http://www.andyknotts.com (Give me feedback)
My specs:
----------------
AMD Athlon XP 2500+ OC'd to 2100MHz
Abit NF7 @ 205 MHz FSB
1.5Gigs PC3200 RAM @410Mhz
Turtle Beach Santa Cruz
Altec Lansing 641's
128meg NVidia 6600GT AGP
7200rpm 120G w/ WinXP pro
5400rpm 40G w/ Gentoo Linux
NEC DVD/RW
Lite-on 40x12x48 CDRW
19" Hyundai L90D+ LCD (amazing  )
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
|
|