| Link: | HTML code: |
| <a href="http://friendforward.com">Tell a friend</a> | |
| Friend Forward | <a href="http://friendforward.com">Friend Forward</a> |
| <a href="http://friendforward.com"><img src="http://friendforward.com/friendforward.gif" width="125" height="20" title="Tell a Friend about this Webpage" border="0"></a> |
You can supply a default subject for the Friend Forward email, by adding the code /?subject=... For blogs, for example, the title of an article is appropriate as a default subject, for example:
If the link to be forwarded differs from the referring page (i.e. you have a list of articles on your homepage, each with its own URL) then you can specify the exact link to be forwarded with url=... For example, suppose on your homepage http://www.myhomepage.com you wish to have a link to forward a subpage: You can also display the number of times a page has been forwarded via Friend Forward. The simplest way is to include this code at the location where you wish to display the count: You can also display the total number of all emails sent forwarding a page. For example, if person 1 forwards the page to 3 friends, and person 2 forwards it to 5 friends, then the number of forwards will be 2 and the number of emails will be 7. To display the number of emails use this code: Also, you can optionally add a parameter url if you wish to display the count for a different page. Using the example above, with a subpage article.php?id=123 you would use this to display the number of forwards: Another option is to add the code ?callback=displayFFcount instead of ?info=forwards or ?info=emails, where displayFFcount is the name of your own Javascript function (you can give it another name if you wish) which displays the count. In this case include this code near the end of your HTML code, for example just before the </body> tag: This code calls your own displayFFcount(FF) function, where the number of Friend Forwards is available in the variable FF.forwards and the number of emails in FF.emails. In the third example below this method is used (the counts show up on the mouse over). View the source code of this page to see this example implementation of displayFFcount(FF). You can of course supply both a callback and a url variable with the syntax: ?url=...&callback=... You can also reference different counts of different url's by defining different functions i.e. displayFFcount1, displayFFcount2, etc. Here are the same three code examples as above, but each with a different way of displaying one or both counts:
|
| Home About Friend Forward Free Account Promote your site My Friend Forward Recent Forwards Top Sites Privacy Policy |
© FriendForward.com