Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
custom:javascript:lib:ddlightbarmenu.js [2024/02/11 14:37] – Add() now has an additional parameter: isUTF8 (for the item text) nightfoxcustom:javascript:lib:ddlightbarmenu.js [2024/02/12 18:42] (current) – [Replacing the NumItems() and GetItem() functions] Mention textIsUTF8 nightfox
Line 227: Line 227:
     // object).  To do so, uncomment the line below.     // object).  To do so, uncomment the line below.
     //menuItemObj.useAltColors = true;     //menuItemObj.useAltColors = true;
-     
     // You might also opt to give this item specific colors for normal and highlighted     // You might also opt to give this item specific colors for normal and highlighted
     // if you want to make this item appear different for whatever reason.     // if you want to make this item appear different for whatever reason.
     //menuItemObj.itemColor = "\x01r"; // Red     //menuItemObj.itemColor = "\x01r"; // Red
     //menuItemObj.itemSelectedColor = "\x01r\x01" + "7"; // Red with grey background     //menuItemObj.itemSelectedColor = "\x01r\x01" + "7"; // Red with grey background
 +    
 +    // If you know the text is in UTF-8 format, you must specify so as follows:
 +    menuItemObj.textIsUTF8 = true;
 +    
     return menuItemObj; // The DDLightbarMenu object will use this when displaying the menu     return menuItemObj; // The DDLightbarMenu object will use this when displaying the menu
   };   };