Forums
This topic is locked
Display Image in Web Site
Posted 04 Dec 2003 18:06:54
1
has voted
04 Dec 2003 18:06:54 Miguel Moura posted:
Hello,the homepage of my web site is index.html and its domain is www.27lamps.com.
I want to insert a picture in my main page depending of how the visitor
arrived to my web site.
1. If a visitor arrived to my web site by writing www.27lamps.com that
picture will be my logo.
2. If a visitor arrived to my web site by clicking a link in my clients web
page this image will be my client's logo.
All the logos will be in an directory of my web site.
I can use Database Access and ASP.
Can somebody help me out?
Is there an extension for this?
Thank You Very Much,
Miguel
Replies
Replied 11 Dec 2003 23:11:17
11 Dec 2003 23:11:17 stephanie callaway replied:
I don't know asp ( i code in CF) but the logic behind it would be:
1) have your clients link contain a variable
2)Put an "if" statement around the image stating that if the variable is defined then show the client logo, if not they your logo
1) have your clients link contain a variable
2)Put an "if" statement around the image stating that if the variable is defined then show the client logo, if not they your logo