I am trying when user clicks on one of the images seen here
http://techavid.com/design/test.html
That the image in background is only thing focused. All icons are greyed out until user clicks and when they do the colored version of the icon is only showing. Currently the color image of each icon appears behind the greyed out version when mouseover not active.
Can this be done?
thank you,
paul
Please post the code that applies to this problem. That way the people here can respond faster and better without having to dig through your site to find out what’s relevant.
Anyway, here’s a simple alternative to what you’re trying to do:
HTML
CSS
This gives you the hover effect. Do the same for other id’s. Add some padding so that the link is wide enough to display the image in the background. Or use
display="block"and width/height attributes.Now when someone clicks the image, give it the
activeclass that does, looking at the CSS, the same thing as the:hovereffect. If clicking the image brings you to another page, simply add it in the HTML (<a id="foo" class="active"...), if you stay on the same page, do something like this:jQuery