I trying to find a script/code for creating a "Make us your home page" link or "Bookmark us" link for my website. I found one but it only works in Internet Explorer browser. Doesanyone know if there any that work in both Mozilla and IE? Thank you.
There is no way to make it work in mozilla. Only IE works. The same thing goes for 'bookmark this page' links.
The promotion bar that comes with the code from successpub.com is too large for how I want to use it on my site. Too bad. anyway...I found another one...but it has it's drawbacks too.. http://www.webmastercourse.com/sample-page/bookmark-java/ It has a lot of code to it, and it still doesn't work in mozilla ... but it does remind mozilla users to bookmark your site manually.. maybe it will work for some people but i'm concerned all that code will slow down the load time of my pages...oh well..i'll keep looking..
Okay...I found yet another one that works in both mozilla and IE. However, I tested it on my page in mozilla and it bookmarks fine...but when I go to my bookmarks and click on the saved page in mozilla instead of opening the full page, the browser opens only a quarter of the page..anyone know how to fix this? To see what I mean, please someone go to this page: http://www.thedailysearch.com/latenight.php and bookmark it in mozilla using the "bookmark this site" link above the menus to the right. then open your bookmarks in mozilla and try to go to the page. let me know what happens...thanks.. btw...here is the link for the bookmarking script: http://www.dynamicdrive.com/dynamicindex9/addbook.htm
I found one script (sorry, can't remember the site, do a Google search for favorites javascript opera, that should work) that bookmarks the site if you have IE, and brings up an alert window that you can reword explaining what to do otherwise. For example, "Opera: Ctrl-D to bookmark. Macintosh: Command-D to bookmark" or whatever it is. Actually, it doesn't work for me, even in IE! But I hope it's because I'm on a Mac; I haven't tested it out on a Windows yet. But that is another approach you can take; have your script pop up an alert if your user's browser can't be accessed directly by the script.
this javascript function works for me in IE and firefox and i'm using it for a site i'm developing now: the html: <a href="javascript:bookmarksite("Bookmark Title", "http://www.site.com")"> the javascript: function bookmarksite(title, url){ if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") }