Insertion is deprecated in V1.6.0.1
So, not exactly sure what you SHOULD be doing instead.
(I disable my deprecated section).
In debugging, I get an exception.
e.name = 'TypeError'
e.message = "Access is denied."
e.number = -2147024891
e.description = e.message
This is on IE7 on WinXPSP2.
Works fine on FF.
Add this to the PeriodicalUpdater params
onException: function() { alert('It has all gone a bit Pete Tong.'); }
On 24/01/2008, Karel Minarik <[EMAIL PROTECTED]> wrote:
>
> OK, I have made a simple, plain HTML test, see pastie:
>
> -->http://pastie.textmate.org/142692
>
> The results when run simply from the disk (file://...), Prototype
> version 1.6.0:
>
> * Mac Firefox, Mac Safari, Win Firefox: Behaves weird, insert more
> than one element (three, four, etc)
> * Win IE6: Doesn't insert anything
>
> Could someone compare this in his/her environment?
>
> Should this be moved to Prototype-Core?
>
> Thanks,
>
> Karel
>
> On Jan 23, 3:46pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> > On Jan 23, 2008 3:59 AM, Karel Minarik <[EMAIL PROTECTED]> wrote:
> >
> > > Does this simple example work for you, Justin?
> >
> > > new Ajax.PeriodicalUpdater('some_div', '/some_file',
> > > { asynchronous:true,
> > > frequency: 3,
> > > method: 'get',
> > > insertion: Insertion.Bottom
> > > }
> > > );
> >
> > Yes, I tried that exact snippet and it worked fine. An example
> > response from the /some_file URL is:
> >
> > <p>I made it. {{ insert timestamp here }}</p>
> >
> > -justin
> >
>
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---