homepage Welcome to WebmasterWorld Guest from 54.167.177.180
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
js add to favourites bookmark
markd

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 79 posted 10:01 pm on Nov 1, 2001 (gmt 0)

As you can see from a couple of messages in this thread, I've been trying to find an 'add to favourites' bookmark that will work with Netscape.

I think I have found an answer (well, sort of) on the Macromedia site, contained within their 'extensions' for Dreamweaver.

Sorry for the 'longhand link', but the pages containing the script are dynamically generated:

www.macromedia.com > Resources > Dreamweaver resources > select 'all categories > on the first page is an extension called 'add to faves'.

You have to 'register' with the site to download the extension.

It works by creating a link which calls a Javascript which with IE opens the favourites menu direct (just like the usual 'addfavourite' option) but for Netscape it opens a small pop-up window containing the page to be bookmarked plus some guidance text saying something like... 'to bookmark this page use ctrlD or the bookmark menu in this window...'.

It is a means to an end, but I can see a couple of limitations:

Firstly, it seems as though the actual link has to be placed at the top of the HTML page. If this isn't done, the page content itself obscures the guidance text potentially leaving the user a bit confused as to what has just happened!

Secondly, it bookmarks an individual page only rather than a frameset.

Because I am extremely 'Java challenged' I wondered if it could be configured to use an 'absolute' external URL to bookmark a frameset or if the script could be amended to allow placement of the 'add to favorite' link anywhere on the page.

If you good people find this of use, I would be extremely grateful for guidance on how to amend the script to work as described above.

I was considering pasting the script into a posting, but wasn't sure if this was ethical as I am obviously not the author of this extension.

all the best

Markd

 

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 79 posted 1:06 am on Nov 2, 2001 (gmt 0)

Unfortunately, there is no way to create an automatic bookmark link that works in any other browser except IE on Windows. The best you can offer is give the non-IE user some instructions.

Here's the reason: Microsoft wrapped the IE browser into the the Windows operating system. They even got sued for it. But because of this OS integration, Microsoft's jScript (their proprietary version of JavaScript) has access to all kinds of things that other browsers don't -- including Favorites. It also means several big security holes, like the one that lets you catch the Nimda virus just from visiting a web page with IE.

I much appreciate your quest. Many of us have been on it -- but the news has always been the same.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved