[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing to frames

At 08:21 PM 3/4/96 +0000, you wrote:
>I have a list of links in one frame. On a mouseover() event I want a brief
>description of the currently selected link to be written in another small
>frame in the user window. How can I write to other frames in a window from
>within this frame?

<A HREF="mypage.html"
onMouseover="parent.otherframe.document.write('Description for mypage.html')">

should do the trick.  Although to be safe you may want to call a function
that handles document.open() and/or document.close().

Andy Augustine

For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/