| Could this be done with any language? Hi there
At the moment, I'm using free hosting with a host that puts code at the end of every webpage I make to embed an ad block into the page. It's annoying because it pushes the page content over to one side unless the ad block is closed. The host uses:
<!-- Ads by XPanel " " ' ' --></iframe></script></noframes></noscript></noembed><script src='http://www.blahblah.com/ads_by_google.php' type=text/javascript></script>
<!-- Ads by XPanel -->
I can put <noembed><xmp> at the end of my code to stop this, and it works, but I might lose my site so am not doing it.
I'm putting forward an idea to the admin of the hosting provider about an alternative idea to stop this annoying embedding and its unwanted side-effect of squashing the content over to one side and also if you use themed or coloured margins either side, you can't include the ad block in one of them, it all just gets moved over. Others are suffering problems cos of this ad block embedded too.
My idea is for the hosting provider to give the option of using a link they provide so the web maker can put this into their code, allowing them to place the ad wherever they like. Trouble is, people will then just simply not put the link in and hope not to get caught.
My question is, using any type of code, would it be possible for the normal embedded code to be included in the page unless it detects the appropriate link or something?
If that's not possible, a workaround that suits me (although who knows what would happen if caught) would be to use the noembed and xmp commands to stop the embedding, and then insert the Google ad block where I like it, using the link in the code. I tried this, but the ad block would not load in the cells where I put the link, instead still loading outside of my page content. Is there a way around this? Any idea what might be in their server-side code which is causing this behaviour? I can't see it'd get the website closed if I could get it working, as the ad block would be there and they'd be getting their per click revenue as normal...
Many thanks. |