To change the Event Trigger, click the current event on the Behaviors panel and a drop menu will appear with other choices. onClick is most often used with POP-UP windows.
Many thanks for your swift reply. I had a look at the code (sorry for being so slow) and changed it there, where it stuck. Unfortunately looking at the code in more depth, I think it is all mixed up as I found the bevaiours I'm working on in one place and again replicated further up the page. so I'm going to bite the bullet and redo the page. Fingers-crossed.
I have found the offending code and deleted it.
However everytime I draw a hotspot on the map. Th page goes blank and I have to go to another view (e.g. code view) or close it down and reopen it. Then I find it has put the coordinates in the right place in the code on the page but when I go to behaviouors it puts that in the middle of the page of the code, which makes the whole map a behaviour!. So I have to manually modify it everytime.
I tried Nancy's advice but the only way I can then make the "OnClick" behaviour stick is to amend it in the code itself. This seems a bit weird to me. Anyone any thoughts?