Is it possible?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back