View Single Post
  #1 (permalink)  
Old June 26th, 2003, 04:14 AM
attipa attipa is offline
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Asp.net Imagemap function

Hello,

I am making a website right now and would like some help on a function for the ImageMap command. Is there anyway, I can point an id number from my database to open up a specific image in that imagemap? This is what I mean:

if productid=1
   open(image1.jpg)
elseif product=2
   open(image2.jpg)
elseif product=3
   open(image3.jpg)
...

Any help would be greatly appreciated. Thanks in advance.