Trash the IFRAME,  any object, such as a DIV can and will perform in
the way you're envisioning.  With the IFRAME the user loses sight of
the interface when it begins its request, at the start of refresh.
The UI doesn't return until the iframe is finished with the request,
where as inserting new content into a DIV that was retrieved behind
the scenes allows a much more seamless user experience.  So my
suggestion is, just ditch the IFRAME for a DIV and have that DIV stake
claim on the same real estate the iframe had.  The only difference
will be that you need to make an initial request to populate on load,
no big deal.



On Apr 30, 11:06 am, "Brian Williams" <[EMAIL PROTECTED]> wrote:
> ok then, its an iframe, which makes the iframe the parent, so therefore put
> the ajax.updater code in the ajax1.jsp file to be loaded when the iframe
> loads
>
> On Wed, Apr 30, 2008 at 10:53 AM, Debbie <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply.  What you're suggesting is to reload the page
> > upon a timeout, and it shows to the user.  With Ajax, it's
> > undetectable to the user unless there's a change on the page.  I
> > prefer to resolve the issue with ajax, will post back if solution is
> > found.
>
> > On Apr 29, 6:13 pm, "Brian Williams" <[EMAIL PROTECTED]> wrote:
> > > true, but, you can do it a lot easier by simply putting in a refresh
> > meta
> > > tag in the ajax1.jsp file
>
> > > On Tue, Apr 29, 2008 at 4:47 PM, jdalton <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > Ajax.PeriodicalUpdater updates an elements innerHTML.
> > > > You cannot set the iframes innerHTML.
>
> > > > - JDD- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to