JavaScript to launch the browser Favorites window to bookmark the current page.
function bookmarkThisSite(url, bookmarkName)
{
if (sidebar)
{
sidebar.addPanel(bookmarkName, url,"");
}
else if( document.all )
{
external.AddFavorite(url, bookmarkName);
}
else if( window.opera && window.print )
{
return true;
}
else
{
return true;
}
}
My shared items
Thursday, August 30, 2007
"Add To Favorites" Dialog in JavaScript
Labels: AddToFavorites, JavaScript
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(15)
-
▼
August
(8)
- "Add To Favorites" Dialog in JavaScript
- The JavaScript Programming Language
- How Do I Get Paths and URL fragments from the Http...
- DLL Register And UnRegister in Mouse Context Menu
- Client-Side JavaScript Reference
- Delegates and Events in C# / .NET
- enum at C# Online.NET (CSharp-Online.NET)
- RegExLib.com Regular Expression Cheat Sheet (.NET ...
-
▼
August
(8)
No comments:
Post a Comment