Announcement

Collapse
No announcement yet.

is there a way to add a BOOKMARK ME button?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Well, if I had only read your post #6 instead of just skimming it, I would have seen we were using two different scripts

    This is the script I have used successfully.

    Code:
    <script type="text/javascript">
    
    /***********************************************
    * Bookmark site script- &#169; Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    function bookmarksite(title, url){
    if (document.all)
    window.external.AddFavorite(url, title);
    else if (window.sidebar)
    window.sidebar.addPanel(title, url, "")
    }
    
    </script>
    Try this in the header, with the button code given above in post #7 in the body.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #17
      a little frustration...

      Bill:

      I appreciate all the help. Everything I have tried gets an error and it is probably something obvious... The button code works. the script is where the error is occurring.

      I am going to take a break from it today. will revisit it later. i now have it loaded on to a trial site: http://trials.actinic.com/trials/trial21473/

      I will be moving it to prod this week...

      thank you very much,

      randy

      Comment


        #18
        As always, for JavaScript problems, look at the page using Fierfox and use its Tools / JavaScript Console to get meaningful error messages.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #19
          Hi, this wont give you a button, but it will work with text or images(so you can crate an image button yourself). To try create a new brochure fragment page under home and cut and paste the code directly into the fragment(just as it is)

          !!<<script type="text/javascript">

          /***********************************************
          * Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
          * This notice MUST stay intact for legal use
          * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
          ***********************************************/

          function bookmarksite(title, url){
          if (document.all)
          window.external.AddFavorite(url, title);
          else if (window.sidebar)
          window.sidebar.addPanel(title, url, "")
          }

          </script>>!!

          !!<<a href="javascript:bookmarksite('DATARAX Storage Equipment Catalogue', 'http://www.datarax.co.uk')"><font color="Red" size="2">...Click here to bookmark us! </strong></a></font>>!!

          Change the text in red to suit your own info.
          Rob Lane
          www.DATARAX.co.uk

          Comment


            #20
            Randy, my apologies - the opening quotes are missing from the onclick in the button code I posted, it should read
            Code:
            <BUTTON TYPE=button ID=Marker ONCLICK="javascript:bookmarksite('Egyptian Wonders', 'http://www.egyptianwonders.co.uk')">Add this site to your Bookmarks</BUTTON>
            Bill
            www.egyptianwonders.co.uk
            Text directoryWorldwide Actinic(TM) shops
            BC Ness Solutions Support services, custom software
            Registered Microsoft™ Partner (ISV)
            VoIP UK: 0131 208 0605
            Located: Alexandria, EGYPT

            Comment


              #21
              Success!

              The Bookmark Me button is now functional. I wanted to put it in the Main template, but never could even get the button to appear unless I put the code in the desciption with the special caharacters to indicate instream html to actinic. Even then, it would just get error. I was able to get it to work in the Brochure template...

              This will have to do for now...

              Many thanks to you for providing me the answers. I really hope I can return the favor someday...

              I wish you a great day followed by many more!

              Sincerely,

              Randy

              Comment


                #22
                Randy,

                For the Brochure pages, you will have added the script and button code to Act_BrochurePrimary.html - to get the same effect on the catalog and product prices, make exactly the same changes to Act_Primary.html (ie, put the script and button code in the same place on both templates to keep things consistent for visitors).
                Bill
                www.egyptianwonders.co.uk
                Text directoryWorldwide Actinic(TM) shops
                BC Ness Solutions Support services, custom software
                Registered Microsoft™ Partner (ISV)
                VoIP UK: 0131 208 0605
                Located: Alexandria, EGYPT

                Comment

                Working...
                X