Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: Re-directing access within Frames #2

irt.org | About | Feedback | 1804 [ previous next ]

Feedback on:
Re-directing access within Frames #2

Sent by
Greg Thomas on September 28, 2000 at 05:44:26:

Worth:
Very worth reading

Comments:
An excellent article, though I did n't quite understand why you needed the invisible ergi87143548 frame in your example, though this may be because I didn't read the article thouroughly enough.

However (and this is possibly the important bit), I think I've seen a small bug in your script. It uses the code

var newURL = self.location.protocol + '//' + self.location.host + self.location.pathname.substring(0,self.location.pathname.lastIndexOf('/')) + '/frameset.html';

to generate the new URL. I suspect that this won't work on HTTP servers not running on port 80 - there may be a need to add a ":portnumber" in the URL, though without a spec. for location.host I can't be entirely sure.

Supplimentary comment; I can't find a reference or a link to a reference to describe the JavaScript object model on irt.org. If I could, then I would be more sure on the above. A definition to the object model would be a huge benefit, IMHO.

Greg


Other feedback on 'Re-directing access within Frames #2' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.