Roderik van der Veer|Smartlounge|
2006-Jun-12 09:55 UTC
Effect.Appear/Hide and numbered lists
Hi,
I''m building a wizard with several steps per page and i''ve
organised
them per page in a numbered lists. So an average page looks like
1. Do something
xxxxxxxxxxx
2. Do something else
xxxxxxxxxxx
etc
and the code is
<ol>
<li>Do something<br />xxxxxxxxxx</li>
<li>Do something else<br />xxxxxxxxxx</li>
</ol>
On one specific page i have in step 1 a drop down list, and on change
step 2 and 3 get Effect.Appear()''ed. this works fine on Firefox and
safari. But on IE the following happens: (see attachment)
I first had as code for the hidden steps
<li style="display: none">xxxx</li>
and in the select box an onchange effect.appear. So I figured, IE needs
to render the list first, so i hide it afterwards with Effect.Hide. I
removed the style tags and did the hiding thing on the bottom of the
page. But the results are the same.
So how do i fix this, or work around it?
Hope sombody can help me :)
Roderik
--
=========================================Roderik van der Veer
roderik.van.der.veer-KUFXUPgJcy8MJK17MN3Jpw@public.gmane.org
=========================================
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
