Re: Click link in embeded Object trigger parent window reload?



Mark Anderson wrote:
"d d" <no_spam@xxxxxxxxxx> wrote in message
Is this what you're looking for ?
onclick="parent.location.href='http://example.com';"
Thanks. Having started out from a context of
> frames/iframes I'd headed down quite the wrong path.
However, it's not quite the solution - it works in Safari & Firefox but IE (v6) loads the called page into the clicked <object>. Is this an IE bug or is some conditional syntax needed for different UAs?
Mark

Hard to comment without seeing the code, but maybe
try using top.location.href instead.

~dd
.



Relevant Pages

  • Error help
    ... The CLR has been unable to transition from COM context 0x1b1f20 to COM ... processing a very long running operation without pumping Windows ... when it loads up, as it loads an array from a text file, something like ... Dim openFileDialog1 As New OpenFileDialog ...
    (microsoft.public.dotnet.languages.vb)
  • Import JPEG progress dialog gets stuck
    ... In normal operation my subdatasheet has an On Current event that loads ... loading the image, then it vanishes. ... right-clicks (context menu) on another record other than the current ...
    (microsoft.public.access.formscoding)
  • Re: Airplane II
    ... "Airplane", they even managed to change the context of some jokes. ... Loads of times. ...
    (uk.media.tv.misc)
  • Re: Choice of Internet Persona
    ... I'm sure loads of them would be pleased to meat you ... I've read reports of prison life. ... failing to read in context. ...
    (rec.gambling.poker)
  • Re: Kirks group is a clone of RMCR with an important exception
    ... currently reading in context) the HTML used (<PRE tags) results in ... loads of whitespace and big gaps between lines of text. ...
    (rec.music.classical.recordings)