eM^ Posted February 20, 2007 Report Share Posted February 20, 2007 Vai ir iespējams izveidot POP-UP tā lai viņš rādās pat, ja browseri Pop-Up Blocker ir uzstādīts uz maksimālu aizsardzību? Link to comment Share on other sites More sharing options...
Kristabs Posted February 20, 2007 Report Share Posted February 20, 2007 Jā, bet ne pop-up tādā 'pārlūka jaunā logā' izpratnē, bet bloku (piem.,div) ar aboslūtu pozīciju, kuram css display tiek nomainīts no none uz block. Link to comment Share on other sites More sharing options...
andrisp Posted February 20, 2007 Report Share Posted February 20, 2007 :) Bet vispār esmu redzējis metodi, ka popupu (javascript onclick eventu) pieliek vienkārši kādam parastam navigācijas elementam vai pat body tagam. Link to comment Share on other sites More sharing options...
Stopp Posted February 20, 2007 Report Share Posted February 20, 2007 body tagam onclcku kabināt klāt ir diezgan populārs pasākums. Bet efektīvāku veidu es tev neteikšu - ja nav tāda reklāmas veida, tad nav. Link to comment Share on other sites More sharing options...
eM^ Posted February 20, 2007 Author Report Share Posted February 20, 2007 ^^ man nevajag neko reklameet, bet gan ielikt beisbola komandas aprakstu! :P Link to comment Share on other sites More sharing options...
Stopp Posted February 20, 2007 Report Share Posted February 20, 2007 Eh, batoni. Pārlūkprogramma bloķē popupu tikai tad, ja viņš ir pie kaut kādiem onloadiem vai vispār beznosacījuma. <a href="#" onclick="window.open('apraksts.html');">apraksts</a> darbosies. Ko vēl tev vajag? Link to comment Share on other sites More sharing options...
eM^ Posted February 20, 2007 Author Report Share Posted February 20, 2007 tieši šo ari lietoju, bet nedarbojas... Link to comment Share on other sites More sharing options...
andrisp Posted February 20, 2007 Report Share Posted February 20, 2007 Nu tad tev vienkārši līks skripts, jo popapus no onclick eventa neviens nebloķē (cik man zināms). Link to comment Share on other sites More sharing options...
Stopp Posted February 20, 2007 Report Share Posted February 20, 2007 Ja nu vienīgi <a href="kaut_kaads_fails.html" onclick="window.open('cits_fails.html');">a</a> varētu. Link to comment Share on other sites More sharing options...
Kristabs Posted February 20, 2007 Report Share Posted February 20, 2007 Nu tad tev vienkārši līks skripts, jo popapus no onclick eventa neviens nebloķē (cik man zināms). IE 7 pamēģini... Link to comment Share on other sites More sharing options...
andrisp Posted February 20, 2007 Report Share Posted February 20, 2007 Nez, man uz IE7 arī viss strādā. Btw, ja sāktu bloķēt popap logus, kas nāk no linku onclick eventiem, tad daudzas web aplikācijas vienkārši nebūtu lietojamas. Link to comment Share on other sites More sharing options...
eM^ Posted February 21, 2007 Author Report Share Posted February 21, 2007 (edited) ehh man ir onclick events uz <table> taga un tad laikam tas neder? EDIT: Kods: http://paste.php.lv/5179 Edited February 21, 2007 by eM^ Link to comment Share on other sites More sharing options...
andrisp Posted February 21, 2007 Report Share Posted February 21, 2007 Uz table arī jāstrādā ir. Parādi savu kodu. Link to comment Share on other sites More sharing options...
andrisp Posted February 21, 2007 Report Share Posted February 21, 2007 Man strādā gan uz IE6, gan uz FF2. Uz IE7 gan nepaskatījos, bet esmu pārliecināts, ka tur arī jāstrādā. Link to comment Share on other sites More sharing options...
Recommended Posts