Search found 884 matches

by Peter
Fri Apr 28, 2023 2:00 pm
Forum: Tricks 'n' Tips
Topic: BlockUI
Replies: 7
Views: 10583

Re: BlockUI

You can overwrite the default options like this:

Code: Select all

! $.blockUI.defaults.css.backgroundColor = 'transparent'; 
! $.blockUI.defaults.css.border = 'none';
! $.blockUI.defaults.css.color = 'lightgreen';
For the full list of options see: https://malsup.com/jquery/block/#options
by Peter
Wed Apr 26, 2023 10:32 am
Forum: Coding Questions
Topic: Toast animation
Replies: 6
Views: 1860

Re: Toast animation

Here is Paul's code with the callback extension: Declare Toast() Declare ToastOut() Declare ToastInCallback() Declare ToastOutCallback() #tWnd=0 Procedure jsToast_In(Window, Callback) ExamineDesktops() Protected wid=WindowID(Window) Protected windowheight=DesktopHeight(0)-WindowHeight(Window) ! $(v_...
by Peter
Sat Apr 08, 2023 6:05 pm
Forum: Coding Questions
Topic: HTTPRequest
Replies: 5
Views: 1548

Re: HTTPRequest

If you look at the output in the Developer Console of your browser, you will see the following: Access to XMLHttpRequest at 'https://www.adouros.gr/projects/papertrade/pelates.php?_=1680976679930' from origin 'http://127.0.0.1:9080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' h...
by Peter
Fri Mar 31, 2023 4:21 pm
Forum: Feature Requests and Wishlists
Topic: Forms
Replies: 1
Views: 3427

Re: Forms

by Peter
Thu Mar 30, 2023 10:47 am
Forum: Coding Questions
Topic: Fontsize of the debugwindow / editorgadget
Replies: 2
Views: 968

Re: Fontsize of the debugwindow / editorgadget

Stefan wrote: Thu Mar 30, 2023 10:00 am How can I change the Fontsize of the debugwindow / debugwindoweditorgadget?

Code: Select all

LoadFont(0, "Arial", 36)
Define DebugEditorGadget
! v_debugeditorgadget = spider.debug.editorGadget;
SetGadgetFont(DebugEditorGadget, FontID(0))
Debug "Hello World!"
by Peter
Wed Mar 29, 2023 8:02 am
Forum: General Discussion
Topic: SpiderBasic 2.50 is out !
Replies: 27
Views: 26455

Re: SpiderBasic 2.50 beta 1 is ready !

I loaded the Shaders.sb, started it and played a bit with the settings. However, I have to admit that I can't see any changes to the graphics -- no matter what setting I change. Is that because I'm an old fart and my eyes aren't that good anymore? I have checked this again. With Chrome and Firefox ...
by Peter
Tue Mar 28, 2023 5:14 pm
Forum: General Discussion
Topic: SpiderBasic 2.50 is out !
Replies: 27
Views: 26455

Re: SpiderBasic 2.50 beta 1 is ready !

You can check in the example folder the file 'Shaders.sb' to have a quick look how to use them I loaded the Shaders.sb, started it and played a bit with the settings. However, I have to admit that I can't see any changes to the graphics -- no matter what setting I change. Is that because I'm an old...
by Peter
Tue Mar 28, 2023 4:24 pm
Forum: General Discussion
Topic: SpiderBasic 2.50 is out !
Replies: 27
Views: 26455

Re: SpiderBasic 2.50 beta 1 is ready !

Fred wrote: Tue Mar 28, 2023 4:12 pmIt does here
same here.

// Edit: When I start the installation a second time, the path is no longer requested.
by Peter
Wed Mar 22, 2023 6:32 pm
Forum: Coding Questions
Topic: HTML button event
Replies: 4
Views: 1553

Re: HTML button event

It may be that the function is in another scope and for this reason is not found.

Try the following:

Code: Select all

! function buttonclicked(id) {
!   alert(id);
! }
! window.buttonclicked = buttonclicked;
by Peter
Tue Mar 14, 2023 2:57 pm
Forum: Coding Questions
Topic: Static keyword confusion
Replies: 5
Views: 1648

Re: Static keyword confusion

Is this stuff documented anywhere?
The naming rules are documented here: Inline Javascript.
However, it seems to me that the static variables are missing.