Ruby on Rails Tuesday, November 30, 2010

Ok, don't panicm another wat to make the question:

id DreamWeaver i can do:

<iframe
src="file:///C:/druby/gestorweb/6465_p_61_620_15674.pdf"></iframe>

but in a ruby form (_frame_pdf.html.erb) i Can not do the same
<iframe
src="file:///C:/druby/gestorweb/6465_p_61_620_15674.pdf"></iframe>

If i inspect FireBug i get:

"try {
Element.update("frame_oc", " <iframe
src=\"file:///C:/druby/gestorweb/6465_p_61_620_15674.pdf\"></iframe>\n");
} catch (e) { alert('RJS error:\n\n' + e.toString());
alert('Element.update(\"frame_oc\", \" <iframe
src=\\\"file:///C:/druby/gestorweb/6465_p_61_620_15674.pdf\\\"></iframe>\\n\");');
throw e }"

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment