Ebben az iFrame-ben
fog megjelenni az új tartalom, a lenti linkek megnyomása után.
Viszonylag egyszerű az egész, csak a getURL() utasításra
lesz szükségünk, megfelelően paraméterezve.
Forrást nem is mellékelek, nincs rá szükség.
2 paramétert adunk meg, ezek közül az első, hogy mit töltsön be, s a második,
hogy hova (azaz a frame neve, de most az iFrame-et adjuk meg neki) :
getURL("13_geturl_load_into_a_frame/new_content.html", "my_iFrame");
A második paraméter lehet még:
_self - az aktuálisban, azaz magában nyitja
meg.
_blank - új ablakban nyitja meg.
_parent - az aktuális szülőjében nyitja meg.
_top - a legfelső szinten lévőben nyitja meg.
In this iFrame will
appear the new content, after you pushed one of the links below.
It's so easy, we only need the gteURL() command with
right parameters.
I don't attach source, we don't need it.
We add 2 parameters to it, the first is what content will be load,
and the second where to load the content (so the frame name, but now this will
the iFrame)
getURL("13_geturl_load_into_a_frame/new_content.html", "my_iFrame");
The second parameter sholud be:
_self - specifies the current frame in the current
window.
_blank - specifies
a new window.
_parent - specifies
the parent of the current frame.
_top - specifies the
top-level frame in the current window.