PDA

View Full Version : Bookmark button



Lisa
06-22-2005, 11:40 AM
I have looked at the tutorials but they have nothing on Bookmarking pages to Favorites.
* I want to add a bookmark to each of my pages on my Website.
* I have been advised to do it in email form
* I have selected email format, added shapes and coloured them, but I want to know how to link this to favorites.
* When my customers click on "Bookmark Now", I want my site to go to their favourites in Internet explorer. Which part to I use to make this button work. Thanks

Pablo
06-22-2005, 01:43 PM
You'll need javascript to do this:

Step 1:
Copy this code into the <HEAD> section using the Page HTML tool of BlueVoda:

<SCRIPT LANGUAGE="JavaScript">
function addbookmark()
{
bookmarkurl="http://www.bluevoda.com"
bookmarktitle="My Favorite Web Builder"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarkti tle)
}
</SCRIPT>

Step 2:
Add a link and enter this URL:
javascript:addbookmark()

Or

Add an Advanced Button (Insert|Form|Advanced Button)
Change the properties to:
Button type: OnClick
OnClick action: Execute JavaScript function
OnClick value: addbookmark()

Lisa
06-24-2005, 06:02 AM
Thanks pablo, My bookmark works perfectly.

regards Lisa

CDavis
10-26-2005, 11:06 PM
Is anyone having trouble making this work? I followed the above instructions, but when I click the bookmark link, nothing happens.

I am using the lastest version of bluevoda, so I was thinking maybe this is a bug in the new version.

Any ideas?

Bradman66
01-11-2006, 06:13 AM
I have found out that if you copy and paste the code pablo gives you above, you need to fix his typo. (Sorry Pablo)

Above, there is a space in bookmarktitle - see below
"(bookmarkurl,bookmarkti tle)"

Fix it so it says "(bookmarkurl,bookmarktitle)"

After that fix it worked for me! :-)

eyekeeper
06-05-2006, 10:57 AM
This forum is very interesting. You can have the answer before making the question:-) I suppose that it's like that for a lot of people but for me it's better and so I say it: Thanks to all of you!

bill2006
06-26-2006, 05:04 AM
Thanks Pablo, worked great !

blnda84
09-02-2006, 08:56 PM
Added your script, Pablo, to my site. Thanks so much. Works perfectly!