Prototype.Browser has no properties

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 K.
A. King Software Development and Consulting, L.C.

Looking for something to do? Visit

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs