Yuk...floating web adverts
Posted: Fri Jun 02, 2006 6:38 am
A client of ours has gone on a marketing course and has come back thinking he knows everything and is now set to destroy his recently rebuilt website with his insistance on a dhtml "pop-up" (not a true pop up window) that swoops onto his homepage with some cheesy message or other.
Now since I have a moral objection to such tackiness on a website I've never created one before, and as a result don't know how. I've tried a few free scripts but the only way I've got them to work without breaking my css layouts or doing something unexpected is to place them at the top of the html document before any other content. I find this unacceptable on a home page as this means it is the first thing to be indexed by search engines.
My next problem is that many of them require the body onload()/window.onload() event. This website runs off a single index.php page with the appropriate sections loading in from a website depending on the query string. That means that the swoopy advert would reload everytime the user navigated to a new page.
I would need to set a session variable or something when the user clicks the close icon on this floaty div, so that the ad would not run again, but given that the close action will probably be carried out by javascript, I'm not entirely sure how to perform this.
Anyone got any experience with these things, or know how these sites with transparent flash ads, dhtml ads etc actually implement them without breaking their layouts?
Now since I have a moral objection to such tackiness on a website I've never created one before, and as a result don't know how. I've tried a few free scripts but the only way I've got them to work without breaking my css layouts or doing something unexpected is to place them at the top of the html document before any other content. I find this unacceptable on a home page as this means it is the first thing to be indexed by search engines.
My next problem is that many of them require the body onload()/window.onload() event. This website runs off a single index.php page with the appropriate sections loading in from a website depending on the query string. That means that the swoopy advert would reload everytime the user navigated to a new page.
I would need to set a session variable or something when the user clicks the close icon on this floaty div, so that the ad would not run again, but given that the close action will probably be carried out by javascript, I'm not entirely sure how to perform this.
Anyone got any experience with these things, or know how these sites with transparent flash ads, dhtml ads etc actually implement them without breaking their layouts?