ViszinisA Posted April 27, 2006 Report Share Posted April 27, 2006 man ir bildiites un galerija onclick="java script: secondwindow = open('25352.jpg','name','height=xxx,width=xxx');"> kad nospiez scroll bar aizlec uz augshu tipa pie pashas augshas it kaa lapa paarlaadeetos Q1: ??? Q2: kapeec taa notiek???? Link to comment Share on other sites More sharing options...
Delfins Posted April 27, 2006 Report Share Posted April 27, 2006 tāpēc, ka drīzāk tev href-ā ir ielikts #, kas nozīmē `iezīme uz tukšumu`, kas pārsvarā netiek atrasts lapā un aizlec uz augšu... Link to comment Share on other sites More sharing options...
ViszinisA Posted April 27, 2006 Author Report Share Posted April 27, 2006 njaaa labi pienjemsim bet kaa izdariit lai nekur nelec?? lai paliek tur pat?? Link to comment Share on other sites More sharing options...
eglitis Posted April 27, 2006 Report Share Posted April 27, 2006 (edited) liec linku uz java script:void(0); (invision forums javascript paarveido par 2 vaardiem, jaabuut kopaa) Edited April 27, 2006 by eglitis Link to comment Share on other sites More sharing options...
GedroX Posted April 27, 2006 Report Share Posted April 27, 2006 (edited) Pietiek ar <a href="#" onclick="secondwindow=open('25352.jpg','name','height=xxx,width=xxx');return false;"> Edited April 27, 2006 by GedroX Link to comment Share on other sites More sharing options...
Delfins Posted April 27, 2006 Report Share Posted April 27, 2006 Nē, nepareiza ideoloģija - norādīt href-u un uz to neiet.. Link to comment Share on other sites More sharing options...
eglitis Posted April 27, 2006 Report Share Posted April 27, 2006 Nē, nepareiza ideoloģija - norādīt href-u un uz to neiet.. GedroX variantam jāpievieno hrefs uz attēlu un viss būs kārtībā. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 27, 2006 Report Share Posted April 27, 2006 (edited) Delfins --> # nenoraada uz tuksumu :) Bet gan noraada ka jaameklee tajaa pashaa lapaa.... ja aiz vinja nav nekas noraadiits tad brauzera iekseejaa programmatuura atgriezj erroru un lapa tiek a) aizdziita uz augshu , ja ir 1 tuksuma simbols b) parlaadeeta.... c) ??? iespeejams var notikt vel kas... -------------- uz neko noraada JS f-ja void() ar atribuutu 0 (ir iespeejami arii citi atribuuti kas katrs konkretajaa gadijumaa izsauks noteiktas brauzera darbiibas) ------- <cit>Nē, nepareiza ideoloģija - norādīt href-u un uz to neiet..</cit> par Sho Es pilniibaa piekriitu... Edited April 27, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
Stopp Posted April 27, 2006 Report Share Posted April 27, 2006 kas vispār ir void funkcija ? Link to comment Share on other sites More sharing options...
GedroX Posted April 27, 2006 Report Share Posted April 27, 2006 (edited) Funkcija void ir tas pats, kas function void() {} jeb neko neatgriež, lai arī kādi dati būtu padoti. Edited April 27, 2006 by GedroX Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 28, 2006 Report Share Posted April 28, 2006 (edited) GedroX --> tik tur tev taisniiba ka taa ir f-ja ... kas pati neko nedara, bet atgriezj to ko vinjai padevi... paareejais apsaluutas mulkjiibas.... 0 nav vieniigais parametrs ko vinjai var padot.... edit: ieliec savaa lapaa sho kodu <a href="java script:void(document.body.contentEditable = true)">bla</a> un uz IE apskaties kas notiks ;) Edited April 28, 2006 by Grey_Wolf Link to comment Share on other sites More sharing options...
bubu Posted April 28, 2006 Report Share Posted April 28, 2006 Grey_Wolf: kāds sakars piešķiršanas operācijai tā argumentā ar funkcijas izsaukumu? Atbilde - nekāds. Nemāci citiem, varbūt mazāk zinošākiem, muļķības. Tu voidam padevi true parametrā (piešķiršanas rezultātu). Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 28, 2006 Report Share Posted April 28, 2006 bubu --> bet straada tachu :) Link to comment Share on other sites More sharing options...
bubu Posted April 28, 2006 Report Share Posted April 28, 2006 Es nesaku, ka nestrādā. Es saku nevajag jaukt galvu tiem, kas šādas lietas labi vēl nesaprot. Link to comment Share on other sites More sharing options...
GedroX Posted April 28, 2006 Report Share Posted April 28, 2006 (edited) void funkcija "apslāpē" padotā argumenta vērtību, cik nu es to saprotu. Un Grey_Wolf--> ... kas pati neko nedara, bet atgriezj to ko vinjai padevi... tās nu gan, manuprāt, ir muļķības. Edited April 28, 2006 by GedroX Link to comment Share on other sites More sharing options...
Recommended Posts