Hello Richard
The code I presented above and reproduced below (with the onmouseover section) is already a subsection of a main function which is called / run automatically by another part of the code.
"<div style=' top: "+ yy +"px; left: "+ xx+"px; position: absolute; z-index: 1; visibility: show;'><table><tr><td align=left><img src='"+icon+"' border=0 /><br><b><a href='' onmouseover='javascript:myfunctionname(myfunctionparameters);' >"+name+"</a></b></td></tr></table></div>";
I need to change the code so when the main function runs then this subsection calls / runs myfunctionname(myfunctionparameters) without relying on any mouse movement, mouseover etc. My only problem is trying to work out the correct syntax to use.
So instead of onmousever= I need go= or start= or call= or run= or something else?
Regards
Active