NameSilo

Is it possible?

SpaceshipSpaceship
NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
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

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back