I'm looking for free softwares that allow users to: - bookmark a website by clicking on a button, and - refer a website to friends. Are there good ones out there?
you can use this for "bookmark this site" <a href="javascript:var Loc='http://www.linkofyoursite.com';window.external.AddFavorite(Loc, 'text you want in the bookmark')"><font face="Arial, Helvetica, sans-serif">Bookmark this site</font></a> Code (markup): hope to be helpful
Eric007, I have a bookmark script that works for Firefox, IE and Opera web browsers.. Put this in the <HEAD> of your webpage: <script language=JavaScript1.2> function addBookmark(title,url) { if (window.sidebar) { window.sidebar.addPanel(title, url,""); } else if( document.all ) { window.external.AddFavorite( url, title); } else if( window.opera && window.print ) { return true; } } </SCRIPT> Now use this for the link: <a href="#" onmousedown="addBookmark('Your Site Name | Your Description','http://www.Your-URL.com')">Bookmark Us </a> That should work, let me know if it doesnt.
for the "refer to a friend" script you can use php if you have it enabled in your hosting account with the mail() function.
Refer a Friend script would be something like this: HTML: Friend's Name: <input type="text" name="name"><br /> Friend's Email: <input type="text" name="email"><br /> <input type="submit" value="Refer a Friend"> HTML: PHP: <?php $name = mysql_escape_string($_POST['name']); $email = mysql_escape_string($_POST['email']); $message = $name." thinks you should visit our site at www.mysite.com!"; mail($email, 'My Subject', $message); ?> PHP: