Bookmark / Add to Favorites / Toolbar Only

Hello.  We have a "Bookmark Us" button on our site.  When the user clicks this, we need a way to have the site added to the bookmark toolbar or favorites toolbar automatically.  Has to be the toolbar, not the menu.  Or both.  Is there a way to do this using Javascript / jQuery?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Clement PCommented:
Place the following script into your <head>section in the page where you need it:

<script type="text/javascript">

function bookmark_us(url, title){

if (window.sidebar) // firefox
    window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
    var elem = document.createElement('a');
else if(document.all)// ie
    window.external.AddFavorite(url, title);

Next, place the following code in order to show the link that opens browser's bookmark window:

<a href="javascript:bookmark_us('http://your web link goes here','title goes here')">Bookmark us!</a>

That is all! You have now a full working bookmark us script

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
varimerewebAuthor Commented:
After testing, this only works in Firefox and displays a dialog box asking for specifics (as far as bookmark placement, etc.).  Is there a way to have it automatically added to the browser toolbar without a dialog box?
varimerewebAuthor Commented:
After researching, it appears there is no way to add bookmarks by bypassing the browsers' prompt box.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.