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.

So, if I have this right, you want the image to stay the same as the hovered image once the link has been clicked (i.e. it won't ever change back to how it was before it was hovered over, even if it is hovered over again later).

Well, if that's what you're trying to do, I have an idea which will work, although I'm sure there are much more sophisticated ways of doing it!

The idea below is to make a variable 'clicked' which starts off as 0, but changes to 1 if a link is clicked. And the rollover only takes place if clicked = 0 (i.e. the link hasn't been clicked).

and alter all references to isimgact to include the appropriate number for linknum. And last but not least add:
onClick="click(linknumber)"
to the <a> tag of all your links, where linknumber is the number of that particular link.

Or something along those lines.
Like I said, I'm sure there's a better way, but we'll have to wait for someone a bit more experienced to enlighten us!

The thing that bothers me, If I remove the onmouseout(return to original image);

Then the onclick works, it will keep it currently as highlighted, and then your code will work perfectly, but because of the onmouseout, it will highlight the image, and then I will click on it opening up another window, but when I move the mouse to another menu image, the current image goes back to the original.

That is a run on sentance, but I hope you understand. Is there another means of onmouseout that I can use.

I don't know why that's happening for you, because when I tried out the code (with 2 menu items) hovering over a different one didn't affect the first one.
It may have something to do with the parameters in the function calls. Could you post your code (the function and a couple of the calls)? I'm pretty sure it should work.

This probably doesn't have anything to do with why it's not working properly, and you may well have already realised it, but 'click' was an extremely bad choice for a function name (which I found out when testing the script on a different browser)!
I think it must be a predefined function. Better to use 'clickit' or something...
Sorry about that.