Hi list hi Armin,

for a new pmapper 3.2 beta 4 project I'm using a new toc ul->li 
structure drive by this jquery script:

$('li.soilToc:has(ul)')
          .click(function(event){
            if (this == event.target) {
              $(this).css('list-style-image',
                (!$(this).children().is(':hidden')) ?
                  'url(images/tree/plusRit.gif)' : 
'url(images/tree/minusRit.gif)');
              $(this).children('ul').toggle();
            }
            return false;
          })
          .css({cursor:'pointer',
                'list-style-image':'url(images/tree/plusRit.gif)'})
          .children('ul').hide();

         
        $('li.soilToc:not(:has(ul))').css({
          cursor: 'default',
          'list-style-image':'none',
          'list-style-type': 'none'
        });
        $('li.soilToc:not(:has(ul))').parent().css({
          'padding-left':'10px',
          'margin-left':'10px'
        });

But I've a problem wi IE ( :-(  always with its)
the jquery script before, build a collapsible list..

the problem on IE is that only the ul string if clickable but not the 
list image plus/minus
intead on FireFox is possible...

If I use the same script on a other html/xhtml document I don't have the 
problem
Armin, do you have an idea about this?

Thanks
W

-- 
Please no  .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats

Walter Lorenzetti
email+jabber: [EMAIL PROTECTED]
www.faunalia.it
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to