Change Image in DIV
-
I have a DIV in my web project whose image in back ground is to changed on SelectedIndexChanged event on 3 drop down lists. All the 3 ddl's have different images associated with them. Basically those images are gif files. But i m unable to do so :( any help???:confused:
-
I have a DIV in my web project whose image in back ground is to changed on SelectedIndexChanged event on 3 drop down lists. All the 3 ddl's have different images associated with them. Basically those images are gif files. But i m unable to do so :( any help???:confused:
Create 3 css classes in you style sheet, one for each image. Change the class attribute of the div to select the image. Are you trying to change the image with javascript, ajax or postback? Can you post your code that you have tried so far?
I didn't get any requirements for the signature
-
Create 3 css classes in you style sheet, one for each image. Change the class attribute of the div to select the image. Are you trying to change the image with javascript, ajax or postback? Can you post your code that you have tried so far?
I didn't get any requirements for the signature
thanks for ur reply.. i dont want to use javascript. i can use ajax,if get any idea. and those ddl's do use postback