mattboy_slim
04-03-2003, 10:58 PM
Is it possible to dynamically name an image by the page filename.
Example:
I have the following:
<img src="images/header_body-contactus.jpg" width="300" height="25">
The filename that the above line is on is named contactus.asp. Could I replace the 'contactus' on the img src with a variable, which would look at the filename?
--------------------------------------
Thanks fellas'
Matt
Example:
I have the following:
<img src="images/header_body-contactus.jpg" width="300" height="25">
The filename that the above line is on is named contactus.asp. Could I replace the 'contactus' on the img src with a variable, which would look at the filename?
--------------------------------------
Thanks fellas'
Matt