NameSilo

Is it possible?

Spaceship Spaceship
Watch

dc1pop

VIP Member
Impact
13
I have a sidebar on my site and the pages obviously have varying heights.

Is there any possible way that if a page isnt a certain height (or the coloum) i can stop somethign appearing.

For example if i have a banner add 120x600 on a page that is only 800 pixels high and the header and footer also aquring space it will leave a gap at the bottom of the site.

Is their a way to make it so the ad will not show?

Thanks :)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
Yes, with PHP/JavaScripts (or even both)
You will must to read the image size (with a software like GMagic in PHP) , and also autosubmit via JavaScript your website size, lol :)


And then compare it :) It can be done, and it's easy , sorry for not having inaf nervs for writing the code for you
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back