Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fall Banner Contest?
#41
(08-31-2023, 11:53 PM)grymmjack Wrote: OK staging is up and yes it works @bplus @dbox

Check out staging with qbjs banner

Design your banner using 1400 x 256 as you have been, or whatever size, then before you release it, we use this code instead for your constants:

Code: (Select All)
Const xmx = _ResizeWidth - 2 '1400
Const ymx = _ResizeHeight - 5 '256
Cheers

That is not working well from my browser. It goes way past the right of my screen and I need to use the horizontal scroll to see it.

This is snap of the right side jutting well past normal page width:
   

For comparison this is how Terry's "1400 x 256" Banner fits across my screen:
   
b = b + ...
Reply
#42
OK last thing I was going to say after seeing this on staging.

If you format your banner code so that the most important stuff happens within the first 970px of the total 1400px width, it will make sure people with smaller resolutions will see the most important stuff.

For example @bplus you put the logo flush right - this is fine normally - but the IFRAME contents don't rescale when a smaller than 1400px width is used.

I tried this @dbox:
Code: (Select All)
<div style="position: relative; max-width: 1400px; min-height: 256px;box-sizing: border-box;">
&nbsp; <div style="position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%;">
<iframe frameborder="no" scrolling="no" allowfullscreen="true" src="https://qbjs.org/?mode=auto&amp;code=SW1wb3J0IERvbSBGcm9tICJsaWIvd2ViL2RvbS5iYXMiCkRvbS5Db250YWluZXIoKS5zdHlsZS5vdmVyZmxvdyA9ICJoaWRkZW4iCgoKJ09wdGlvbiBfRXhwbGljaXQKJ19UaXRsZSAiRmFsbCBGb2xpYWdlIDIwMTctMTAtMjEgYnkgYnBsdXMiCidmxCNmxiPEfCBTbWFsbEJBU0lDIDAuMTIuOSAoQis9TUdBKctCCid0ZXN0IGxhbmRzY2FwZSBhbmQg5ADVcmFpdCB2aWV3cyBmb3IgQW5kcm9pZAoneG14ID0gbWluKHhtYXgsIDQwMCkgOiB5yRc3MDAsIHltYXgpICfISQonT0sgaXQncyBqdXN0IHBsYWluIGJldHRlciBpbst+xHEKCicgMjAyMy0wOC0zMCBzdGFydCBvZiB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wsx1ffWN8s3yzfLMws7gGeRf8BnsU+/xHBzSz/BIDfLN8s3yzJLOoFxt8s31jfLN8s3yzLLOcCTucGzukBnU7/AZ3/BwvTLOgMD98sxljGLd8sxyzGLd8syCzFLd8sySzELd8syiwuMt8szCwuMt8s9AFg6QGdQv8BncY9/wmw02n/CKj/AfXfWN8s/xHB1Vj/B7rNLP8IEt9Y1CzuA+rpAZ1M/wGdzGn/AO3fLN8s3yzfLN8s3yzfLN8s3yzfLOsC/egUvukBnVX/AZ3/AuLfLN8s3yzfLN8s3yzfLN8s3yzfLNAs7xS+6QGdUP8Bnf8E19Ms5gCU/xUn/wmD31jfLOcE1/8AsP8C4t8s3yzfLN4s6QGdUv8Bnf8Bndlp/wFF/wGd31jfLP8BndRY/wnazSz/BkjOLP8GoNEs6B7y" style="width: 100%; overflow:hidden; height: 100%;"></iframe></div></div>
Which does resize the IFRAME, but the inner contents aren't receiving the "resize message" or something. Anyway...
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#43
(09-01-2023, 12:08 AM)bplus Wrote:
(08-31-2023, 11:53 PM)grymmjack Wrote: OK staging is up and yes it works @bplus @dbox

Check out staging with qbjs banner

Design your banner using 1400 x 256 as you have been, or whatever size, then before you release it, we use this code instead for your constants:

Code: (Select All)
Const xmx = _ResizeWidth - 2 '1400
Const ymx = _ResizeHeight - 5 '256
Cheers

That is not working well from my browser. It goes way past the right of my screen and I need to use the horizontal scroll to see it.

This is snap of the right side jutting well past normal page width:

Refresh - I had to add some other code to make it more friendly - read my latest post though - the qbjs doesn't automatically resize - we might need @dbox to help us make this more responsive.

Anyway, put the most important stuff on the left side Smile
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#44
@bplus what resolution are you using?

Here is what a smaller width looks like on my machine with my responsive fix in place:

[Image: Screenshot-2023-08-31-201401.png]

The width of the entire forum is min-width of 970px -  LMK how this works for you.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#45
(09-01-2023, 12:13 AM)grymmjack Wrote: @bplus what resolution are you using?

Here is what a smaller width looks like on my machine with my responsive fix in place:

[Image: Screenshot-2023-08-31-201401.png]

The width of the entire forum is min-width of 970px -  LMK how this works for you.

Here is what is happening with the resize stuff in QBJS (1400 pix being resized) :
   
Even the Logo placement is screwed up!

I think we should be working with much narrower pixel width and NOT screw around with resize.
Maybe the 970 you mentioned @grymmjack.

Glad I didn't start on moving the leaves yet!
b = b + ...
Reply
#46
I am using 100% resolution my screen is not even 1400 pixels in width:
   
b = b + ...
Reply
#47
How about if I redo my banner at 965 pixels and we see how that works?
b = b + ...
Reply
#48
(09-01-2023, 12:23 AM)bplus Wrote:
(09-01-2023, 12:13 AM)grymmjack Wrote: @bplus what resolution are you using?

Here is what a smaller width looks like on my machine with my responsive fix in place:

[Image: Screenshot-2023-08-31-201401.png]

The width of the entire forum is min-width of 970px -  LMK how this works for you.

Here is what is happening with the resize stuff in QBJS (1400 pix being resized) :

Even the Logo placement is screwed up!

I think we should be working with much narrower pixel width and NOT screw around with resize.
Maybe the 970 you mentioned @grymmjack.

Glad I didn't start on moving the leaves yet!
Couple of things @bplus

Don't add the _RESIZEWIDTH and height stuff use your constants 1400 x 256

Only need those once it goes INTO the iframe.

Do you know what I'm saying?

The _RESIZWIDTH looks at the extents of it's container - in the web this exists - in QB64 IDE the container is the full editor viewport, etc.

So remove that stuff, design to 1400x256, with title-safe area of left most 970px and you should be good.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#49
Reworked to match Terry's Banner on pixel width:

Fall Banner width 1090

   

But 970 is not so far off maybe go with that to be safe for everyone?
b = b + ...
Reply
#50
(09-01-2023, 12:30 AM)bplus Wrote: I am using 100% resolution my screen is not even 1400 pixels in width:

Right so then make the banner at 1400px x 256px in QBJS

Use your fixed widths of 700 x 128px or 1400 x 256 if you want.

The left 970px of the display should be titlesafe - so you can have trees rendering off the display that will get chopped at 970px boundary for your older resolutions - but for higher ones it will show more trees - title safe means put the stuff that you don't want cropped on the left most 970px.

Make sense?
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply




Users browsing this thread: 1 Guest(s)