[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple navigation enhancements


Dotan Dimet wrote:

> Mozilla Code Base Account wrote:
> > goto top would strip the current URL of any path information and
> > load the server's root URL:
> >
> >
> http://www.xyz.com/foo/bar/some%20obscene%20path%20name/youAreHere.html
>
> > would reduce to
> > http://www.xyz.com
> >

> You can implement the "goto top" button you suggested
> right now, without touching a byte of source.
>
> One of the dumb-browser-tricks in Communicator 4 is the
> ability to create a bookmark that triggers a javascript
> snippet. I couldn't figure any use for this, until I read
> your message. "Go to top" can be done by
> (a) create a new bookmark.
> (b) edit its properties. In "location", type:
> javascript:document.location = "http://"; + document.location.hostname;
>
> (The script snippet apparently is limited to one line).
> (c) put the bookmark in the "Personal Toolbar" folder.

I have a bookmark called "root" on my personal toolbar which does just
that.  (But after hearing the "Goto Top" I changed it to "Goto Root" :)
I use it all the time.  Maybe this "bookmark" should be included with
the bookmarks netscape has by default (after installation).
On the topic of bookmarks I think it would be very classy (I know there
is a better word, but I can't think of it right now) to be able to
specify a small icon for a bookmark.  All these bookmark icons could be
kept in one small dll - with the option to use external ICOs and DLLs.
A simple icon "browse and select" could be implemented into the bookmark
editor.  For example one icon could be used for search engines, another
for personal homepages, and another could just be the default bookmark
icon.  If it sounds like I am missing something (I just got the source
and I don't know it that well) or this is just too far fetched please
let me know and I won't even attempt this.

-Dirus

"Thank you, come again."



This mailing list archive is a service of Copilotco.