Search found 21 matches

by Ken
Sat Feb 14, 2026 9:02 am
Forum: General Discussion
Topic: Licenses for the SpiderBasic applications
Replies: 1
Views: 259

Re: Licenses for the SpiderBasic applications

Here is example solution
The html for license page put it in /licenses (HTML).

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<title>Open Source Licenses & Third ...
by Ken
Sat Feb 14, 2026 8:16 am
Forum: General Discussion
Topic: Licenses for the SpiderBasic applications
Replies: 1
Views: 259

Licenses for the SpiderBasic applications

Maybe you have worried what impact has Licenses (https://www.spiderbasic.com/documentati ... ation.html) for the distributed SpiderBasic applications.

Here (https://u5r9sci83d0u.space.minimax.io/#licenses) is some information you can check. Read also the notice in footer.
by Ken
Thu Feb 12, 2026 6:43 pm
Forum: Coding Questions
Topic: HTML from Markdown
Replies: 2
Views: 751

Re: HTML from Markdown

Here is little more complex example. The simplicity of Markdown code is obvious compared to HTML.

EnableExplicit

; ============================================
; WINDOW RESIZE HANDLER
; ============================================

Procedure ResizeHandler()
Define w.i, h.i
w = WindowWidth(0 ...
by Ken
Tue Feb 10, 2026 7:29 pm
Forum: Tricks 'n' Tips
Topic: Broadcast Channel API
Replies: 0
Views: 743

Broadcast Channel API

This is a simple example how to use Broadcast Channel API in Spiderbasic with browser tabs.
To test open the app also in another browser tab and send test messages.

EnableExplicit

Enumeration
#SendButton
#InputField
#MessageList
EndEnumeration

Global MessageLog.s ...
by Ken
Mon Feb 09, 2026 6:48 pm
Forum: Coding Questions
Topic: HTML from Markdown
Replies: 2
Views: 751

HTML from Markdown

I tested if we can use Markdown syntax in Spiderbasic and it turn out we actually can.
I am using here free GitHub markdown Api to convert Markdown to HTML in Spiderbasic.

Markdown with Gadget
EnableExplicit

; ============================================
; CONVERT MARKDOWN VIA GITHUB API ...
by Ken
Sun Feb 08, 2026 5:18 pm
Forum: Feature Requests and Wishlists
Topic: Event Handling
Replies: 5
Views: 8982

Re: Event Handling

The original wish was something like "I’d love to see SpiderBasic provide a first-class event binding abstraction,
where common client-side events can be bound directly to BASIC procedures without explicit JavaScript wrappers."

I did some tests and I think you have both options available so you can ...
by Ken
Mon Jan 12, 2026 6:51 pm
Forum: Coding Questions
Topic: Downloading file with different name?
Replies: 9
Views: 8252

Re: Downloading file with different name?

Here is solution what Fred suggested.

;Download file from server and save with different name

Global *FileBuffer
Global FileSize

; Callback for CreateFile (when file is saved)
Procedure CreateFileCallback(Status, Filename$, File, SizeRead)
Select Status
Case #PB_Status_Saved
Debug "File ...
by Ken
Fri Jan 09, 2026 1:27 pm
Forum: Coding Questions
Topic: Apply styles based on screen size
Replies: 2
Views: 4138

Re: Apply styles based on screen size

I did little modifications so here is the final version. I added the background handling.

It now uses just Dom ready and resize feature together. Styles will be applied automatically when the page loads.

Note. The timer checks every 100ms until OnsenUI creates the elements, then applies the ...
by Ken
Fri Jan 09, 2026 8:21 am
Forum: Coding Questions
Topic: Apply styles based on screen size
Replies: 2
Views: 4138

Re: Apply styles based on screen size

Forget to mention that this is meant to use with Mobile UI.
Note also that you can have for example both resize and Dom loaded enabled same time.
Put the code at the beginning of your code. Note if you use EnableExplicit it has to be the first line.