similar to: ruby on rails + ajax + iframe image uploader

Displaying 20 results from an estimated 1200 matches similar to: "ruby on rails + ajax + iframe image uploader"

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
2009 May 07
5
Controller redirect_to to leave iframe
Inside an iframe, I want the controller to redirect_to to the parent (i.e. target =''_parent''). Any ideas? (Everything I''ve tried- via redirect_to - just keeps it inside the iframe)
2006 Jul 11
1
responds_to_parent plugin
Not sure where I can get help with this one but I getting a wierd behavior out of safari when trying to use the responds to parent plugin. Basically I have the following in my view: <div class="rightsidecontentbody"> <%= form_tag({:action => "create"}, {:multipart => "true", :target => "frame"}) %> <form
2010 Jun 26
1
Ajax Form with Multipart File Upload in Rails 3.0
How would I achieve this? In Rails 2.x, I would use responds_to_parent, but it seems quite unsupported now. What plugins/gems do people use nowadays that would automate 1) targeting form to iframe 2) sending javascript to iframe 3) having the javascript execute another javascript on parent page Thank you, Sharkie -- Posted via http://www.ruby-forum.com/. -- You received this message because
2007 Oct 05
3
Do migration support MySQL BIGINT
hi, just wondering do migration support MySQL BIGINT ? what if i wanna create a migration with BIGINT ? should i use SQL directly ? kiwi -- 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
2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys, I am trying to pass the parameters for the file being upload, but the params[] are not being passed. Ive read through some posts and realize this is an issue with RoR. I read through some of the posts and someone suggested using: http://svn.kylemaxwell.com/form_remote_upload/trunk/ I tried to install it, and although I thought I installed it correctly, it doesn''t work.
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
2007 Jul 24
4
How to pull the title and url from an iframe?
I have an iframe in which the user can browse. When they hit the ''add this page'' button i need to retrieve the url and the title of the page currently shown in the iframe. Does anyone know how to do this? Do i need to assign a variable name to my iframe? (currently it just sits in my template as a bit of html) -- Posted via http://www.ruby-forum.com/.
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
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
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?
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
2007 Nov 06
3
Urgent!!!! responds_to_parent error
Hello I am trying to upload a picture and refrecar layer with responds_to_parent. I have this form rhtml ------ <% form_for(photo, :url => {:action => "create", :tID => params[:tID] }, :html => { :multipart => true, :target => "uploadFrame", :id => ''uploadPhotoForm'' }) do |f| -%> <tr> <td> <div
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
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> | | | |
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default behavior ignores the upload when the Javascript serializes the form to create the parameter list. Basically, i''m just looking for an ajax file upload capability. Any help would be appreciated. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 07
1
Ajax Pan - IFrame
I want to make an IFRAME or some kind of AJax app that will pan an external page. Also allow for zooming. Can this be done in Ruby on Rails? -- Posted via http://www.ruby-forum.com/.
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
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 Dec 31
3
undefined method `content_type'
I am using form_remote_tag to upload a file, but it says .. undefined method `content_type'' for #<String:0x477a930> what could be wrong when it works fine with form_for? -- 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