OK, so lets start of by noting that im more design than 'web' design, but I have been trying to learn recently - but this has just got me totally stuck!
Basically, I have a menu bar whereby all the images will have an on/off state, which is to be activated when required.
For instance, what I want to do is display a particular image when a certain page is loaded; e.g. when the Home Page is loaded, I would like the home2.gif (this is the image's ON state) to be displayed and when it is on any other page than that, the home.gif to be shown (its OFF state).
NOW...from what little I have picked up in the past few months upon HTML and ASP, you can create definitions within the page.
E.g:
<% pagetitle="homepage" %>
I have used this example in conjunction with the Response.Write() function, in the past to automatically create the title for the page, headings, etc.
But is there anyway I can use this to help me in my image display needs? Can I write such a code for each image in the nav bar which will ask itself for example:
If the pre-set 'pagetitle' value= 'homepage', then display home2.gif, else display home.gif ?
I know I've blubbered on, but Im getting really annoyed with not being about to suss this one out. ANY help would be most appriciated!
Adam
Basically, I have a menu bar whereby all the images will have an on/off state, which is to be activated when required.
For instance, what I want to do is display a particular image when a certain page is loaded; e.g. when the Home Page is loaded, I would like the home2.gif (this is the image's ON state) to be displayed and when it is on any other page than that, the home.gif to be shown (its OFF state).
NOW...from what little I have picked up in the past few months upon HTML and ASP, you can create definitions within the page.
E.g:
<% pagetitle="homepage" %>
I have used this example in conjunction with the Response.Write() function, in the past to automatically create the title for the page, headings, etc.
But is there anyway I can use this to help me in my image display needs? Can I write such a code for each image in the nav bar which will ask itself for example:
If the pre-set 'pagetitle' value= 'homepage', then display home2.gif, else display home.gif ?
I know I've blubbered on, but Im getting really annoyed with not being about to suss this one out. ANY help would be most appriciated!
Adam