Effect.Fade and Back Button

Hi,

i have a picture which dissapeares via Effect.Fade, but i’d like it to
be seen when you leave the site and come back.
but this doesn’t work out when the back button is used, as the site is
not reloaded then and the div with the picture is still set on not
visible/opacity=0

is there any possibility or solution?

thanks,
judith

On Mon, Apr 21, 2008 at 9:08 AM, ju dith [email protected] wrote:

i have a picture which dissapeares via Effect.Fade, but i’d like it to
be seen when you leave the site and come back.
but this doesn’t work out when the back button is used, as the site is
not reloaded then and the div with the picture is still set on not
visible/opacity=0
is there any possibility or solution?

You want AJAX history.

Basically you set some javascript to fire when the person comes back
to the page.

Check out
http://lindsaar.net/2008/2/22/history-buttons-with-ajax-and-ruby-on-rails
for how to do it.

Mikel

ju dith wrote:

Hi,

i have a picture which dissapeares via Effect.Fade, but i’d like it to

Judith, this sure looks like a question about Ruby on Rails, but this is
the Ruby mailing list. You’re going to have better luck getting an
answer on the Ruby on Rails mailing list. See
http://www.rubyonrails.com/community.

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