Page 1 of 1

Stop the loading...

Posted: Fri Jun 03, 2005 6:15 pm
by Sacapuss
Hi !

To transfer on my page a file content (another way than with php), i wrote the following code :

Code: Select all

<iframe
src=&quote;Site/logos.html&quote;
name=&quote;iframe&quote;
onload=&quote;document.getElementById('logos').innerHTML=iframe.document.body.innerHTML&quote;
style=&quote;display:none&quote;
>
</iframe>

<span id=&quote;logos&quote;></span>
It works fine... except the page loads the images (contained in the called file) without ending.

How can i stop the loading ?

If one of you has an idea ...

Posted: Sat Jun 04, 2005 6:10 am
by R0d Longfella
I'm not sure what the problem is. The code works for me. If you mean to load something else in the iframe, then you can use iframe.src="anythingelse.html".

Thanx for your answer, R0d Longfella !

Posted: Sun Jun 05, 2005 10:04 am
by Sacapuss
Thanx for your answer, R0d Longfella !