|
|
Feedback on: Re-directing access within Frames #2
irt.org | About | Feedback | 1804 [ previous next ] Feedback on: Sent by Worth: Comments: 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
|
-- div -->
|