Hello, We have added a "recently viewed items" panel to the right side of our website. In this panel we simply loop through the array of viewed items and present them with a picture and a link stacked up in the panel.
The code for rendering the list of items is in a separate ColdFusion template that is placed within a DIV tag using an Ajax call. The problem is that the javascript is not executing in the recently viewed items panel for each of the individual items. For instance:
<script type="text/javascript"> var pr_page_id="#currItem#"; snippet(document); </script>
This code is in the loop so that each iteration of an item should show the "starSnippet." I can't see the javascript in the source code since it's inside a <DIV> but the non-Ajax (CF) parts of the page that use the same technique are getting the correct snippet so I know that the code works and that the problem must come from the use of the Ajax call.
Any ideas on a different way to call this so it will fire the javascripts correctly.
Thanks much,
Vibeman