Paulinjsh Posted November 24, 2005 Report Share Posted November 24, 2005 Tātad man ir lapa, kura izsauc popup. Popupā man notiek failu uploads. Tagad man vajadzētu, lai tas logs, kurš izsauca to popup pārlādējas. Kkā nesanāk, jo sūtot postu nomainās opener. Un tas vairs nav tas, kurš izsauca šo popup. Varbūt kādam ir kāds risinājums? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 24, 2005 Report Share Posted November 24, 2005 (edited) nesmu parliecinaats, bet man skjiet ka vecais opener saglabaajas ieksh loga histori.... pameegjini parakt tajaa virzienaa edit: faktisi openers jau ir no histori... (varbut?) Edited November 24, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 24, 2005 Author Report Share Posted November 24, 2005 Tu domā iekš window.history ?? Nu tur ir tikai 3 metodes. Un es domāju, tad opener tur neglabājas ;/ Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 24, 2005 Report Share Posted November 24, 2005 jau teicu nesmu parliecinaats...... teoreetiski var megjinaat tam visam logam (kas izsauc) pieskjirt unikaalu vardu un tad ar taa paliidziibu megjinaat paarlaadeet........ Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 24, 2005 Author Report Share Posted November 24, 2005 (edited) Stulbs jautājums: kā to vārdu piešķirt tam logam, kurš atver? Paldies, jau pats atradu un rakstīju atbildi :) Edited November 24, 2005 by Paulinjsh Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 24, 2005 Report Share Posted November 24, 2005 (edited) palaid sho skriptinju sapratiisi :) un pameegjini lapu norefreshot .... ;) <script language="JavaScript" type="text/JavaScript"> window.name='bla'; var a=window.name; alert(a) </script> Edited November 24, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 24, 2005 Author Report Share Posted November 24, 2005 (edited) Provēju bla.location.reload(), bet nu popaps tādu bla nezin ;/ Ei jāiet gulēt ;/ Edited November 24, 2005 by Paulinjsh Link to comment Share on other sites More sharing options...
Analgiins Posted November 24, 2005 Report Share Posted November 24, 2005 nevaig nekaadus window.history. Tas jau po..., ka popup`aa kaut kas redirekteejas (prieksh tam jau vinjs arii tiek atveerts, lai vinjaa kaut kas notiktu). Un tajaa popup`aa vajag izmantot window.opener.location.reload(); vai arii jaunais locations: window.opener.location = <jaunais_location>; Es citreiz pat daru taa, ka atveras editeeshanas popups, tur kaut kas notiek un ja viss ir ok, tad redirekteejas uz failu close_popup.php, kur notiek openera reloads un popup`a aizveershana; vienkaarshoti tas vareetu izskatiities hsaadi: window.opener.location,reload(); window.close(); window.opener.focus(); Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 24, 2005 Author Report Share Posted November 24, 2005 Thnx Grey_Wolf un Analgiins par palīdzību. Viss čikiniekā =D Izdarīju kā Analgiins teica un viss rabotajet :))) Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 24, 2005 Report Share Posted November 24, 2005 Paulinjsh--> es jau vakar pa nakti domaaju kaa tas var buut ka pazuud opener....., bet tu tik paarliecinoshi to pazinjoji ;) Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 24, 2005 Author Report Share Posted November 24, 2005 Nu es nepareizi viņu meklēju :) opener.window.location.reload() :) a vaidzēja window.opener.location.reload() :DDD Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 24, 2005 Report Share Posted November 24, 2005 Paulinjsh--> iesaku palasiit par JS dokumenta struktuuru (seciibu) :) 1 window 2. document 3...... Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 24, 2005 Author Report Share Posted November 24, 2005 Jau esmu lasījis :) Tikai bik bija piemirsies :) Link to comment Share on other sites More sharing options...
Recommended Posts