Hi cnickel, if i have inderstood you, i think that something similar happened to me and i had to use another approach: inserting into the div a reference to a javascript file in this way:
var d = document.getElementById('some_node'); var script = document.createElement('SCRIPT'); script.type = 'text/javascript'; script.src = 'js/my_javascript.js'; d.appendChild(script); and then inserting the html using the innerHTML property. Of course, your javascript code should be included in the file "my_javascript.js" regards, Fernando Usero On May 24, 2:07 pm, cnickel <[EMAIL PROTECTED]> wrote: > Hi, > I'm using prototypejs Updater function in order to load a particular > div section content without loading the whole page. > The problem is that any content in this div section that uses > javascript functions doesnt work, for instance image galleries that > use "lightbox" display types appear in a classic way when you click on > an image, also Flash video that use the FLV player doesnt show. > > Please help. My website ishttp://www.avastarweb.com > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---