News: Simple Add Favorites / Make Homepage Block

Posted by: jaschaon 2002/3/21 20:46:51 5961 reads
This is painfully simple but a good addition to any site.

Just create a new block (I called mine "Bookmark Us. . .").

Add this code:


------- copy from here -------

</table>
<a href="javascript:window.external.AddFavorite('http://www.Xoops.com', 'Xoops.org')">Add to Favorites</a>
<br><br>
<A HREF="#"
onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage('https://xoops.org');">
Make Xoops Your Homepage
</A>

------- to here -------

Be sure to change the xoops.org to your site etc.!

That's it!

See it in action HERE (on the right side above Polls).