Stop the loading...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Sacapuss
Forum Commoner
Posts: 40
Joined: Mon May 16, 2005 9:46 pm
Location: Earth...

Stop the loading...

Post 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 ...
R0d Longfella
Forum Newbie
Posts: 20
Joined: Fri Apr 08, 2005 7:17 am

Post 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".
User avatar
Sacapuss
Forum Commoner
Posts: 40
Joined: Mon May 16, 2005 9:46 pm
Location: Earth...

Thanx for your answer, R0d Longfella !

Post by Sacapuss »

Thanx for your answer, R0d Longfella !
Post Reply