• hey all!

    I’m looking for a way for a guest (not registered user)
    to bookmark his/her current location of the page.

    My site has about 6 very long pages of text. I don’t want
    to have the guest scroll and scan the whole page to see
    where he/she left and now wants to continue reading.

    is there a way to do this?? 😛

Viewing 2 replies - 1 through 2 (of 2 total)
  • No, other than to offer instructions on how to bookmark a page on various browsers. If someone is competent enough to get to your website, they’re most likely able to favorite/bookmark a page.

    You could use this javascript, but it’s only good in IE, Firefox, and Opera (meaning it’s not good and there’s no one-size-fits-all solution to your issue, or plugin that will resolve your issue):

    <script type="text/javascript">
        function CreateBookmarkLink(){
        var title = document.title;
        var url = document.location.href;
    
        if(window.sidebar){
        /* Mozilla Firefox Bookmark */
        window.sidebar.addPanel(title, url, "");
        }else if(window.external){
        /* IE Favorite */
        window.external.AddFavorite(url, title);
        }else if(window.opera && window.print) {
        /* Opera Hotlist */
        alert("Press Control + D to bookmark");
        return true;
        }else{
        /* Other */
        alert("Press Control + D to bookmark");
        }
        }
        </script>
    
        <a href="javascript:CreateBookmarkLink();">Add to Favorites/Bookmark</a>
    Thread Starter TDR

    (@tdr)

    hmzz that’s a real bummer.
    I guess I’ll have to break up each page in several small pages then.
    thnx for the script!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘let user bookmark current location on page?’ is closed to new replies.