3.0.0

Changing Link Images

Hi,
Does anyone know how to change a link image once the user has click on that particular image.??
for example if image 1 is clicked then image 2 should be displayed as well as the linked page but clicking on image 2 should only display the linked page and not change the image.
im trying to implement the color change on visited image links. i can get the image to change the color (display diff colored image) once clicked but the second image is no longer an active link....

Please Help.
Bilal
August 17,
This is a bit off topic for this web site but if you are using CSS, and you should be, don't use an IMG for the link. Instead use a normal <a tag and for the CSS set a background-image for the :link of that a tag, that would be your image 1. And for the :visited psuedo class use your image 2 for the background-image. I have not tested this but it should work. Make sure to declare :link before you declare :visited in your CSS file. You might need to set the height and width of the tag in order to show the entire image.
Jim Hunter
August 18,
I will try to implement that and hopefully i can get it to work.

Thanks for your reply.
Bilal.
August 18,
Where do i find the answers to these quetions
xXx
October 18,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.