I bought the script a few days ago. Great job. I'm impressed.
I created my first site and got the XHTML to validate through W3C.
Here's my problem. I'm showing random banners in the footer of my site. The code for the random banners is just copied from affiliate window. It now breaks my page validation.
Is there a way to push the links through jump.php so that my page will validate or is there a better solution?
Thanks in advance
John
Games Compare
Hi David,
Thanks for the quick reply.
I had a play with iframes and they kinda worked but I eventually settled on a php solution where I can just pass a parameter to a prog and it jumps to the right affiliate. Everything seems to validate now.
Cheers John
Games Compare
Hi John,
What about showing your banner code within an IFRAME? That would separate the banner HTML from the main page HTML, and shouldn't affect the validation of your pages. It should be straight forward to do. Simply take the code you are currently using to display banners, and save it into a separate file called banner.php. Then, add the following into the main page instead of the banner code:
<iframe width='468' height='60' src='/banner.php' />
You might want to change the width/height etc., but I think that will help..!
Cheers,
David.