[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2 ways to load stuff(was Re: writing to frames)
On Mon, 4 Mar 1996, Brian Karlak wrote:
> On Mar 4, 8:21pm, chandy@lunatech.com 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?
>
> Two ways, HTML & JS:
>
> HTML: <A HREF="...." TARGET="OtherFrameName">
>
> JS: top.frames['OtherFrameName'].document.location.href = "....."
>
> Brian
I would like to get a few comments about the various methods of
triggering a page load via JS. Most of you folks seem to have
settled upon using the above technique:
blah.blah.blah.location.href=Full_URL_String
I found that in some of the latter Beta versions of Netscape's 2.0 browser
the loading of pages was not actually triggered by the setting of the href.
I had to use the heretofore unexpounded-upon-in-the-docs "assign" method:
blah.blah.location.assign(Full_URL_String)
Anyone know or have a feeling about whether both will be acceptable
techniques in the "long-run"?
Seems to me there ought to be a way to set the href without actually
triggering a loading of the page...hence, I assumed, the .href=""
capability provided for that need.
Any thoughts?
JP
______________________________________________________________
Jon Gorrono (Gorroño) 1400-M Surge II
New Media Programmer/Analyst UC Davis
Creative Communication Services Davis, CA 95616
A Division of Information Technology (916)752-0218;FAX-4655
University of California at Davis jpgorrono@ucdavis.edu
Owner:Digital Video Discussion List DIGVID-L@UCDAVIS.EDU
"Dogs are insecure and neurotic and agitated, and generally in
the throes of some unbecoming emotion,
and I like them." - Adair Lara
______________________________________________________________
--------------------------------------------------------------------
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/