Hallo, ik heb een paar iframes op mijn pagina, maar nu heb ik het probleem det ze mijn iframe breken. Weet iemand een manier om framebrekers tegen tegentegaan?
IFrame Breaken tegengaan.
Geen i-frames gebruiken, maar tabellen en dan dit in de div van je tabel neerzetten:
overflow: auto;
Dan kan je met een tabel ook naar boven en beneden scrollen.
overflow: auto;
Dan kan je met een tabel ook naar boven en beneden scrollen.
Moeilijk he, googlen...
Quote:
Frame Breaker script:
function frame_breaker()
{
if (top != self)
{
top.location.href = location.href;
}
}
And Anti Frame Breaker script:
The whole idea is to stop execution of javascript in the frame/iframe which doesnt suppose to takeover parent frame/window.
First put this function between html head tags:
Then just add onload event handler to iframe you want to supress, like this:
Quote:
Frame Breaker script:
function frame_breaker()
{
if (top != self)
{
top.location.href = location.href;
}
}
And Anti Frame Breaker script:
The whole idea is to stop execution of javascript in the frame/iframe which doesnt suppose to takeover parent frame/window.
First put this function between html head tags:
Then just add onload event handler to iframe you want to supress, like this:
Hij kon google vast niet vinden
.
Succes met je website!
.Succes met je website!