Forum » Programiranje » popup windows
popup windows

Loki ::
Kako priklicem en popup window v HTML?
Rabim za zemljevid.
Po moznost brez JS, ker ga ne obvladam.
TIA
Rabim za zemljevid.
Po moznost brez JS, ker ga ne obvladam.
TIA
I left my wallet in El Segundo

McAjvar ::
Brez JS mende navs mogu. Edina varianta bi bla da v novem oknu odpres:
a href="..." target="_blank"
v oklepajih, seve :>
a href="..." target="_blank"
v oklepajih, seve :>
"[...] the advance of civilization is nothing
but an exercise in the limiting of privacy."
- Isaac Asimov
but an exercise in the limiting of privacy."
- Isaac Asimov

darh ::
window.open('ime_fileta.html', 'scrollbars=no,resizable=no,status=yes,width=660,height=500');
tako pa to nardis z JS...
a kdo ve kako narest da refresha parent window ? Ker tole ne dela spljoh:
top.opener.top.window.location = top.opener.top.window.location;
mislm, dela ce hoc narest redirect na en drug page, refresh pa ne dela... svasta... any kluz ?
tako pa to nardis z JS...
a kdo ve kako narest da refresha parent window ? Ker tole ne dela spljoh:
top.opener.top.window.location = top.opener.top.window.location;
mislm, dela ce hoc narest redirect na en drug page, refresh pa ne dela... svasta... any kluz ?
Excuses are useless! Results are priceless!

McAjvar ::
Das neki link in mu das target="_parent" ?
Tko pise na www.w3c.org:
6.16 Frame target names
Except for the reserved names listed below, frame target names (%FrameTarget; in the DTD) must begin with an alphabetic character (a-zA-Z). User agents should ignore all other target names.
The following target names are reserved and have special meanings.
_blank
The user agent should load the designated document in a new, unnamed window.
_self
The user agent should load the document in the same frame as the element that refers to this target.
_parent
The user agent should load the document into the immediate FRAMESET parent of the current frame. This value is equivalent to _self if the current frame has no parent.
_top
The user agent should load the document into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent.
Tko pise na www.w3c.org:
6.16 Frame target names
Except for the reserved names listed below, frame target names (%FrameTarget; in the DTD) must begin with an alphabetic character (a-zA-Z). User agents should ignore all other target names.
The following target names are reserved and have special meanings.
_blank
The user agent should load the designated document in a new, unnamed window.
_self
The user agent should load the document in the same frame as the element that refers to this target.
_parent
The user agent should load the document into the immediate FRAMESET parent of the current frame. This value is equivalent to _self if the current frame has no parent.
_top
The user agent should load the document into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent.
"[...] the advance of civilization is nothing
but an exercise in the limiting of privacy."
- Isaac Asimov
but an exercise in the limiting of privacy."
- Isaac Asimov

Loki ::
Sam ka k jest ne uporabljam frejmov, ane?
Sicer bom pa ze kej probal z JS naredit.
Sicer bom pa ze kej probal z JS naredit.

I left my wallet in El Segundo

McAjvar ::
Pa pa pa.. AARGH!
Nima veze al uporabljas frejme al ne. ce das target="_blank" bo odpru v novem oknu, basta. sej zato ne rabs frejmov rabit.
Nima veze al uporabljas frejme al ne. ce das target="_blank" bo odpru v novem oknu, basta. sej zato ne rabs frejmov rabit.
"[...] the advance of civilization is nothing
but an exercise in the limiting of privacy."
- Isaac Asimov
but an exercise in the limiting of privacy."
- Isaac Asimov
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Apache - localhost JA, IP naslov NEOddelek: Omrežja in internet | 6675 (6534) | ManDriver |
» | Navigacija v Total CommanderjuOddelek: Operacijski sistemi | 2123 (1801) | R33D3M33R |
» | dreamweaver, flash in framesetsOddelek: Izdelava spletišč | 949 (924) | tec |
» | IE odpira strani v novih oknihOddelek: Izdelava spletišč | 1734 (1701) | Zzzzzzz |
» | flash in DWOddelek: Izdelava spletišč | 1294 (1169) | Loki |