Here is the solution:
- replace:
    <script type="text/javascript">
      <!-- /* this adds sfhover class to menu li items to make IE6
work */ jQuery(document).ready(function(){jQuery('li.web2py-menu-
expand').hover(function ()
{jQuery(this).addClass('sfhover');},function ()
{jQuery(this).removeClass('sfhover');});});//-->
    </script>
- by the script above (first mail) or even by:
    <script type="text/javascript"><!--
        /* this adds sfhover class to menu li items to make IE6 work */
jQuery(document).ready(function(){jQuery('li.web2py-menu-
expand').hover(function ()
{jQuery(this).addClass('sfhover');},function ()
{jQuery(this).removeClass('sfhover');});}); //  --></script>

and it works ! Simpler than I tought. There is something wrong with
the oneliner version of the script introduced in release 1.77.1
Something related with a new line in comments.

BTW, is there anything wrong in my post, they were no answers :-(

Thanks for web2py anyway. It's more than great.

On 16 juin, 17:40, KR <[email protected]> wrote:
> Hi again,
>
> I just installed web2py 1.75.5 (according to the VERSION file, I
> downloaded the 1.75.4:http://web2py.com/examples/static/1.75.4/web2py_src.zip)
> and it works.
> According to the changelog, the bug was fixed on the 1.75.1 and I
> downloaded the first version available after that one to check it.
>
> Apparently there is a regression bug somewhere.
>
> If somebody has an idea about that, I'm intersted. Any hint would be
> appreciated in order to find the last version after the 1.75.5 still
> OK with IE6. Having that, it will be easier to fix that bug ... or to
> decide to stay with that version.
>
> On 16 juin, 13:01, KR <[email protected]> wrote:
>
> > Hi,
>
> > I have the same problem as in that thread : Submenus and IE6 
> > (http://groups.google.be/group/web2py/browse_thread/thread/5b80149ee6c...
> > )
>
> > To make sure that I didn't messed all up, I installed a fresh new
> > 1.19.2 web2py and I tried on the welcome/default/index page. On my
> > windows with firefox PC it works as expected : I can see the
> > Controller-View_layout-... submenu when I put the mouse pointer on
> > Edit (in the left column). Unfortunately, when I use an older Windows
> > box with IE6 (we have a lot like that), nothing happens when I put the
> > pointer on the Edit field.
>
> > I need to deploy an application and upgrade IE6 is not an option.
> > Javascript is working, I checked it. The patch:
>
> > <script type="text/javascript">
> > <!--
> > /* this adds sfhover class to menu li items to make IE6 work */
> > jQuery(document).ready(function(){
> >     jQuery('li.web2py-menu-expand').hover(
> >         function () {
> >             jQuery(this).addClass('sfhover');
> >         },
> >         function () {
> >             jQuery(this).removeClass('sfhover');
> >         }
> >     );
>
> > });
>
> > //-->
> > </script>
>
> > is in the layout (as a one-liner) out of the box.
>
> > What can I do ?
>
> > Thanks already.

Reply via email to