I have code for DHTL popup in a html file.
Here is the file http://www.nutrition-malnutrition.org/popup.html

This is for my list. I want the sliding popup to appear on the home page
so I tried to include this file using PHP

<?php include("http://www.nutrition-malnutrition.org/popup.html"); ?>

It works OK in IE7 but it gets completely broken in Mozilla 2.

I have created a copy of the index at http://www.nutrition-malnutrition.org/xyz.html

Please suggest how to overcome this. Thanks in advance.

Member Avatar for GreenDay2001

uh..

it works perfectly with ie6 too.

I think there's something wrong with script. I mean the code its generating. Cause the php is processed at the server. So check if ther's something wrong with with script. You could also post it into php forum to check it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.