Hi all,

I'm trying fix the following function in PM 4

....................
/** Tool links   */
        pmToolLinks: function(tl) {
            var container = $(this);     
            var ul = $('<ul/>').addClass('pm-tool-links');
            $.each(tl.links, function() {
                var linkName = _p(this.name); //;
                var a = '<a href="' + (this.run.substr(0,4) == 'http' ?
this.run : 'javascript:' + this.run + '()') + '">';
                a += '<img style="background:transparent
url(images/menus/' + this.imgsrc + ')' + '
no-repeat;height:16px;width:16px" src="images/transparent.png" alt="' +
linkName +'" />';
                a += '<span>' + linkName + '</span></a>';
                $('<li/>').html(a).appendTo(ul);
            });
....................

in order to fix a glitch of the "tool links" toolbar under Chrome (the
last element does not appear on the same line as the others), but I'm
not getting the problem.

Any hint?


cheers

-- Giovanni --



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to