I'd just do a webgadget and show my three-js.html stuff inside that. Complete isolated control without using it from spiderbasic ide.
Your three-je.html could use parameters using # in the url, so it can take parameters from your spiderbasic program.
Example in url and some parameters.
"3d/3d ...
Search found 14 matches
- Tue Apr 11, 2017 11:36 am
- Forum: Feature Requests and Wishlists
- Topic: Native 3D support like three.js or something similar
- Replies: 10
- Views: 11203
- Tue Mar 14, 2017 8:32 am
- Forum: Coding Questions
- Topic: Override style of Editorgadget?
- Replies: 2
- Views: 2916
Re: Override style of Editorgadget?
Quite right you are!
I tried this, but could get it to work, the entire gadget disappeared, and I found out why.
In my original code:
SetEditorGadgetStyle(makecanvas,"text-align","center")
SetEditorGadgetStyle(makecanvas,"border","none")
ResizeGadget(makecanvas,SlideData()\x.i+final_margin.f ...
I tried this, but could get it to work, the entire gadget disappeared, and I found out why.
In my original code:
SetEditorGadgetStyle(makecanvas,"text-align","center")
SetEditorGadgetStyle(makecanvas,"border","none")
ResizeGadget(makecanvas,SlideData()\x.i+final_margin.f ...
- Mon Mar 13, 2017 3:04 pm
- Forum: Coding Questions
- Topic: Override style of Editorgadget?
- Replies: 2
- Views: 2916
Override style of Editorgadget?
I wanted to have some control over the EditorGadget, and I managed to find a small code in the forums for at least setting the align style of it.
Procedure SetEditorGadgetStyle(id,style$,value$)
!spider_GadgetID(v_id).gadget.textbox.style[v_style$]=v_value$
EndProcedure
Example ...
Procedure SetEditorGadgetStyle(id,style$,value$)
!spider_GadgetID(v_id).gadget.textbox.style[v_style$]=v_value$
EndProcedure
Example ...
- Wed Dec 07, 2016 11:39 am
- Forum: Coding Questions
- Topic: Some gadgets skews in Y axis
- Replies: 2
- Views: 3292
Some gadgets skews in Y axis
A little demo:
OpenWindow(0, 0, 0, 1024, 768, "ButtonGadgets", #PB_Window_Background)
ButtonGadget(0, 10, 10, 200, 40, "40px")
ButtonGadget(1, 210, 10, 200, 20, "20px")
ButtonGadget(2, 410, 10, 200, 10, "10px")
ButtonGadget(3, 610, 10, 200, 2, "2px")
; Creates this skew from top, notice Y = 10 on ...
OpenWindow(0, 0, 0, 1024, 768, "ButtonGadgets", #PB_Window_Background)
ButtonGadget(0, 10, 10, 200, 40, "40px")
ButtonGadget(1, 210, 10, 200, 20, "20px")
ButtonGadget(2, 410, 10, 200, 10, "10px")
ButtonGadget(3, 610, 10, 200, 2, "2px")
; Creates this skew from top, notice Y = 10 on ...
- Wed Dec 07, 2016 8:56 am
- Forum: General Discussion
- Topic: SpiderBasic 2.00 final is out !
- Replies: 49
- Views: 39664
Re: SpiderBasic 2.00 final is out !
Amazingly reduced footprint and super fast execution speed now in v2.00 final. All my problems with 1.40 gone too it seems.
Fantastic update this time, thanks so much!
Fantastic update this time, thanks so much!
- Tue Oct 25, 2016 7:32 am
- Forum: Coding Questions
- Topic: Question about Webgadget, border
- Replies: 3
- Views: 3513
Re: Question about Webgadget, border
Seems I have problems trying to identify the actual CSS used for the ButtonImageGadget().
Is there a override for turning/controlling the border around that too similar to your solution for WebGadgets?
ButtonImageGadget(0, 10, 10, 100, 83, ImageID(0))
To me, since SB is web application based ...
Is there a override for turning/controlling the border around that too similar to your solution for WebGadgets?
ButtonImageGadget(0, 10, 10, 100, 83, ImageID(0))
To me, since SB is web application based ...
- Fri Oct 21, 2016 1:24 pm
- Forum: Coding Questions
- Topic: #PB_Ignore :-)
- Replies: 2
- Views: 2995
Re: #PB_Ignore :-)
Ahh ok. Thanks for quick reply!
- Fri Oct 21, 2016 11:52 am
- Forum: Coding Questions
- Topic: #PB_Ignore :-)
- Replies: 2
- Views: 2995
#PB_Ignore :-)
Seems some PureBasic elements are still hidden in SpiderBasic.
#PB_Ignore should be
#SB_Ignore
Just found it today, while trying to ResizeGadget()
#PB_Ignore should be
#SB_Ignore
Just found it today, while trying to ResizeGadget()
- Thu Oct 20, 2016 10:30 am
- Forum: Coding Questions
- Topic: Question about Webgadget, border
- Replies: 3
- Views: 3513
Re: Question about Webgadget, border
Ahh, excellent, worked as intended. Thanks!
- Wed Oct 19, 2016 11:38 am
- Forum: Coding Questions
- Topic: Question about Webgadget, border
- Replies: 3
- Views: 3513
Question about Webgadget, border
So, naturally WebGadget in Spiderbasic is just an IFrame, correct?
So how can I control the frameborder="0" to the Webgadget?
I want to control the iframe border, even colors for that. Mostly, the option for turning it off completely.
InlineJS, Css magic within the SpiderBasic code?
So how can I control the frameborder="0" to the Webgadget?
I want to control the iframe border, even colors for that. Mostly, the option for turning it off completely.
InlineJS, Css magic within the SpiderBasic code?