Displaying 20 results from an estimated 1000 matches similar to: "Print a PDF directly after prawnto with iframes"
2006 Jun 29
3
dynamic generation of iframes and writing to them
Hello Everyone,
I would like to get some suggestions on a problem I am trying to address.
- I send a request to a 3rd party server (for ads) and a response is received from them.
- Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party response can mess up styles, js on my page.
- So, I want to capture this response and dynamically generate
2010 Mar 17
3
rails+prawnto: setting :type to :prawn in a #render_to_string call not working
Hello, my question is rails related though it is also somewhat
specific to the prawnto plugin (installed latest version as of
2010-03-15). I would ask on a prawnto forum/list if I knew where one
was.
Anyhow, I''m using rails 2.3.5 (with ruby 1.8.6 patchlevel 111) in an
app that is successfully using the prawnto gem (with the prawn gem
version 0.7.1). I''ve got a a
2009 Mar 26
0
Prawn + PrawnTo + Rails 2.3.2
Hi,
Have anyone made a successful usage of Rails 2.3.3 with PrawnTo and
Prawn ?
I followed all the tutorials I could find on Net, but I am not able to
see pdf part working.
I kept getting the error "Template is missing". I do have foo.pdf.prawn.
Same goes with pdf/writer as well.
Thank you.
Regards
Balaji D Loganathan
Spritle Software, http://www.spritle.com
--
Posted via
2006 Apr 09
1
RJS across iframes
I have an inline iframe which has a form in it, when the form is
updated, I would like to call an RJS template that will update the
parent page.
+-----------------------------------------------+
| |
| <div id="mydiv"> Update with RJS </div> |
| |
|
2008 Jun 03
1
Clicking on links within facebook iframes (facebook apps)
Hello,
I have a problem with clicking on the links in facebook apps due to
iframes. I am trying to write a little script to run through the funwall
app.
I used IE Dev toolbar to get the name of the id of the iframe (those
iframes how no name attribute). So I run this command:
$ie.frame(:id, "app2378983609_fb_frame").link(:text, ''View this
post'').click
And I get
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a
string to that element?
e.g.,
var sDocument = ''<html><head></head><body>Hello world.</body></html>'';
I''ve tried several variations of appendChild, innerHTML, document.innerHTML,
createTextNode.
Argh!
_______________________________________________
2007 Nov 09
0
iframe is reloading during each sortable drag/drop point
We are creating a simple widget portal for our site and trying to use
Sortables. Each of our widgets is an iframe. But when you try to
drag an element containing an iframe the Sortables api causes the
iframe to reload at each possible drop point. This causes the ui to
shutter and become unusable.
I have narrowed the issue down the onEmptyHover where
dropon.insertBefore is called. Is there a
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers,
It looks to me like facebooker does not currently support iframe
facebook apps - or am I missing something?
My first problem as I understand it is as follows - When you are
logged into facebook, and access a facebook application,
facebook tacks on a whole lot of extra fb_sig parameters to the
request (including fb_sig_user) that the application can then
validate to
2008 Jun 03
7
Iframe shenanigans
Here''s my problem. Unfortunately I have the need to load up fully
qualified html documents
into my page. (think tens of thousands of mini sites). I also have the
need to be as handicap accessible as possible. (So ajax is essentially
out, screen readers aren''t up to snuff yet). Thus I''m using an iframe.
The unfortunate part
is that I have navigation menus that appear over
2010 Apr 02
1
Form Authenticity Token Error generated from iframe
Hi,
Iam trying to link my app from another site. I have used iframes and a
form is being loaded in the iframe embeded in another site outside my
rails app. So when the user submits this form it should effectively
take me to the application site with the post data... iam getting
authenticity token error while doing this.. can anyone guide me how to
achieve the objective...
thnks
Nisha
--
You
2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
hi,
I write a page that contain following function:
this site contain a html file upload control, which allow user to upload
image only.
once the image had been uploaded, it will automatic display on the
current page without refresh entire page.
when the image is saved, it will return javascript that embed in a
iframe (which is also in my current page) that can load the image into
my page (
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo **
Respond with RJS to your parent window with a form action targeted to
a hidden IFRAME. Handles all the painful situations like scoping
your JavaScript to your parent window generating the script block for
execution and clearing the IFRAME after execution so the back button
doesn''t re-execute the action.
`plugin install
2005 Sep 15
2
IE iframe bug with Autocompleter over HTTPS
I ran across an issues using the Autocompleter over HTTPS in IE (6.0
in WinXP Pro SP2).
I plan to submit a bug report to the Ruby on Rails trac, but first I''d
like "to discuss this on th[is] Mailing List beforehand, maybe it''s
already known and in the works, or it isn''t a bug" (per
http://wiki.script.aculo.us/scriptaculous/show/BugReports)
The autocomplete
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all,
I''ve run into trouble attempting to replicate something in ajax that
worked when done with an iframe...
In both cases I have a table inside a div that is being periodically
refreshed every few seconds... The 1st column of each row in the table
contains a link to a DHTML popup menu. I have the popup menu working in
the ajax version.
The problem is that in the ajax version
2008 Jan 01
2
Ajax.Updater from within an IFrame
Hello together.
I''m trying to call an Ajax.Updater from within an IFrame to update an
element in the parent window.
It is working, but I receive an error from Firefox when I do so.
What I want to do is to upload a file, and then after the file has
completed uploading, automatically reload a section of the page with
information about the file to post-process it.
However, AJAX
2006 Aug 03
0
iframe id
If a parent opened an iframe window, is there a way to determine what my
the id of the iframe window is inside the iframe.
--
Posted via http://www.ruby-forum.com/.
2008 Jan 31
0
Element.Fire on window.parent.document from iframe (fails in Opera)
I wanted to create an iframe that could be included on any page for
uploading images, without determining the parent behaviour at all from
within the iframe. The iframe include just checks if there was an
image loaded, and does this to pass upload information to the parent
(this only fires when an image was uploaded):
$(window.parent.document).fire(''image:uploaded'',
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
Hello
I am uploading images ajax-attachment_fu-rmagick and an iframe and me
climb correctly, but when I finish the process and the driver will I
redirect_to enc_url I recharge layer ajax. I tried with redirect_to
enc_url :partial => ''m_content'' and redirect_to enc_url, :update =>
''m_content''. But neither I recharge ...
rhtml
------
<% form_for(photo,
2007 Jun 27
0
IFRAME
Hai
I am newbie for Rails
I have one question, I have one IFRAME ,and i have one action called
refer.rhtml
what my question is,I want to refresh the iframe content because i have
one grid in refer.rhtml and another one page which is present inside the
iframe,
If i click the link present in the grid page at the time i want to
display the content ,when i click the link,there will be one html page
2006 Jul 13
2
Iframe upload indicator
I''m using the iframe trick to upload files with form_tag and a target
pointing to the iframe. All is working, but I would like to display an
indicator of the upload. All I want to do is show a hidden animated gif via
Element.show. With form_remote_tag, i could use the :loading and :complete
callbacks to do an Element.show and Element.hide. How do I achieve a similar
effect with form_tag?