Quote:
Originally Posted by neverstop
Hi,
I am having trouble with the ajax rotator. I have an iframe adcode from an advertiser. When the ad roatates it is adding a slash to the iframe src url. For example:
Code:
<div class="alt2"><iframe src="http://www.domain.com/aff.html" background="#F5F5FF" align="middle" frameborder="0" height="625" scrolling="no" width="125"></iframe></div>|<div class="alt2"><iframe src="http://www.domain.com/aff.html" background="#F5F5FF" align="middle" frameborder="0" height="625" scrolling="no" width="125"></iframe></div>
When the ajax refreshes the block I get a 404 in the iframe as the url is now " /http://www.domain.com/aff.html" (notice the slash before http).
Any way to solve this?
Cheers,
Ian
|
Quote:
Originally Posted by neverstop
Hi,
That is the exact code (except I am editting out the domain name). I get a 404 message that says exactly:
The requested URL /"http://www.domain.com/aff.html" was not found on this server.
(FYI in the admincp: The requested URL /admincp/"http://www.domain.com/aff.html" was not found on this server.)
This is in a custom adcode block. On the initial pageload it works fine, but when the ajax refreshes the block I get the 404.
Cheers,
Ian
|
Have you had a chance to look into this one (the leading slash on an iframe url when the ajax refreshes)?