Is it possible to hide ads on your own website by using JavaScript? The small image (or window) should appear where the ads are placed and cover them up. By using the color of the background of the page it would look like there are no ads at all. I don't know much about JavaScript, but I've seen some websites using banners to cover up some parts of the page so you can't read it until you click the X button. So it should be possible to use JavaScript to cover up just the ads on your own website. But does anybody know how to do it?
This is an example of the window I had in mind: http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm Anyway, I'm new to all this JavaScript business and I don't know how to customize these things. So if anyone has done such things before or knows how to do it - any help will be appreciated! Really This window widget should have the following characteristics: - it should stay still where I put it - it shouldn’t move when you scroll down the page (good example: http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm) - website visitors shouldn't be able to move it - it shouldn't have visible boarders and X button, just background color
yes, it is possible to position elements of any size anywhere. but you need to start a few more threads before somebody can give you a sensible reply... personally, i only start to notice a question when there are 5-6 versions of it posted and at least 2-3 thread bumping posts (for good measure) ...
It happened because the page didn't load completely when I clicked Submit button so I thought the topic wasn't posted and I started the same thread again. When I saw what I've done I could only delete the message - there should be Delete thread button too! Anyway hope admin will delete them soon. So what about anything on-topic?
Why would you want to? If you control the ads, then you can just not display them at all. If you don't (ie a free web host with banner ads) you might be able to do it but your account would probably get suspended
If ads are part of the contract for you using someone else's services, you don't want to hide them. They are part of the "payment" for using those services. Hiding them would make you a liar (because you agreed to show them) and a thief (because you are stealing the space that rightfully belongs to those ads). If the above is not the case, then simply exclude them from your pages by removing their links. No need to cover them up nor hide them.