Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Icon with Favorites


Message #1 by KATHLEEN.M.WHALEN@c... on Mon, 1 Oct 2001 14:52:26 -0400
http://www.msdn.microsoft.com/workshop/author/dhtml/howto/Shortcuticon.asp
it only works in EI



--- KATHLEEN.M.WHALEN@c... wrote:
> 
> 
> 
> 
> I recently found a script that saves my URL into a
> persons
> favorites when
> a link is clicked.  On the page where I found this,
> it also
> added a
> personalized icon within my favorites list.  The
> instructions
> didn't
> include anything about adding an icon.  There was
> nothing
> evident when I
> viewed the source of the page either.  Can anyone
> give me some pointers?
> 
> Here is the script I am using.
> 
> <SCRIPT LANGUAGE="JavaScript">
> 
> var url="http://customsnet/edw/index.htm";
> var title="Enterprise Data Warehouse";
> 
> document.write('<A HREF="javascript:window.ext');
> document.write
> ('ernal.AddFavorite(url,title);" ');
> document.write('onMouseOver=" window.status=');
> document.write("'Add our site to your favorites!';
> return true
> ");
> document.write('"onMouseOut=" window.status=');
> document.write("' '; return true ");
> document.write('">Add our site to your
> favorites!</a>');
> 
> </script>

  Return to Index