J
Jason Carlton
I'm using screen.width to find the visitors screen size, and then
absolutely positioning Google ads based on their width. I'm doing this
so that the ad is the last thing to load on the page, so it doesn't
slow the page down noticeably for the visitor.
This works fine for 95% of my traffic, but when someone has one of the
"Explorer bars" on (those sidebars for Favorites, History, or Feeds),
or less often more my traffic, if they don't have their browser
maximized, then it places the ads in a different location.
Is there a way to tell if this bar is on? I had thought about placing
a DIV tag on the page with a width of 100%, then using Javascript to
measure the width of that tag to determine the screen width instead of
using screen.width, but I'm not positive that this would work
correctly, much less whether it's the best choice.
TIA,
Jason
absolutely positioning Google ads based on their width. I'm doing this
so that the ad is the last thing to load on the page, so it doesn't
slow the page down noticeably for the visitor.
This works fine for 95% of my traffic, but when someone has one of the
"Explorer bars" on (those sidebars for Favorites, History, or Feeds),
or less often more my traffic, if they don't have their browser
maximized, then it places the ads in a different location.
Is there a way to tell if this bar is on? I had thought about placing
a DIV tag on the page with a width of 100%, then using Javascript to
measure the width of that tag to determine the screen width instead of
using screen.width, but I'm not positive that this would work
correctly, much less whether it's the best choice.
TIA,
Jason