Do I understand correctly that you're opening a frame to hi5 to upload a
file?

~Arne

On Tue, Apr 14, 2009 at 2:43 AM, Pedro Vicente <neteinst...@gmail.com>wrote:

>
> My current (but not very good) solution is to open a popup, and target
> it. Then after a few seconds close it..
>
> The thing is.. i never know if when i close it the upload has
> finished.
>
> I tried to get inspired on Gmail upload system.. but because they work
> on the same domain in every iframe the have a few less limitations..
>
> Thanks
>
> On 14 Abr, 10:30, Pedro Vicente <neteinst...@gmail.com> wrote:
> > I have tried.. the thing is the hi5 opensocial is a iframe inside hi5.
> > So when i target form submit to the iframe the response never arrives
> > (permissions to alter iframe). And if i try after X seconds to alter
> > the iframe src to stop the wait for the response.. permission denied
> > again :-(
> >
> > P.
> >
> > On 13 Abr, 22:41, Arne Roomann-Kurrik <api.kur...@google.com> wrote:
> >
> > > If that's the only thing your script is returning, a better solution
> would
> > > be to add an iframe to your gadget and make the form target the iframe
> (seehttp://www.w3schools.com/TAGS/att_form_target.asp).  This way the
> gadget
> > > won't redirect, so you won't need to navigate back.  The contents of
> the
> > > iframe will be the result of your form POST to the remote domain, so
> you can
> > > make it small and invisible if you don't need to display a result.
> >
> > > ~Arne
> >
> > > On Mon, Apr 13, 2009 at 9:45 AM, Pedro Vicente <neteinst...@gmail.com
> >wrote:
> >
> > > > Hello,
> >
> > > > I'm trying to submit a form (without AJAX) because i want to send
> also
> > > > a image..and there is that javascript protection stuff about local
> > > > files and remote pages.
> >
> > > > My widget is @ hi5.com.. the thing is when i submit the form the
> form
> > > > is returning a <script> history.back() </script> ... but what appears
> > > > in the iframe of hi5 is the < > escaped.. like
> > > > <pre>&lt;script&gt;history.back() &lt;/script&gt;</pre>
> >
> > > > How can i avoid this and have the script executed ?
> >
> > > > Thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to