QB4PE Spring Banner Contest! - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: Announcements (https://qb64phoenix.com/forum/forumdisplay.php?fid=18) +--- Thread: QB4PE Spring Banner Contest! (/showthread.php?tid=2500) |
RE: QB4PE Spring Banner Contest! - bplus - 03-22-2024 OK here's my submission: RE: QB4PE Spring Banner Contest! - dbox - 03-22-2024 Nice one @bplus! I like the animation effect. RE: QB4PE Spring Banner Contest! - Pete - 03-22-2024 I dare it rain on my Windows! Hey, what's up? Spring was yesterday and I still haven't received my prize money!!!!!!!!!!!!!!!!!!!! Pete RE: QB4PE Spring Banner Contest! - bplus - 03-23-2024 (03-22-2024, 10:12 PM)dbox Wrote: Nice one @bplus! I like the animation effect: Thanks for the animation, I was hoping someone could figure it out I wonder why the easter egg isn't working in your code, while running from IDE? from my download check: It's not too hard to find. RE: QB4PE Spring Banner Contest! - Pete - 03-23-2024 I found the egg, but I suppose I won't get a prize for that either. I miss the old .net site. At least with the <marquee> tag we could throw each other a parade! [marquee] [/marquee] See? Does nothing! Pete - I love a pair-raid. I get some of the best fruits there. RE: QB4PE Spring Banner Contest! - bplus - 03-23-2024 I found the error in dbox code: Code: (Select All) For i = 0 To nDrops Quote:but I suppose I won't get a prize for that either RE: QB4PE Spring Banner Contest! - dbox - 03-23-2024 Ah, good catch @bplus. I forgot to undo some of my debugging. RE: QB4PE Spring Banner Contest! - RhoSigma - 03-23-2024 Problem is, we tried something with animation last time already, and it didn't turn out good for most people as it steals focus and scrolls the animation into the visible Browser area with each new loop. So we finally made it a still image again. Just from clicking "Reply" here I see it still does the same. Instead bringing the editor area into the visible space, it immediately scrolls down to the first animation and also burns the CPU here. As long as QBJS behaves that way, animation is a "no go" at least for me. RE: QB4PE Spring Banner Contest! - dbox - 03-23-2024 (03-23-2024, 08:13 AM)RhoSigma Wrote: Problem is, we tried something with animation last time already, and it didn't turn out good for most people as it steals focus and scrolls the animation into the visible Browser area with each new loop. So we finally made it a still image again.Yes, that was clear from the feedback last time. That wasn't intended to be a submission or suggestion that bplus' submission be shown in qbjs. RE: QB4PE Spring Banner Contest! - RhoSigma - 03-23-2024 (03-23-2024, 11:17 AM)dbox Wrote:(03-23-2024, 08:13 AM)RhoSigma Wrote: Problem is, we tried something with animation last time already, and it didn't turn out good for most people as it steals focus and scrolls the animation into the visible Browser area with each new loop. So we finally made it a still image again.Yes, that was clear from the feedback last time. That wasn't intended to be a submission or suggestion that bplus' submission be shown in qbjs. Burning CPU is not as important, many www pages do burn it with tons of animated ads, but those ads usually don't make themself important by directly scrolling into the visible area. So the question is: Can QBJS do something against this, or is it a general JavaScript behavior which can't be influenced and which depends on browser implementation, so we just have to live with it? |