Instructions for displaying the Rmark button Rbate Rmark

If you are registered with Rbate as a Helper, click the Rmark button display instructions link after selecting an entity on your Entities Page. These registered sources of purchasing assistance are able to be both auto- and manually-Rmarked without the visitor leaving the page.

Otherwise, include the following HTML in your pages where you wish the Rmark button to appear:

<a href="" onmouseup="if (typeof rbate_set != 'undefined') rbate_set(this)"> <img src="" border="0" title="Click to add Rbate Rmark (No Rcode)"/> </a>

You can of course use your own image, or another image such as /?.

So that visitors can more easily Rmark your site, we recommend you also add the following script to your pages, either below the above Rmark button HTML, or in a separate script source file. You may if you wish source this script from If you do, you may wish to set the defer attribute to help ensure rendering of your pages is not delayed.

<script> var rbate_done = false; function rbate_set(rlink) { if (!rbate_done) { var url = encodeURIComponent(location.href); var title = encodeURIComponent(document.title); var first = encodeURIComponent(rbate_t('link') || rbate_t('a')); rlink.href += '?url=' + url + '&title=' + title + '&first=' + first; rbate_done = true; } } function rbate_t(tag) { var tags = document.getElementsByTagName(tag); for (var i=tags.length-1; i>=0; --i) if (tags[i].rel == 'start') return tags[i].href; return ''; } </script>

For the above script to automatically include a link to the first page of the article being Rmarked, each page of the article should include a link to this first page, with the link's "rel" attribute set to "start". This link should either be a normal HTML "a" element or a link element.

If you do not use this script you should manually add "url", "title", and "first" (page url) parameters to the url that forms the Rmark link.