Code Monkey home page Code Monkey logo

Comments (10)

JoeyDeVries avatar JoeyDeVries commented on September 27, 2024 2

This is perfect, thank you; I'm going to look into it. Will keep you updated!

from learnopengl.

JoeyDeVries avatar JoeyDeVries commented on September 27, 2024 2

This is super helpful, thank you! It looks like an ad is overruling my default-hide behavior (unless content is large enough) which is why they're visible without positioning logic happening yet. I'm currently discussing this with my ad agency. I've pushed a hotfix for now which hopefully makes it a little less annoying, but not sure if it'll be enough. Hopefully you can at least use the menu (:

I'll keep you posted

from learnopengl.

JoeyDeVries avatar JoeyDeVries commented on September 27, 2024 2

Okay, been some back and forth; and had to rewrite some backend logic to make it all work. Turns out some javascript magic of hiding ads when content size isn't big enough can mess with ads sometimes. Should be visible at all times so I reworked this logic to the server. I expect things'll be a lot better and it should be fixed. Let me know if it still happens!

from learnopengl.

ArcE404 avatar ArcE404 commented on September 27, 2024 1

Thank you, for taking care and finding a solution! :)

from learnopengl.

JoeyDeVries avatar JoeyDeVries commented on September 27, 2024

Shit, this is definitely not the right behavior, sorry! Second time I've been hearing of this and thought it was fixed.

Do you have some extra info for me to see if I can try and reproduce?

  • What OS/Browser are you using?
  • Screen/window size browser window?
  • On desktop or mobile?
  • What country are you visiting website from? (If you want to share, otherwise ignore)

Thanks!

from learnopengl.

ArcE404 avatar ArcE404 commented on September 27, 2024

Sure thing:
I'm using chrome on a Windows 10 computer (desktop), it appears in a full-size window on a 1920×1080px screen
I'm from Costa Rica, I'm doing a Spanish translation, that's why I also know that the same behaviour is on the translations page 😅
hope it helps, please let me know if you need something else :)
image

from learnopengl.

JoeyDeVries avatar JoeyDeVries commented on September 27, 2024

Hey, I can't seem to be able to figure out what's happening. If you're familiar with browser dev tools, would you be able to tell me the following?

  • Does it happen all the time? Or only on certain pages? Or randomly?
  • Name of the ad unit that's causing this (look for uppermost div parts where it says something like <div id="waldo-tag-2246"></div>.
  • Size of the ad unit? e.g. 200x600, or 150x300.

I'll keep debugging on my end to see if I can reproduce/figure-it-out. Sorry for the inconvenience!

from learnopengl.

ArcE404 avatar ArcE404 commented on September 27, 2024

Is not an inconvenience, I'm happy to help :D

here is the HTML component of the ad:

<div id="waldo-tag-15905" class="waldo-display-unit up-show" style="min-height: 600px;" data-google-query-id="CJ24tNW81YIDFaaj0QQd8JsCjA"></div>

The ad is 160x600px.

Pasted image 20231121110852

The bug constantly appears in the learnopengl.com path, the learnopengl.com/Introduction path and the translations' path. I don't see it in other places, only these.

If it helps, as you can see, the add, and its iframe component, is inside the div component with the id="nav", the same place where the list of options is located
Pasted image 20231121110748

Tell me if you need something else ;)

from learnopengl.

ArcE404 avatar ArcE404 commented on September 27, 2024

Everything works correctly now! And yes, JS can be a mess sometimes, tell me about it.
Thank you for resolving this issue, and thank you for all the information that is on the page, I'm really love all this stuff about graphics programming, shaders and stuff. I think I found a new passion within my passion (which is programming)

Thanks,
Augusto

from learnopengl.

JoeyDeVries avatar JoeyDeVries commented on September 27, 2024

Of course, thanks for letting me know! And wonderful to hear ❤️ there's truly something special about creating your own graphics/stuff from nothing; enjoy the process! :D

from learnopengl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.