Results 1 to 3 of 3

Thread: page error for bookmark script

  1. #1
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default page error for bookmark script

    Hi

    I am new here so if I have repeated anyone's thread or not added what I should have added please accept my apologies.

    I have just added your dynamic 'bookmark this site' script but when I test the link, nothing happens, I just see the words page error at the bottom of the screen.

    I can't see that I have done anything wrong but am wondering if it has anything to do with the fact is in in a Frontpage 2003 shared border?

    The site is http://womenaresexy.com and it is in the left border. I wonder if anyone can take a look and advise please?

    Thanks very much in advance for your help.

    Denise

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,372
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    You forgot to put the script on the page:
    Code:
    <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>
    You have the call for the script, but the script is not there. It belongs in the head of the document. Anywhere in the head is good but, if you are having trouble deciding, put it right between these two tags:

    </style>
    </head>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John

    I had put the script on but I'm afraid I put in in the header part of the left border and not the main part of the page.

    However, I don't what's happening now but I still get the same messages. Sorry to be a pain.

    Denise

Bookmarks

Posting Permissions

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