# "About your applicationâ?s environment" Effect

**URL:** <https://www.ruby-forum.com/t/about-your-applicationa-s-environment-effect/60973>\
**Category:** Rails\
**Created:** [May 18, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/about-your-applicationa-s-environment-effect/60973 "2006-05-18T23:36:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@ben](https://www.ruby-forum.com/u/ben)\
**Post date:** [May 18, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/about-your-applicationa-s-environment-effect/60973/1 "2006-05-18T23:36:47Z")

</div>

I was wondering if there is a Rails method that does something similar  
to the “About your applicationâ??s environment” link on the “Welcome  
Aboard” page you get when you first install Rails.

What the link does is make and AJAX call, then blind down and up using  
AJAX.

Thanks.

---

<div class="post-metadata">

**Author:** ![ben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@ben](https://www.ruby-forum.com/u/ben)\
**Post date:** [May 19, 2006, 12:05am UTC](https://www.ruby-forum.com/t/about-your-applicationa-s-environment-effect/60973/2 "2006-05-19T00:05:16Z")

</div>

Hello Ben,

> I was wondering if there is a Rails method that does something similar  
> to the “About your application’s environment” link on the “Welcome  
> Aboard” page you get when you first install Rails.
> 
> What the link does is make and AJAX call, then blind down and up using  
> AJAX.

Have you looked the source code of public/index.html ?

public/index.html :

[…]  
function about() {  
if (Element.empty(‘about-content’)) {  
new Ajax.Updater(‘about-content’, ‘rails/info/properties’, {  
method: ‘get’,  
onFailure: function()  
{Element.classNames(‘about-content’).add(‘failure’)},  
onComplete: function() {new  
Effect.BlindDown(‘about-content’, {duration: 0.25})}  
});  
} else {  
new Effect[Element.visible(‘about-content’) ?  
‘BlindUp’ : ‘BlindDown’](‘about-content’, {duration: 0.25});  
}  
}  
[…]

– Jean-FranÃ§ois.

---

<div class="post-metadata">

**Author:** ![ben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@ben](https://www.ruby-forum.com/u/ben)\
**Post date:** [May 19, 2006, 12:25am UTC](https://www.ruby-forum.com/t/about-your-applicationa-s-environment-effect/60973/3 "2006-05-19T00:25:47Z")

</div>

Yeah, seems pretty straight forward, but I was thinking it might be  
possible to do that with a rails method.

Thanks though.

---

<div class="post-metadata">

**Author:** ![ben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@ben](https://www.ruby-forum.com/u/ben)\
**Post date:** [May 19, 2006, 12:42am UTC](https://www.ruby-forum.com/t/about-your-applicationa-s-environment-effect/60973/4 "2006-05-19T00:42:40Z")

</div>

2006/5/19, Ben [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Yeah, seems pretty straight forward, but I was thinking it might be  
> possible to do that with a rails method.

It must be possible with RJS templates playing with :

page.visual\_effect :blind\_down, ‘about-content’, :duration =\> 0.25

things like that…

```
-- Jean-FranÃ§ois.

```
