Occasionally on a foreign station, favorite:
The script code is as follows:
<
Script
Type
= "Text / JavaScript"
>
FUNCTION
Addbookmark () {
VAR
Nome_sito
=
"
NAPYFAB.COM
"
;
VAR
URL_SITO
=
"
http://www.napyfab.com
"
;
IF
((Navigator.Appname)
==
"
Microsoft Internet Explorer
"
)
&&&&
(PARSEINT (Navigator.AppVersion)
> =
4
)) WINDOW.EXTERNAL.ADDFAVORITE (URL_SITO, NOME_SITO);
Else
IF
(Navigator.Appname
==
"
Netscape
"
) WINDOW.SIDEBAR.ADDPANEL (Nome_sito, URL_SITO, '');
Else
Alert
"
Sorry! Cann't Add this site to your favorite !.
"
}
Script
>
The calling method is as follows:
<
a
HREF
= "#"
Onclick
= "Addbookmark ()"
>
Add to Favorites
a
>