Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 must be silly (javascript)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

paco
Junior Member

Spain
187 Posts

Posted - 05 November 2001 :  05:16:51  Show Profile
I have this piece of code and I get a Object does not support this property or method runtime error.

The problem is with the "add to favorites" code, the rest is ok.

<a href="javascript:window.external.addToFavorites('aa','bb')" title="Agregar a favoritos"
onMouseOver="return change('favA','fav',1)"
onMouseOut="change('favA','fav',0)" >
<img name="favA" width=24 height=24 border=0 src="<%=StrMSBaseUrl + "/images/fav_u.gif"%>"></a>

Thanks,

Paco

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 05 November 2001 :  08:21:56  Show Profile  Visit Kat's Homepage
isn't it
'window.external.AddFavorite(location.href, document.title);'
?

rather than addToFavourites?

KatsKorner
Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 05 November 2001 :  09:18:34  Show Profile
I told you it had to be silly.

Thanks Kat.


Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 05 November 2001 :  09:28:25  Show Profile  Visit Kat's Homepage
Not a problem. Anytime Paco (that is if I know the answer of course!)

KatsKorner
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07