The script that draws the controls is embedded using an ASPX wrapper around a special control I've created in C# using the .NET Framework. You can download the assemblies here or just reference the wrapper directly as I have done. If you are hosting your own pages, you might want to pull down the assemblies and embed them directly within your own ASPX pages. By referencing the control directly in your own host environment, it will improve the performance and make it easier for you to customize the look and feel. Let me know if you'd like access to the assemblies.
If you aren't capable of hosting your own ASPX pages, then you can reference the wrapper page I have provide at scripts.neodiem.com.
To embed the script, add the following code to your template:
<script type="text/javascript" src="http://scripts.neodiem.com/showlist.aspx?
showdetails=false
&showimages=false
&numberofitems=5
&showrandomitems=true
&listid=11C766M4WUWVW">
</script>
showdetails=false
&showimages=false
&numberofitems=5
&showrandomitems=true
&listid=11C766M4WUWVW">
</script>
You can then change the listid property to point to a list of your own choosing.
The output of the wrapper is JavaScript which will render the items in the WishList as an UnOrdered List. You can control the look and feel using ClassNames.
Feel free to play with these as much as you like and use them to host your own lists of Amazon items! You can choose how many items to show, whether they show in random order, and the level of detail associated with each entry.
Any feedback is appreciated.
No comments:
Post a Comment