Hi,
I have a piece of code which, initially clicks a URL in the "target_frame" frame window. This changes the page to bring up a print menu.
I would then like the function, i have below, to click another URL in the same "target_frame" frame.
The click script and function, looks like....
<script = "Javascript">
function press_export()
{
parent.target_frame.document.links[3].href;
}
</script>
<a href ="about:"
onMouseOver=" status = 'links to target frame. '; return true;"
onMouseOut="status = '' "
onClick="this.href=parent.target_frame.document.links[5].href; setTimeout('press_export()',1500);" target="target_frame";
>Print Disco Report
However the press_export link never gets pressed. how can this be?
thanks for any help
Nunners
I have a piece of code which, initially clicks a URL in the "target_frame" frame window. This changes the page to bring up a print menu.
I would then like the function, i have below, to click another URL in the same "target_frame" frame.
The click script and function, looks like....
<script = "Javascript">
function press_export()
{
parent.target_frame.document.links[3].href;
}
</script>
<a href ="about:"
onMouseOver=" status = 'links to target frame. '; return true;"
onMouseOut="status = '' "
onClick="this.href=parent.target_frame.document.links[5].href; setTimeout('press_export()',1500);" target="target_frame";
>Print Disco Report
However the press_export link never gets pressed. how can this be?
thanks for any help
Nunners