Zdravim, mam jeden hodne velkej problem..Mam tlačítko na stránce která je ve vnořeném rámu a potřebuji vědět to, jak udělat aby když na tlačítko klepnu tak se mi cilova stranka objevi na celé stránce a ne v tom rámu.. díkys
zkus javascript window.open("soubor.html","_top", "");, ale nevim, jestli to pomuze...
a kam to mam presne napsat?
a co window.parent.location.href = "stranka.html"; ?
FUNGUJE TO ! FAKT DIK! :-)
http://www.jakpsatweb.cz/javascript/objekt-window.html
A prečo JavaScript? Nestačí target="_parent" alebo "_top"?
nejde o odkaz, ale o formularove tlacitko.
Form pozná tiež atribút target.
Nepozná.
<!ATTLIST FORM
%attrs; -- %coreattrs, %i18n, %events --
action %URI; #REQUIRED -- server-side form handler --
method (GET|POST) GET -- HTTP method used to submit the form--
enctype %ContentType; "application/x-www-form-urlencoded"
accept %ContentTypes; #IMPLIED -- list of MIME types for file upload --
name CDATA #IMPLIED -- name of form for scripting --
onsubmit %Script; #IMPLIED -- the form was submitted --
onreset %Script; #IMPLIED -- the form was reset --
accept-charset %Charsets; #IMPLIED -- list of supported charsets --
>
<!ATTLIST BUTTON
%attrs; -- %coreattrs, %i18n, %events --
name CDATA #IMPLIED
value CDATA #IMPLIED -- sent to server when submitted --
type (button|submit|reset) submit -- for use as form button --
disabled (disabled) #IMPLIED -- unavailable in this context --
tabindex NUMBER #IMPLIED -- position in tabbing order --
accesskey %Character; #IMPLIED -- accessibility key character --
onfocus %Script; #IMPLIED -- the element got the focus --
onblur %Script; #IMPLIED -- the element lost the focus --
%reserved; -- reserved for possible future use --
>
<!ATTLIST INPUT
%attrs; -- %coreattrs, %i18n, %events --
type %InputType; TEXT -- what kind of widget is needed --
name CDATA #IMPLIED -- submit as part of form --
value CDATA #IMPLIED -- Specify for radio buttons and checkboxes --
checked (checked) #IMPLIED -- for radio buttons and check boxes --
disabled (disabled) #IMPLIED -- unavailable in this context --
readonly (readonly) #IMPLIED -- for text and passwd --
size CDATA #IMPLIED -- specific to each type of field --
maxlength NUMBER #IMPLIED -- max chars for text fields --
src %URI; #IMPLIED -- for fields with images --
alt CDATA #IMPLIED -- short description --
usemap %URI; #IMPLIED -- use client-side image map --
ismap (ismap) #IMPLIED -- use server-side image map --
tabindex NUMBER #IMPLIED -- position in tabbing order --
accesskey %Character; #IMPLIED -- accessibility key character --
onfocus %Script; #IMPLIED -- the element got the focus --
onblur %Script; #IMPLIED -- the element lost the focus --
onselect %Script; #IMPLIED -- some text was selected --
onchange %Script; #IMPLIED -- the element value was changed --
accept %ContentTypes; #IMPLIED -- list of MIME types for file upload --
%reserved; -- reserved for possible future use --
>
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Transitional
<!ATTLIST form
%attrs;
action %URI; #REQUIRED
method (get|post) "get"
name NMTOKEN #IMPLIED
enctype %ContentType; "application/x-www-form-urlencoded"
onsubmit %Script; #IMPLIED
onreset %Script; #IMPLIED
accept %ContentTypes; #IMPLIED
accept-charset %Charsets; #IMPLIED
target %FrameTarget; #IMPLIED
>
los.:
>target %FrameTarget; #IMPLIED
ale to plati jen pro submit, ne?
>ale to plati jen pro submit, ne?
Áno.
ACHHCHHA mam velke j problem primo mega problem ! S par kamosama vytvarime hry a chtel sem udelat server mam ho i udelany kouknete jestli poznate co je tam za chybu :-D www.labik-studio.wz.cz nefungujou mi tlacitka a kdz nehybete mysi a zejedete s ni pod aktualizovat pise to vlevo dole - load: class phover not found ale ja tam fphover.class nahral ! Diwne ze? Prosim pomozte NAM!
zkus ty tlacitka udelat v html.. budes mit lepsi pocit..
>Diwne ze?
souhlasim
<applet code="fphover.class" codebase="../UFO/" width="120" height="24">
uz nevim co to je codebase, ale myslim ze tam ma bejt neco jinyho..
bouzel mam smolu v HTMl neumim delal sem to pres frontpage a mojemu tatkovi to jde ale mne ne :-( To je divne class fphover not found kdyz sem to tam nahral!
NESNASIM WEBZDARMA! je to sice lepsi ne mujweb ale na mejweb mi to faka www.mujweb.cz/www/gtasaweb ted delam neco jineho ale na muj web funguje a u vas ne! Toz co je to za bordel!
UZ TO JEDE!EEEEEEEEEEEEEEEEEEEEEYEEEEEEE
hmmm:
kdyz nesnasis WebZdarma,nemusis mit na nem web...
heh.. tak sem mu radil dobre :-|
>donny
on nema nic prot wz.. jenom to spatne pojmenoval :] chtel tim rict ze nesnasi Javu