Forum: Ruby on Rails Problem wiht built in JS libary

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.
Steven H. (Guest)
on 2006-04-21 23:10
Hi, I am trying to add a page effect using the built in javascripts. The
effect im trying to create is when a user clicks a link the current page
content slides up, then the new content slides down. This all works
great in firefox, but in IE between the slide up and slide down, you see
a quick flash of the content, and it really spoils the whole effect.

Here is the code im using.
This is one on the functions for the homepage link.

function home() {

            new Effect.BlindUp(page,{queue:{scope:'slide',
position:'front', limit: 1}});
            new Effect.BlindDown('home',{queue:{scope:'slide',
position:'end', limit: 2}});
            page = "home";


Any help, or suggestions on how to get rid of the flash in IE would be
great, thanks.
Steven H. (Guest)
on 2006-04-21 23:38
Sorry I realised this was not the best place to post this. I found the
solution to this in another thread. Just incase anyone else wants to
know or was interested, adding a doctype to the page, fixes the
flickering issue in IE.

This topic is locked and can not be replied to.