# Prototype.Browser has no properties

**URL:** <https://www.ruby-forum.com/t/prototype-browser-has-no-properties/107663>\
**Category:** Rails\
**Created:** [June 25, 2007, 12:47am UTC](https://www.ruby-forum.com/t/prototype-browser-has-no-properties/107663 "2007-06-25T00:47:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thekernel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Post date:** [June 25, 2007, 12:47am UTC](https://www.ruby-forum.com/t/prototype-browser-has-no-properties/107663/1 "2007-06-25T00:47:09Z")

</div>

I’m trying to open a new url in an ajax window. I’m using  
prototype-window ([http://prototype-window.xilinus.com/samples.html](http://prototype-window.xilinus.com/samples.html)),  
and keep getting this error

Prototype.Browser has no properties

Here are some snipets from my app code

//layout/default.rhtml  
\<= javascript\_include\_tag :defaults %\>  
\<= javascript\_include\_tag ‘window’ \>  
\<= javascript\_include\_tag ‘window\_effects’ \>  
\<= stylesheet\_link\_tag ‘spread’ %\>

[//index.rhtml](https://index.rhtml)  
\<%= link\_to\_remote ‘pop’, :url =\> {:action =\> ‘do\_magic’} %\>

//do\_magic.rjs  
page \<\< “var win = new Window({className: ‘spread’, title: ‘Ruby on  
Rails’, top:70, left:100, width:300, height:200,  
url:‘[http://www.rubyonrails.org/](http://www.rubyonrails.org/)’, showEffectOptions:{duration:1.5}})”  
page \<\< “win.show();”

Does anyone know how I can get this working?

## – Amos K. A. King Software Development and Consulting, L.C. [http://dirtyInformation.com](http://dirtyInformation.com)

Looking for something to do? Visit [http://ImThere.com](http://ImThere.com)

---

<div class="post-metadata">

**Author:** ![thekernel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Post date:** [June 29, 2007, 4:20am UTC](https://www.ruby-forum.com/t/prototype-browser-has-no-properties/107663/2 "2007-06-29T04:20:18Z")

</div>

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.

-Adam
