Instructions:
Its easy - here's how:
1. Copy the javascript above and paste it into any HTML page.
2. Change YOUR_ASSOCIATE_ID to your site's Amazon.com Associate ID.
3. Change YOUR_DEFAULT_SEARCH_KEYWORDS to the keyword(s) you wish to use to display the initial (default) title listing. Multiple words are delimited by + signs (example: default=online+communication). Setting this to TOPLIST will display the top 10 titles from Amazon's Hot List of bestselling titles.
That's all it takes! No cgi installation or SSI required!
Optional features:
mysearchfield=YOUR_SEARCH_FIELD
Change YOUR_SEARCH_FIELD to the name of the URL parameter that your site uses to do a search. This allows you to drop the Amazon content directly onto pages that result from
your own local searches. For example, if you have a script that takes the parameter "query=" as its search term, you can pass "mysearchfield=query" inside the Amazon javascript, and the Amazon
content displayed will be a search on whatever value is passed in as the "query=" parameter.
width=YOUR_WIDTH
Change YOUR_WIDTH to a new width, in pixels to suit your site's design. Default is 180.
color=YOUR_OUTLINE_COLOR
Change the outline color that surrounds the interactive area. Default is 000000 (black). Uses standard 6 digit HTML RBG numbers (example: white=ffffff)
icon_url=YOUR_ICON_URL
Change the graphic/icon that appears at the top of the interactive field. YOUR_ICON_URL can be changed to replace the header graphic with any graphic of your choosing. Specify the full address including http:// - example: http://digitalwindmill.com/images/logo_amazonbooks.gif
count=YOUR_COUNT
Set this to any number to specify the maximum number of titles to appear in your ad. Defaults to 10.
|