Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Question regarding a bookmark script

Reply
Thread Tools

Question regarding a bookmark script

 
 
Cat
Guest
Posts: n/a
 
      02-09-2007
Hello,

maybe someone can help me here..

I was looking for a bookmark script to implement on my website.
Actually I always thought such scripts are pretty obsolete but
I do have a frame page (and intend to keep it .

Now bookmarking the single pages should not be a problem, each
one can be called up with a link like say 123.com/index.html?subpage,
but somehow lots of folks just do not get it and end up bookmarking
the main homepage instead.

To make it easier for those people I wanted to add a script
that would add their bookmark for them and found this one on
http://www.dynamicdrive.com/:

---------------------------------------------------
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
--------------------------------------------------

It works fine so far and even saves a specific subpage within
its frameset but it will open the bookmarked pages in
Firefox/Firebird in the sidebar only which is very annoying.
I would vastly like to open the pages in a normal window.

But how?

Since my javascript skills are very very limited I just cannot
get the script to work otherwise.

My attempts to find another script to work for Mozilla were
fruitless (Strg-D will only save the main frameset, not the
specified subpage within the frameset).

Please, can anyone help here? Or maybe point to some script
that might do the trick?

Many thanks,

Cathy
 
Reply With Quote
 
 
 
 
Cat
Guest
Posts: n/a
 
      02-14-2007

Not anyone??

Well, maybe it just doesn't work..

Best,

Cathy
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Licence question regarding GPLv2 Ruby script anonymous Ruby 3 07-09-2007 08:15 AM
Dumb bookmark question Bob Newman Firefox 0 01-25-2007 10:36 PM
BOOKMARK SORTING QUESTION :) Pastor Dave Firefox 4 06-22-2005 05:09 PM
BOOKMARK SORTING QUESTION :) Pastor Dave Firefox 0 06-21-2005 05:31 AM
Question about Munged URL and bookmark / favourite Dominic ASP .Net Mobile 2 12-26-2004 01:42 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57