I have a problem when i want to show a banner on a site.
So, on the site A, www.domainA.com/banner.php - is just a banner
On the site B, www.domainB.com, in the right side, i want to show the banner, that is generated on the site A.
I tried this with ajax, and the code that i have to insert on site B is:
Code: Select all
<script type="text/javascript" language="javascript" src="http://www.domainA.com/include/show_banner.js"></script>
<script>show_banner_content();</script>
<div id="msg_err_rapid_login"></div>
When i tried this on localhost, is ok, but when i put this online, does not want to work!
Can you please tell me why?
Thanks!