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 stacked up in the panel.  The code for rendering the list of items is in a 
separate CF template that is placed using an Ajax call within a <DIV>.

The problem is that the javascript is not executing in the recently viewed 
items panel. 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 
"snippet."  I can't see the javascript in the source code since it's inside a 
<DIV> but the non-Ajax (CF) pages 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,
Jerry 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to