Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: Re-directing access within Frames #2, December 01, 1998 at 09:45:11:

You are here: 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

©2018 Martin Webb