My attempt to scroll a field on the web

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Kangaroo SW
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 33
Joined: Sat Jan 15, 2011 10:57 am

My attempt to scroll a field on the web

Post by Kangaroo SW » Mon Apr 25, 2022 12:36 pm

Hello all

I do a lot of experiments with the new WASM Web Engine recently. I found that scrolling is not
natively supported.

Here my attempt, to scroll a LC native field, as well as changing the cursor on the web page.

I hope this is useful for some one, or shows at least the some new web capabilities for those interested. :P


Cheers
Kangaroo
Attachments
WebScrollField.zip
(6.15 KiB) Downloaded 131 times

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Tue Feb 23, 2010 10:53 pm
Location: Saint Louis, Missouri USA

Re: My attempt to scroll a field on the web

Post by bobcole » Mon Apr 25, 2022 4:27 pm

I, too, have had a scrolling field that doesn't work well.
I downloaded your file and will spend some time looking at your solution.
Thank you for posting your stack.
Bob

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3975
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: My attempt to scroll a field on the web

Post by bn » Tue Apr 26, 2022 8:39 am

Hi Rolf,

your javascript solution works like a charm in your WASM standalone example stack. Thank you for sharing.
It seems that knowing javascript is really helpful with regards to WASM.

Kind regards
Bernd

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: My attempt to scroll a field on the web

Post by williamdesmet » Thu Apr 28, 2022 7:43 pm

Brilliant!

Post Reply

Return to “HTML5”