Bookmark this page BUTTON

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Langlois
    First Sergeant

    • Jan 2006
    • 74

    Bookmark this page BUTTON

    Hello all. Long time since I have posted.

    I have been trying to add some code to the html of an 'advanced button' in order for the 'OnClick' action to become a 'bookmark' function. I have been trying for ages and it's driving me nuts!

    If anyone has done this or has any ideas as to how to do it please let me know and I will be your best friend for life!

    I hope this makes sense to you - I don't know how else to explain what I am trying to do.

    Thanks in advance.
  • Langlois
    First Sergeant

    • Jan 2006
    • 74

    #2
    Re: Bookmark this page BUTTON

    Okay, this seems really sad answering my own question, but just in case anyone else is having the same problem, I have found the solution:

    In the 'advanced button' 'properties' box, do the following:
    1. In Button Type select OnClick
    2. In OnClick Action select Execute Java Script function
    3. In OnClick Value type:
    window.external.AddFavorite(location.href, document.title);

    This will create a button that, when clicked, will display the 'add to favorites' pop-up box with the page title and URL already filled in.

    Comment

    • AmaDee
      Colonel

      • Jun 2006
      • 851

      #3
      Re: Bookmark this page BUTTON

      Thanks, though. I'm going to use it.

      Comment

      • Langlois
        First Sergeant

        • Jan 2006
        • 74

        #4
        Re: Bookmark this page BUTTON

        Glad my ramblings have been of use to someone :)

        Comment

        • davehurst
          Second Lieutenant

          • Feb 2006
          • 122

          #5
          Re: Bookmark this page BUTTON

          I only have 1 prob with all this. Where is the advanced button ???????????
          Sorry for being dim.
          Dave

          www.eleganceweddingcarhire.com

          Comment

          • Stacym
            Corporal

            • Jan 2008
            • 14

            #6
            Re: Bookmark this page BUTTON

            I'm glad you were rambling out loud because I had that exact problem.

            Thanks!

            Comment

            • Meanderer
              Major

              • Aug 2007
              • 324

              #7
              Re: Bookmark this page BUTTON

              Originally posted by davehurst View Post
              I only have 1 prob with all this. Where is the advanced button ???????????
              Sorry for being dim.
              Don't know if you found it yet?
              Menu>Insert>Form>Advanced Button
              Also icons on menu bar with ABC on it.

              Cheers
              Rick

              Comment

              Working...
              X