Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The mother of the year should be a sterilized woman with two adopted children. -- Paul Ehrlich


dovenet / Synchronet Javascript / lightbar examples?

SubjectAuthor
* lightbar examples?Nelgin
`* lightbar examples?Nightfox
 `* lightbar examples?Nelgin
  +* lightbar examples?Nightfox
  |`- lightbar examples?Nelgin
  `- lightbar examples?MRO

1
lightbar examples?

<6458C984.1372.dove-syncjs@endofthelinebbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=41&group=DOVE-Net.Synchronet_Javascript#41

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nelgin@VERT/EOTLBBS (Nelgin)
To: All
Subject: lightbar examples?
Message-ID: <6458C984.1372.dove-syncjs@endofthelinebbs.com>
Date: Mon, 8 May 2023 05:05:56 -0500
X-Comment-To: All
Path: rocksolidbbs.com!not-for-mail
Organization: End Of The Line BBS
Newsgroups: DOVE-Net.Synchronet_Javascript
X-FTN-PID: Synchronet 3.20a-Linux master/494c0a830 Apr 26 2023 GCC 9.4.0
X-FTN-CHRS: CP437 2
WhenImported: 20230508030724-0700 c1e0
WhenExported: 20230508032647-0700 c1e0
ExportedFrom: VERT sync-js 3873
WhenImported: 20230508050556-0500 c168
WhenExported: 20230508050724-0500 c168
ExportedFrom: EOTLBBS dove-syncjs 1372
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nelgin - Mon, 8 May 2023 10:05 UTC

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

lightbar examples?

<64591332.3805.dove_sync_js@digitaldistortionbbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=42&group=DOVE-Net.Synchronet_Javascript#42

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nightfox@VERT/DIGDIST (Nightfox)
To: Nelgin
Subject: lightbar examples?
Message-ID: <64591332.3805.dove_sync_js@digitaldistortionbbs.com>
Date: Mon, 8 May 2023 08:20:18 -0700
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: Digital Distortion
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <6458C984.1372.dove-syncjs@endofthelinebbs.com>
References: <6458C984.1372.dove-syncjs@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/96a924351 May 7 2023 GCC 11.3.0
X-FTN-CHRS: CP437 2
WhenImported: 20230508082742-0700 c1e0
WhenExported: 20230508152651-0700 c1e0
ExportedFrom: VERT sync-js 3874
WhenImported: 20230508082018-0700 c1e0
WhenExported: 20230508082749-0700 c1e0
ExportedFrom: DIGDIST dove_sync_js 3805
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nightfox - Mon, 8 May 2023 15:20 UTC

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

lightbar examples?

<645918CE.1374.dove-syncjs@endofthelinebbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=43&group=DOVE-Net.Synchronet_Javascript#43

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nelgin@VERT/EOTLBBS (Nelgin)
To: Nightfox
Subject: lightbar examples?
Message-ID: <645918CE.1374.dove-syncjs@endofthelinebbs.com>
Date: Mon, 8 May 2023 10:44:14 -0500
X-Comment-To: Nightfox
Path: rocksolidbbs.com!not-for-mail
Organization: End Of The Line BBS
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <64591332.3805.dove_sync_js@digitaldistortionbbs.com>
References: <64591332.3805.dove_sync_js@digitaldistortionbbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/494c0a830 Apr 26 2023 GCC 9.4.0
X-FTN-CHRS: CP437 2
WhenImported: 20230508085226-0700 c1e0
WhenExported: 20230508152651-0700 c1e0
ExportedFrom: VERT sync-js 3875
WhenImported: 20230508104414-0500 c168
WhenExported: 20230508105227-0500 c168
ExportedFrom: EOTLBBS dove-syncjs 1374
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nelgin - Mon, 8 May 2023 15:44 UTC

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

lightbar examples?

<645930F2.3807.dove_sync_js@digitaldistortionbbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=44&group=DOVE-Net.Synchronet_Javascript#44

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nightfox@VERT/DIGDIST (Nightfox)
To: Nelgin
Subject: lightbar examples?
Message-ID: <645930F2.3807.dove_sync_js@digitaldistortionbbs.com>
Date: Mon, 8 May 2023 10:27:14 -0700
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: Digital Distortion
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <645918CE.1374.dove-syncjs@endofthelinebbs.com>
References: <645918CE.1374.dove-syncjs@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/96a924351 May 7 2023 GCC 11.3.0
X-FTN-CHRS: CP437 2
WhenImported: 20230508102740-0700 c1e0
WhenExported: 20230508152651-0700 c1e0
ExportedFrom: VERT sync-js 3876
WhenImported: 20230508102714-0700 c1e0
WhenExported: 20230508102743-0700 c1e0
ExportedFrom: DIGDIST dove_sync_js 3807
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nightfox - Mon, 8 May 2023 17:27 UTC

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

lightbar examples?

<64593B45.3363.sync_js@bbses.info>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=45&group=DOVE-Net.Synchronet_Javascript#45

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: mro@VERT/BBSESINF (MRO)
To: Nelgin
Subject: lightbar examples?
Message-ID: <64593B45.3363.sync_js@bbses.info>
Date: Mon, 8 May 2023 13:11:17 -0500
X-Comment-To: Nelgin
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <645918CE.1374.dove-syncjs@endofthelinebbs.com>
References: <645918CE.1374.dove-syncjs@endofthelinebbs.com>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20230508113732-0700 c1e0
WhenExported: 20230508152651-0700 c1e0
ExportedFrom: VERT sync-js 3877
WhenImported: 20230508131117-0500 c168
WhenExported: 20230508133729-0500 c168
ExportedFrom: BBSESINF sync_js 3363
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Mon, 8 May 2023 18:11 UTC

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 :::

lightbar examples?

<64613552.1376.dove-syncjs@endofthelinebbs.com>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=46&group=DOVE-Net.Synchronet_Javascript#46

  copy link   Newsgroups: DOVE-Net.Synchronet_Javascript
From: nelgin@VERT/EOTLBBS (Nelgin)
To: Nightfox
Subject: lightbar examples?
Message-ID: <64613552.1376.dove-syncjs@endofthelinebbs.com>
Date: Sun, 14 May 2023 14:24:02 -0500
X-Comment-To: Nightfox
Path: rocksolidbbs.com!not-for-mail
Organization: End Of The Line BBS
Newsgroups: DOVE-Net.Synchronet_Javascript
In-Reply-To: <645930F2.3807.dove_sync_js@digitaldistortionbbs.com>
References: <645930F2.3807.dove_sync_js@digitaldistortionbbs.com>
X-FTN-PID: Synchronet 3.20a-Linux master/494c0a830 Apr 26 2023 GCC 9.4.0
X-FTN-CHRS: CP437 2
WhenImported: 20230514123048-0700 c1e0
WhenExported: 20230516041550-0700 c1e0
ExportedFrom: VERT sync-js 3878
WhenImported: 20230514142402-0500 c168
WhenExported: 20230514143049-0500 c168
ExportedFrom: EOTLBBS dove-syncjs 1376
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Nelgin - Sun, 14 May 2023 19:24 UTC

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


dovenet / Synchronet Javascript / lightbar examples?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor