Forum: Ruby on Rails Prototype.Browser has no properties

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F04aeb28129f653b207e8b5d92706096?d=identicon&s=25 Amos King (Guest)
on 2007-06-25 00:47
(Received via mailing list)
I'm trying to open a new url in an ajax window. I'm using
prototype-window (,
and keep getting this error

Prototype.Browser has no properties

Here are some snipets from my app code

<= javascript_include_tag :defaults %>
<= javascript_include_tag 'window' >
<= javascript_include_tag 'window_effects' >
<= stylesheet_link_tag 'spread' %>

<%= link_to_remote 'pop', :url => {:action => 'do_magic'} %>

page << "var win = new Window({className: 'spread', title: 'Ruby on
Rails', top:70, left:100, width:300, height:200,
url:'', showEffectOptions:{duration:1.5}})"
page << ";"

Does anyone know how I can get this working?

Amos King
A. King Software Development and Consulting, L.C.
Looking for something to do? Visit
719dd5578857a3ce2e7875e8103d31ce?d=identicon&s=25 pinguskahn (Guest)
on 2007-06-29 04:20
(Received via mailing list)
I had the same error and found that my prototype.js file was out of
date. Get the latest version and you should be fine.

This topic is locked and can not be replied to.