|
Home
| About
| Contact
| Advertise
| Affiliate
| Useful links
| Help
|
|
|
ADDING AN AFFILIATE WIDGET TO YOUR SITEThe AntibodyResource Affiliate Widget allows you to take a user's protein search string and display a link to our search page for the matching antibody products found in our database. When the user enters a search and then clicks away from the input field, the Affiliate Widget will update using the search term. Try it with this demonstration: Search for anthrax antibodies at www.antibodyresource.com Integration technical detailsThe Affiliate Widget requires JavaScript to operate. In your web page, you need to include the following <script> within the head section as follows:
You also need to add the following HTML to your page at the position where you want the widget to appear. Replace 'anthrax' in the example below with your own protein name.
If you want to update the widget with a new protein search, call the JavaScript function ARP_search(). One way to do this is to attach an event handler to your normal search field, e.g.
Alternatively, simply assign the CSS class 'arpsearchinput' to your input field, e.g.
|
|