The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Highlight Effect when Selected

u can see on the left is the list of PIZZA stors. Once u select a PIZZA store, its map is shown at the right. ON THE LEFT SIDE THAT PARTICULAR PIZZA STORE IS HIGHLIGHTED WITH LIGHT GRAY COLOR. AND WEHN U SELECT ANOTHER STORE, THEN THIS WIL BECOME NORMAL AND THE NEW SELECTED ONE WILL BE HIGHLIGHTED.

Hi zeeshanhashmi, this seems like a reltively straight forward effect to achieve. What part exactly are you having trouble with? Do you have somewhere you would like to implement this in your own site? Can you post an example of where you want it applied and I'll take a look for you.

I have created an example for you zeeshanhashmi, if you have a look through the code you will see this was easily created. you could take this further and add all of the elements in to an Array and loop through them, but I figured this would give the most easy to understand example.

Hi zeeshanhashmi, if you look at the code in my example page you will see it is an extremely simple effect. If you can post a link to the page you want this applied to, or some code for me to work with, I'll see what I can do.

I'm having a quite similar problem and J Windebank's example has helped me a lot already but if someone could take it even further and tell how to make that array thing to work as I'm trying to highlight a selected thumbnail in a gallery (many galleries with varying number of images).