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 | 58 [ previous next ]

Feedback on:
Re-directing access within Frames #2

Sent by
chris hayes on December 01, 1998 at 09:45:11: Hi !
it's me AGAIN, on same thing (newURL), hope it does not annoy you,

but anyway, i now work with:
slash1=location.pathname.lastIndexOf('/');
slash2=location.pathname.lastIndexOf('\\');

if (slash1resulting in a correct pathname with

window.location.pathname.substring(0,slash1)

(I think it could be cleaner & shorter.)
Now i need to test it on other browsers...

chris

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.