+ Reply to Thread
Results 1 to 7 of 7

Thread: Bookmark this page BUTTON
      
   

  1. #1
    Langlois's Avatar
    Langlois is offline First Sergeant
    Join Date
    Jan 2006
    Location
    Jersey (Channel Islands)
    Posts
    74

    Question 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.

  2. #2
    Langlois's Avatar
    Langlois is offline First Sergeant
    Join Date
    Jan 2006
    Location
    Jersey (Channel Islands)
    Posts
    74

    Default 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.

  3. #3
    AmaDee is offline Colonel
    Join Date
    Jun 2006
    Location
    Stone Mountain, GA
    Posts
    851

    Default Re: Bookmark this page BUTTON

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

  4. #4
    Langlois's Avatar
    Langlois is offline First Sergeant
    Join Date
    Jan 2006
    Location
    Jersey (Channel Islands)
    Posts
    74

    Default Re: Bookmark this page BUTTON

    Glad my ramblings have been of use to someone :)

  5. #5
    davehurst is offline Second Lieutenant
    Join Date
    Feb 2006
    Location
    wigan, uk
    Posts
    112

    Default Re: Bookmark this page BUTTON

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

  6. #6
    Stacym is offline Corporal
    Join Date
    Jan 2008
    Posts
    14

    Default Re: Bookmark this page BUTTON

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

    Thanks!

  7. #7
    Meanderer's Avatar
    Meanderer is offline Major
    Join Date
    Aug 2007
    Location
    Collingwood, Ontario, Canada (formerly from NSW Australia)
    Posts
    323

    Default Re: Bookmark this page BUTTON

    Quote 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49