Devils666 Posted March 14, 2010 Report Share Posted March 14, 2010 Sveiki, man tāda problēma, ka reģistrācijas forma, tiek paslēpta/parādīta iekš Javascript, bet tā ka es gribu uztaisīt lapu, kas butu lietotāju draudzīga un strādatu gan uz visiem IE, gancitiem browseriem gribu ari, lai viss stradātu bez javascript tāpēc, vai kāds nezin kā paslēpt/paradīt DIV, varētu bez JavaScript? Quote Link to comment Share on other sites More sharing options...
2easy Posted March 14, 2010 Report Share Posted March 14, 2010 vajag gribēt savienojamas/apvienojamas lietas, nevis viena otru izslēdzošas... Quote Link to comment Share on other sites More sharing options...
Devils666 Posted March 14, 2010 Author Report Share Posted March 14, 2010 (edited) es kaut kad sen redzēju vienu tutorāli, kur tas bija uztaisits ar css + div, bez js, bet nu tagad vairs tādu nekur nevar atrast Edited March 14, 2010 by Devils666 Quote Link to comment Share on other sites More sharing options...
2easy Posted March 14, 2010 Report Share Posted March 14, 2010 (edited) ar css var kko noslēpt/parādīt tikai hover brīdī, bet ne pastāvīgi ;) Edited March 14, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
briedis Posted March 14, 2010 Report Share Posted March 14, 2010 tas laikam bija uztaisīts kaut kā tā - index.php#reg_forma Tu zini, kas ir anchors? (enkurs) Quote Link to comment Share on other sites More sharing options...
2easy Posted March 14, 2010 Report Share Posted March 14, 2010 Tu zini, kas ir anchors? (enkurs) jā, tas ir tāds smags metāla galbals ar ķēdi, ko kuģis nolaiž ūdenī, lai noturētos uz vietas :D:D:D Quote Link to comment Share on other sites More sharing options...
briedis Posted March 14, 2010 Report Share Posted March 14, 2010 jā, tas ir tāds smags metāla galbals ar ķēdi, ko kuģis nolaiž ūdenī, lai noturētos uz vietas :D:D:D Es tev nejautāju! :) Quote Link to comment Share on other sites More sharing options...
2easy Posted March 14, 2010 Report Share Posted March 14, 2010 vai tiešām? :D:D:D Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted March 15, 2010 Report Share Posted March 15, 2010 (edited) Elementaari..no sākuma uztaisi css nosacījumus (klase vai id) - hide kuros iestādīts lai slēpj elementu un show lai parāda elementu. Pēctam izdari sho elementaaro lietu div class="<?php if(kautkas){ echo 'show'; } else {echo 'hide';} ?>" Edited March 15, 2010 by Cibiņš Quote Link to comment Share on other sites More sharing options...
indoom Posted March 15, 2010 Report Share Posted March 15, 2010 Viselementārāk - tiem, kam nav js, tiem tad neslēpj to formu. JS ir lai padarītu lapu dinamiskāku, attiecīgi, ja ir atslēgts js, tad irok, ja lapa nav dinamiska. Quote Link to comment Share on other sites More sharing options...
codez Posted March 15, 2010 Report Share Posted March 15, 2010 neaizmirsti pielāgot lapu arī tiem, kam atslēgts html. Quote Link to comment Share on other sites More sharing options...
2easy Posted March 15, 2010 Report Share Posted March 15, 2010 haha, codez vislabāk pateica lietas būtību :D:D:D vnk perfekti! ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.