i am trying to disable some of the anchor tags which are linked with particular onmouseover and onmouseout events.i have written a javascript function.when i called this function on load of the document body, it is able to disable the tags.But when the body of the page has iframes, this script is unable to disable the tags with in the iframes. since "document.getelemetbytags" is not returning the anchor tags with in the iframe.so i need to put this script in the iframe source file and i need to call this function on load of the body of the iframe. since my site has so many iframes i would need to repeat this task so many times.
Without even including the script in the iframe source file, and the below code on all the iframe tags,
onload=javascript:linkdisabling function();
is there any way to make the iframes to call and access this function onload ?
please notify me if my question is unclear .