anyone help? add bookmark link for all browsers

by lebox1
10 replies
hi all,

i figured that allowing a reader to click on a image to add a bookmark will be good..

however the scripts i found so far only works in one browser or another...

does anyone here know of one that works for all if not most browsers?

please much appreciated.
#add #bookmark #browsers #link
  • Profile picture of the author lebox1
    anyone pls?
    {{ DiscussionBoard.errors[1494041].message }}
    • Profile picture of the author WD Mino
      Hi
      users can bookmark your page by using
      ctrl D
      -WD
      Signature

      "As a man thinks in his heart so is he-Proverbs 23:7"

      {{ DiscussionBoard.errors[1494044].message }}
      • Profile picture of the author Mmfh
        I ran into a site the other day that gave you a nice icon and the script to do that. I believe it worked with all browsers.

        You might be able to search for it, maybe google using social bookmarks and go from there.

        I'll look in my history and see if I can find it. If I do I'll be back.

        Mm
        {{ DiscussionBoard.errors[1494308].message }}
        • Profile picture of the author lebox1
          thanks hope you can find it
          {{ DiscussionBoard.errors[1494411].message }}
          • Profile picture of the author lebox1
            anyone can help?
            {{ DiscussionBoard.errors[1494920].message }}
          • Profile picture of the author WD Mino
            If you use internet explorer firefox google chrome for anyone to bookmark only requires control d if you want a particular kind of bookmarking script well that is easy i will go find one for you now .....here ya go

            Courtesy of the most awesome Dynamic Drive

            <script type="text/javascript">

            /***********************************************
            * Bookmark site script- © Dynamic Drive DHTML code library (Dynamic Drive DHTML(dynamic html) & JavaScript code library)
            * This notice MUST stay intact for legal use
            * Visit Dynamic Drive at Dynamic Drive DHTML(dynamic html) & JavaScript code library for full source code
            ***********************************************/

            /* 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);
            }
            </script>

            Next take an icon or image and replace it where i show you in the following anchor tag.
            <a href="javascript:bookmarksite('Your site name here', 'Your url here')"><img border="0" src="you place your image here"></a>
            and voila a cross browser bookmark /add to favorites script

            -WD
            Signature

            "As a man thinks in his heart so is he-Proverbs 23:7"

            {{ DiscussionBoard.errors[1494923].message }}
            • Profile picture of the author lebox1
              thank you.. the other time i used this.. it did not work.. but i will try again
              {{ DiscussionBoard.errors[1495000].message }}
              • Profile picture of the author WD Mino
                Originally Posted by lebox1 View Post

                thank you.. the other time i used this.. it did not work.. but i will try again

                This script works in opera chrome ie and firefox those are the main browsers used so i don't know what else you want
                good luck
                -WD
                Signature

                "As a man thinks in his heart so is he-Proverbs 23:7"

                {{ DiscussionBoard.errors[1495382].message }}
                • Profile picture of the author lebox1
                  it is a .js file.. i guess i cant use it on my blogger blog then ? thanks
                  {{ DiscussionBoard.errors[1498148].message }}
  • Profile picture of the author CliveG
    You would need to identify the browser in use and serve up the appropriate code. Not too difficult to do - someone has probably done it already - if not head over to the programing section of the forum.
    {{ DiscussionBoard.errors[1495019].message }}

Trending Topics