|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Header for ASP
Here's my situation. I'm creating a bunch of ASP pages and want a commom header to be included in all. In this header, I want the name of the page included. This is the cheap way that I'm currently doing it:
<!--#include file="headstart.htm"--> Page Title <!--#include file="headend.htm"--> where headstart.htm is basically: <table border=0 width=600 align="center"> <tr> <td width=20%> <img src="blah.jpg"></img> </td> <td width=80% align="center"> Site Name<br> and headend.htm is basically: </td> </tr> </table> What is the cleanest way to call a header that will be passed the title of the page and have it inserted? Please let me know if this is unclear. Thanks, Anthony |
|
#2
|
|||
|
|||
|
Why not write a function? Or two for that matter?
PHP Code:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Header for ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|