Thanx Gregory
xxx
Abbie
----- Original Message -----
From: <Gregory_Griffiths@c...>
To: "HTML Code Clinic" <html_code_clinic@p...>
Sent: Thursday, October 05, 2000 11:51 AM
Subject: [html_code_clinic] RE: favorites
> I'd enclose the code in a function
>
> <SCRIPT=Javascript>
> function bookmark()
> {
> var url = "http://agentry.net/";
> var title = "The Agentry";
>
> if ((navigator.appName == "Microsoft Internet Explorer") &&
> (parseInt(navigator.appVersion) >= 4))
> {
> window.external.AddFavorite (url,title);
> }
> else
> {
> var msg = "Don't forget to bookmark this Site!";
> if(navigator.appName == "Netscape")
> {
> msg += " (CTRL-D)";
> }
> alert(msg);
> }
> }
> </SCRIPT>
>
>
> and then you can use <a href="javascript:bookmark()">Bookmark</a>
>
> > -----Original Message-----
> > From: abbie@n... [mailto:abbie@n...]
> > Sent: 05 October 2000 11:36
> > To: abbie@n...; html_code_clinic@p...
> > Subject: [html_code_clinic] RE: favorites
> >
> >
> > Thankyou Mislan, Rick
> >
> > I don't suppose you could tell me what to put in the href tag: <a href
> > ??????>add to favorites</a>
> > could you?
> >
> > thanx, abbie