I tried
<SCRIPT>
<!--
if ((navigator.appVersion.indexOf("MSIE") > 0)
&& (parseInt(navigator.appVersion) >= 4)) {
document.write("<U>
<SPAN STYLE='color:blue;cursor:hand;'
onclick='window.external.
AddFavorite(parent.location.href, parent.document.title);'>
Add this page to your favorites</SPAN>
</U>");
}
//-->
</SCRIPT>
It returns the correct values (as tested using an alert box), but I get the
error "PermissionDenied"
--
Cheers,
Trevor L.
Website:
http://tandcl.homemail.com.au
Trevor L. wrote:
> Hmm.
>
> I thought it may
>
> What do I change?
> Should this:
> AddFavorite(location.href, document.title);'>
> be this:
> AddFavorite(parent.location.href, parent.document.title);'>
> ?
>
> Steve Easton wrote:
>> Yes.
>>
>>
>> "Trevor L." <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> This doesn't work for me, but I did place it in a frame. Would this
>>> make any difference?
>>> --
>>> Cheers,
>>> Trevor L.
>>> Website: http://tandcl.homemail.com.au
>>>
>>> Steve Easton wrote:
>>>> Try this one:
>>>> Place the entire script in the location on the page where you want
>>>> the text to appear
>>>>
>>>> <SCRIPT>
>>>> <!--
>>>> if ((navigator.appVersion.indexOf("MSIE") > 0)
>>>> && (parseInt(navigator.appVersion) >= 4)) {
>>>> document.write("<U>
>>>> <SPAN STYLE='color:blue;cursor:hand;'
>>>> onclick='window.external.
>>>> AddFavorite(location.href, document.title);'>
>>>> Add this page to your favorites</SPAN>
>>>> </U>");
>>>> }
>>>> //-->
>>>> </SCRIPT>
>>>>
>>>>
>>>>
>>>>
>>>> "Lynn" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> Have searched various sites looking for ways to add a text link to
>>>>> allow the saving of a webpage to the Favourites Folder.
>>>>> ie "Click here to save to Favourites".
>>>>> Can anyone pass on their expertise on this please.
>>>
>>>
>>> I choose Polesoft Lockspam to fight spam, and you?
>>> http://www.polesoft.com/refer.html