Results 1 to 13 of 13

Thread: Bookmark ( Add to favourites) button in BV
      
   

  1. #1
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,082

    Default Bookmark ( Add to favourites) button in BV

    This is an example of bookmark button. A BV advanced button is used.
    Please copy the following code in the "Between Head" Tag of your page HTML:


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

    To create the button, open your BV page, and click on the icon of the "Advanved Button" , or clicl on "Insert", --> Form --> Advanved Button. Size it as you want, and double click on it , to open the Properties Dialog Box.


    For the button properties, select the following:
    Button Type: OnClick
    OnClick Action : Execute Javascript function
    In the OnClick value field type in
    javascript:bookmarksite('site_title', 'site_URL')
    Replace "site_title" with the actual title of your site, f.e. 'Studio Navaldesign'.
    Replace 'site_URL' with the actual URL of your site (or that of the specific page), f.e. 'http://www.navaldesign.info'

    Please test the script in www.navaldesign.info/Tips/bookmarkbutton.html

    This script was found, as you can see, in Dynamic Drive at http://www.dynamicdrive.com

    Oh, it also works in preview.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  2. #2
    naghosthunter is offline Lieutenant Colonel
    Join Date
    Aug 2006
    Posts
    693

    Default Re: Bookmark ( Add to favourites) button in BV

    or this hehe...

    <a href="javascript:window.external.AddFavorite('http ://www.yourwebsite.com', name of website)" style="font-size:12px;color:#0033cc;font-family:verdana;font-weight:bold;font-style:italic;">Bookmark Us</a>

    this will make a text link called Bookmark Us the text color is currently blue you can change it by editing the color code and the font size.

    jim

  3. #3
    Windameer Farm is offline Captain
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Bookmark ( Add to favourites) button in BV

    navaldesign,

    I attempted to use this on my home page (index). I worked but I wanted to us a picture for the button and that didn't work it came out a sliver white insted may i ask what i did wrong?
    (sorry for my spelling here I have ispell but it desided not to work today just keeps asking me to redownload it.)

    Jolen
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,082

    Default Re: Bookmark ( Add to favourites) button in BV

    Redownload what ? To insert the image, just edit the button style, and use an image. The image has to have the same dimensions or it will be distorted or tilled.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    Windameer Farm is offline Captain
    Join Date
    Dec 2006
    Location
    Westren NY
    Posts
    207

    Default Re: Bookmark ( Add to favourites) button in BV

    Ok thank you I think it's working now.

    Thank you for taking the time to post back to me.

    Jolen
    www.advertise.windameer.com - Add a Banner for your site or sites for free.

    www.windameersfleamarket4u.com - Buy Sell Trade with Windameer's Flea Market 4U ( 1 Year Free for BV sites)

    www.windameer.com - Come see our Angora Goats.


  6. #6
    coffeegourmet's Avatar
    coffeegourmet is offline Second Lieutenant
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Re: Bookmark ( Add to favourites) button in BV

    Naval,

    Okay I put the script in one of my pages than went to insert, form, advanced button. the button comes up but when I double click it nothing happens. I tried it five times with the same result.
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,082

    Default Re: Bookmark ( Add to favourites) button in BV

    Please provide a link to the problematic page. Did you link the button to the script ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    Dream Lady's Avatar
    Dream Lady is offline Major General
    Join Date
    Feb 2006
    Location
    Colorado, USA
    Posts
    2,037

    Default Re: Bookmark ( Add to favourites) button in BV

    Once again, Naval....great tip. Thank you...works like a charm!
    Cindy
    Cindy Smentowski

  9. #9
    coffeegourmet's Avatar
    coffeegourmet is offline Second Lieutenant
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Re: Bookmark ( Add to favourites) button in BV

    I don't know, I took the button off since it was not doing anything!
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,082

    Default Re: Bookmark ( Add to favourites) button in BV

    Quote Originally Posted by coffeegourmet
    I don't know, I took the button off since it was not doing anything!
    You need to set the button properties to the javascript. to do so, please follow these instructions:

    For the button properties, select the following:
    Button Type: OnClick
    OnClick Action : Execute Javascript function

    In the OnClick value field type in
    javascript:bookmarksite('site_title', 'site_URL')

    Replace "site_title" with the actual title of your site, f.e. '
    Studio Navaldesign'.
    Replace 'site_URL' with the actual URL of your site (or that of the specific page, f.e. 'http://www.navaldesign.info'
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  11. #11
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,082

    Default Re: Bookmark ( Add to favourites) button in BV

    Quote Originally Posted by Dream Lady
    Once again, Naval....great tip. Thank you...works like a charm!
    Cindy
    Thank you Lady!!
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  12. #12
    coffeegourmet's Avatar
    coffeegourmet is offline Second Lieutenant
    Join Date
    Feb 2007
    Location
    Brantford, Ontario Canada
    Posts
    124

    Default Re: Bookmark ( Add to favourites) button in BV

    Naval,

    I found that I have to right click on the button and open the properties, if you do that it will work like a charm! :) Silly me! I will add it tomorrow to my php menu page, which is working like a charm too! Thanks for the great stuff! :)
    My Coffee Gourmet -I offer discounts to forum members, so pm me for the discount code!

    We Have Picnic Baskets - Your stop for picnic baskets, picnic backpacks, NCAA Logo Merchandise and more! PM me for a discount code!

    "What you not give up, No one can take from you!" - Our motto from our two month long strike this summer!

  13. #13
    acejase's Avatar
    acejase is offline Sergeant Major
    Join Date
    Nov 2007
    Location
    gold coast australia
    Posts
    87

    Default Re: Bookmark ( Add to favourites) button in BV

    thank you so much, i did forget the last bracket, but the error on page message told me it was expecting it, so i repaired and works perfect.

    i am relatively new to this and appreciate so much your easy to understand instructions

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