Does widget code gets executed when sidebar is collapsed?
-
Dear friends,
I display some ads in my sidebar using text widget (with tag from the ad network). Depending on the mobile device resolution, sidebar may be collapsed.
I want to know if even though the sidebar is hidden, does it still execute the widget code and probably contact ad server to get the ad? It will not be visible until user expands the sidebar.
I don’t know how to verify it. Any insight will be helpful from the community.
If the answer is Yes, is there a way not to execute the code if the resolution is:
primary bar – between 480 and 960
Secondary bar – between 480 and 1200Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Does widget code gets executed when sidebar is collapsed?’ is closed to new replies.