• lightbar examples?

    From Nelgin@VERT/EOTLBBS to All on Mon May 8 05:05:56 2023
    Hi all,ããI want to write a script using the lightbar library but it's all a little confusing having never used it before and I came up short looking for documentation.ããDoes anyone have a small script they've already created or if someone is familiar with it, just get me going with a simple menu with one or two options available for a bar with one or two main options? I would most appreciate it.ããThanks,ã---ã þ Synchronet þ End Of The Line BBS - endofthelinebbs.comã
  • From Nightfox@VERT/DIGDIST to Nelgin on Mon May 8 08:20:18 2023
    Re: lightbar examples?ã By: Nelgin to All on Mon May 08 2023 05:05 amãã Ne> I want to write a script using the lightbar library but it's all a littleã Ne> confusing having never used it before and I came up short looking forã Ne> documentation.ãã Ne> Does anyone have a small script they've already created or if someone isã Ne> familiar with it, just get me going with a simple menu with one or twoã Ne> options available for a bar with one or two main options? I would mostã Ne> appreciate it. ããMany of my mods use dd_lightbar_menu.js (which I wrote), which provides a lightbar menu class you can use in JS scripts.ããI made a wiki page to document dd_lightbar_menu.js (at least, what it does and the functions it has, etc.):ãhttp://wiki.synchro.net/custom:javascript:lib:ddlightbarmenu.jsããDDMsgReader.js uses it, but for a smaller example, you could look at my area choosers, or perhaps DDFileLister or SlyVote.ããDDFileLister:ãhttps://gitlab.synchro.net/main/sbbs/-/tree/master/xtrn/ddfilelisterããSlyVote:ãhttps://gitlab.synchro.net/main/sbbs/-/tree/master/xtrn/slyvoteããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Nelgin@VERT/EOTLBBS to Nightfox on Mon May 8 10:44:14 2023
    Re: lightbar examples?ã By: Nightfox to Nelgin on Mon May 08 2023 08:20:18ãã > Many of my mods use dd_lightbar_menu.js (which I wrote), which provides aã > lightbar menu class you can use in JS scripts.ããI did think about using that but I wanted something "comes with" Synchronet.ããThat said, I'll keep that as my backup option in case I can't work it out.ããThanks,ãNigelã---ã þ Synchronet þ End Of The Line BBS - endofthelinebbs.comã
  • From Nightfox@VERT/DIGDIST to Nelgin on Mon May 8 10:27:14 2023
    Re: lightbar examples?ã By: Nelgin to Nightfox on Mon May 08 2023 10:44 amãã >> Many of my mods use dd_lightbar_menu.js (which I wrote), whichã >> provides a lightbar menu class you can use in JS scripts.ãã Ne> I did think about using that but I wanted something "comes with"ã Ne> Synchronet. ããdd_lightbar_menu.js is in the Synchronet code repository (in exec/load), so it comes with Synchronet as much as any of the other JS scripts in there - so I'm not quite sure what you mean?ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From MRO@VERT/BBSESINF to Nelgin on Mon May 8 13:11:17 2023
    Re: lightbar examples?ã By: Nelgin to Nightfox on Mon May 08 2023 10:44 amãã > Re: lightbar examples?ã > By: Nightfox to Nelgin on Mon May 08 2023 08:20:18ã >ã > > Many of my mods use dd_lightbar_menu.js (which I wrote), which provides aã > > lightbar menu class you can use in JS scripts.ã >ã > I did think about using that but I wanted something "comes with" Synchronet.ããwhat does that even mean? it's using code that works with synchronet.ãyou could atleast learn from it.ããalso that lightbar script is in the file repo.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From Nelgin@VERT/EOTLBBS to Nightfox on Sun May 14 14:24:02 2023
    Re: lightbar examples?ã By: Nightfox to Nelgin on Mon May 08 2023 10:27:14ãã > dd_lightbar_menu.js is in the Synchronet code repository (in exec/load), soã > it comes with Synchronet as much as any of the other JS scripts in there -ã > so I'm not quite sure what you mean?ããGood point.ã---ã þ Synchronet þ End Of The Line BBS - endofthelinebbs.comã