Search found 131 matches
- Fri Sep 29, 2023 10:13 am
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18733
Re: Mouse over gadget
Unfortunately my program hangs when I paste your code into my program. Maybe my program is too dynamic, maybe I call procedures too often. Finding the cause seems impossible to me. That's why it would be nicer if I could query each individual image gadget, as is possible for button gadgets in the ex...
- Fri Sep 29, 2023 9:21 am
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18733
Re: Mouse over gadget
Procedure buttonalert(id.l) MessageRequester("MouseOver "+Str(id)) EndProcedure If OpenWindow(0, 0, 0, 222, 200, "ButtonGadgets", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ButtonGadget(1, 10, 10, 200, 20, "<span onmouseover= "+Chr(34)+"f_buttonalert('1');...
- Fri Sep 29, 2023 5:52 am
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18733
Re: Mouse over gadget
! Object.keys(spider.gadget.objects.map).forEach(function(key) { ! var element = spider.gadget.objects.map[key].gadget.containerNode; ! element.GadgetID = key; ! element.addEventListener("mouseover", f_mouseover); ! element.addEventListener("mouseleave", f_mouseleave); ! }); Whe...
- Thu Sep 28, 2023 3:14 pm
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18733
Mouse over gadget
I would like to find out whether my mouse is over a gadget (without clicking).
So far I've been doing this using a timer function and querying the mouse coordinates.
However, this causes problems on some computers with particularly effective virus scanners.
Is there another option?
So far I've been doing this using a timer function and querying the mouse coordinates.
However, this causes problems on some computers with particularly effective virus scanners.
Is there another option?
- Sun Jul 09, 2023 10:38 am
- Forum: Coding Questions
- Topic: Chrome on Tablet Fullscreen
- Replies: 0
- Views: 13330
Chrome on Tablet Fullscreen
In the following example I noticed a very strange behavior of Chrome based browsers on an Android 10 tablet: If I click on the button, a full screen is generated. Chrome incorrectly authorizes the height of the screen. Only when I tap the touch screen again (NOT the button) does Chrome calculate the...
- Fri Jul 07, 2023 4:59 pm
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 10953
Re: Fullscreen Apple
But it's not about me. I'm programming a web app for the simple user. And he just wants to go to the site and play.
doesnt work with Apple!
Code: Select all
var elem = document.getElementById("myvideo");
if (elem.requestFullscreen) {
elem.requestFullscreen();
}
- Fri Jul 07, 2023 2:45 pm
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 10953
Re: Fullscreen Apple
And should a normal user do that?
I don't even understand that as a Spiderbasic programmer.
Isn't there a fullscreen command for Apple that works?
I don't even understand that as a Spiderbasic programmer.
Isn't there a fullscreen command for Apple that works?
- Fri Jul 07, 2023 9:04 am
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 10953
Fullscreen Apple
Unfortunately fullscreen() does not work on Apple phones and tablets for web apps.
Does anyone have an idea how to solve the problem?
Does anyone have an idea how to solve the problem?
- Thu Jun 29, 2023 6:24 am
- Forum: Coding Questions
- Topic: Zoom Firefox
- Replies: 1
- Views: 2607
Zoom Firefox
Unfortunately, zooming with Javascript does not work with Firefox. !document.body.style.zoom =0.5 / window.devicePixelRatio * 100 + "%" !v_width=document.body.clientWidth; !v_height=document.body.clientHeight; does does not work. Does anyone have any idea how to do this in Firefox?
- Wed Jun 21, 2023 4:59 pm
- Forum: Coding Questions
- Topic: Fullscreen without Click
- Replies: 3
- Views: 4329
Fullscreen without Click
Is there a way to start a web application in full screen? I know browsers want a button click, but that's exactly what I want to avoid because I want to start in full screen mode right away.