Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Adding Favorites?

Posted 15 Apr 2002 21:59:16
1
has voted
15 Apr 2002 21:59:16 M M posted:
I want to add a link on my home page that allows the page to be added to the users favorite folder?

Is it an extension that needs to be used?

Thanks,

H.

Only Dopes Use Dope

Replies

Replied 16 Apr 2002 09:15:55
16 Apr 2002 09:15:55 Ian Etherington replied:
not an extension but a simple snippet of code: for each "Add to favorites"link do this:

<a href="javascript:window.external.AddFavorite('URL of your page', 'title of your page')">Add to favorites</a>

Ian

"To start press any key", where's the any key?
Replied 16 Apr 2002 17:35:16
16 Apr 2002 17:35:16 M M replied:
Where in the code is this placed? Do I highlight the "Click Here" and place the snippet into the Link box in properties or do i place it before or after the link text...I click Behaviours and the Call Javascript was greyed out.....

Not quite sure what to do from here....

Hew

Only Dopes Use Dope
Replied 16 Apr 2002 17:41:22
16 Apr 2002 17:41:22 M M replied:
Ummmm, ok I am a fool.....
Sorry, I looked more closley at your code and saw exactly what you did...it is placed within the text....You had Add to Favorites at the end before the </a> and I was using Click here. I added your code, changed the text and presto chango it worked.

Awesome....I guess I should look before I jump!!

Great, Thanks!!

H.

Only Dopes Use Dope

Reply to this topic