compatability

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phillip Parr

    #1

    compatability

    This is a repost, as no one could/decided to help me, and it's still a
    problem I have!

    I'm having a little problem which is bound to be simple to solve but I just
    can't find the answer.

    I have a file containing...

    <iframe name="submitWin dow" src="dochat.php "></iframe>
    <iframe name="refreshWi ndow" src="chatupdate .php"></iframe>

    and a section from the dochat.php file...

    parent.document .refreshWindow. location.reload ();


    So basically, the structure is i'm using a page in an iframe to reload a
    page in another iframe which both have the same parent. This code works fine
    in MSIE but I get the following error in netscape:

    Error: parent.document .refreshWindow has no properties
    Source File: dochat.php
    Line: 9

    If anyone can tell me what I need to do to make it work in netscape I'd be
    very happy!

    Thanks in advance :)



  • ZER0

    #2
    Re: compatability

    On Fri, 26 Nov 2004 13:07:53 +0000 (UTC), Phillip Parr wrote:

    [cut][color=blue]
    > I have a file containing...
    >
    > <iframe name="submitWin dow" src="dochat.php "></iframe>
    > <iframe name="refreshWi ndow" src="chatupdate .php"></iframe>[/color]
    [color=blue]
    > and a section from the dochat.php file...
    >
    > parent.document .refreshWindow. location.reload ();[/color]
    [cut][color=blue]
    > If anyone can tell me what I need to do to make it work in netscape I'd be
    > very happy![/color]

    parent.refreshW indow.location. reload();

    --
    ZER0://coder.gfxer.web-designer/

    ~ La vita e' una tempesta, ma prenderla nel culo e' un lampo.
    (B. Grillo)

    Comment

    • Phillip Parr

      #3
      Re: compatability

      wow, that's great! Can't believe it was that simple. Fixing that has arisen
      more errors,:

      document.submit Window.chatForm .say.value=docu ment.userInput. say.value;

      That's in the parent window. Trying to set a value in the iframe form.
      What's wrong with that? I've tried removing document, adding
      forms['chatForm'] etc... so what have i missed this time?

      Phil


      "ZER0" <zer0.shock@lib ero.it> wrote in message
      news:1sarcalddk mwc$.dlg@ID-171124.news.ind ividual.net...[color=blue]
      > On Fri, 26 Nov 2004 13:07:53 +0000 (UTC), Phillip Parr wrote:
      >
      > [cut][color=green]
      >> I have a file containing...
      >>
      >> <iframe name="submitWin dow" src="dochat.php "></iframe>
      >> <iframe name="refreshWi ndow" src="chatupdate .php"></iframe>[/color]
      >[color=green]
      >> and a section from the dochat.php file...
      >>
      >> parent.document .refreshWindow. location.reload ();[/color]
      > [cut][color=green]
      >> If anyone can tell me what I need to do to make it work in netscape I'd
      >> be
      >> very happy![/color]
      >
      > parent.refreshW indow.location. reload();
      >
      > --
      > ZER0://coder.gfxer.web-designer/
      >
      > ~ La vita e' una tempesta, ma prenderla nel culo e' un lampo.
      > (B. Grillo)
      >[/color]


      Comment

      • ZER0

        #4
        Re: compatability

        On Fri, 26 Nov 2004 14:05:33 +0000 (UTC), Phillip Parr wrote:
        [color=blue]
        > wow, that's great! Can't believe it was that simple. Fixing that has arisen
        > more errors,:[/color]
        [color=blue]
        > document.submit Window.chatForm .say.value=docu ment.userInput. say.value;[/color]

        submitWindow.do cument.chatForm .say.value=docu ment.userInput. say.value;
        [color=blue]
        > What's wrong with that? I've tried removing document, adding
        > forms['chatForm'] etc... so what have i missed this time?[/color]

        The right order.

        --
        ZER0://coder.gfxer.web-designer/

        ~ You don't have to be crazy to be a webmaster. But it helps.

        Comment

        • Phillip Parr

          #5
          Re: compatability

          Thanks for your help, all works great in ie and netscape now :D

          Phil

          "ZER0" <zer0.shock@lib ero.it> wrote in message
          news:fqtg5buyq9 v6.dlg@ID-171124.news.ind ividual.net...[color=blue]
          > On Fri, 26 Nov 2004 14:05:33 +0000 (UTC), Phillip Parr wrote:
          >[color=green]
          >> wow, that's great! Can't believe it was that simple. Fixing that has
          >> arisen
          >> more errors,:[/color]
          >[color=green]
          >> document.submit Window.chatForm .say.value=docu ment.userInput. say.value;[/color]
          >
          > submitWindow.do cument.chatForm .say.value=docu ment.userInput. say.value;
          >[color=green]
          >> What's wrong with that? I've tried removing document, adding
          >> forms['chatForm'] etc... so what have i missed this time?[/color]
          >
          > The right order.
          >
          > --
          > ZER0://coder.gfxer.web-designer/
          >
          > ~ You don't have to be crazy to be a webmaster. But it helps.
          >[/color]


          Comment

          • ZER0

            #6
            Re: compatability

            On Fri, 26 Nov 2004 16:52:54 +0000 (UTC), Phillip Parr wrote:
            [color=blue]
            > Thanks for your help, all works great in ie and netscape now :D[/color]

            you're welcome. :)

            --
            ZER0://coder.gfxer.web-designer/

            ~ Alcune persone sono ancora vive per il semplice motivo che e'
            illegale ucciderle.

            on air ~ "Maki Kimura - Beyond The Bounds"

            Comment

            Working...