Forum Moderators: coopster
I am using a phpnuke so I have limited access to the "head" in my pages and if I put something there it shows up in all of my page sources.
I just need a very simple PHP add to favorites script, if anyone knows where I can find one any help would be appreciated.
Thanks.
Cheers.
<a href="javascript:window.external.AddFavorite('http://mysite.com', 'My Site');" onMouseOver="window.status='Bookmark Us!'; return true" onMouseOut="window.status='';return true;">Bookmark us!</a>
Put it anywhere in your <body>. It only works in IE though. I can't remember how to do it Netscape, or if it can be done at all .. As you can see, it's nothing you can't find on Google or any basic Javascript book, so there's no point in trying to hide it.
PS - I think ergophobe and the other admins would prefer if Javascript queries were kept off the PHP forum. :)
[edited by: Warboss_Alex at 2:18 pm (utc) on Aug. 19, 2004]
You could try this [computerhope.com] method