Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    Can anyone with more JavaScript knowledge than me spot my problem with this page:

    http://www.thelondonhouse.co.uk/houseage/ageform.htm

    Just hit the Begin button.

    This bit of the code comes straight from the Javascript Application Cookbook from O'Reilly.

    Very many thanks.

    www.thelondonhouse.co.uk
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

  2. #2
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    Can anyone with more JavaScript knowledge than me spot my problem with this page:

    http://www.thelondonhouse.co.uk/houseage/ageform.htm

    Just hit the Begin button.

    This bit of the code comes straight from the Javascript Application Cookbook from O'Reilly.

    Very many thanks.

    www.thelondonhouse.co.uk
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Ingolstadt, Germany
    Posts
    358

    Default

    Interesting. It seems that when you use the 'location.replace' method, Opera replaces the entire window, not just the location. So the 'qFrame' variable no longer points to the window object currently inhabiting the lower frame. (In fact it doesn't point to anything at all since the original window object has been destroyed.)

    You can fix the problem by removing the aFrame and qFrame variables, and replacing them directly with 'parent.frames[1]' and 'parent.frames[2]' respectively wherever they are used, or by writing to 'location' directly rather than using replace().

    I've reported this one to Opera Software.
    IP

  4. #4
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    I'll give it a try.

    www.thelondonhouse.co.uk
    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

  5. #5
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    1,436

    Default

    Simon
    ------------------------------
    www.tlaconsultancy.co.uk
    www.bricksandbrass.co.uk
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •