ziedinjsh Posted April 1, 2010 Author Report Share Posted April 1, 2010 ieliekot lapa.. neviens neiet.. besī ārā Quote Link to comment Share on other sites More sharing options...
2easy Posted April 1, 2010 Report Share Posted April 1, 2010 ieliec arī <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> Quote Link to comment Share on other sites More sharing options...
codez Posted April 1, 2010 Report Share Posted April 1, 2010 nu var jau arī bez js: <style> .con{ margin:5px; padding:5px; } .con span{ position:absolute; padding:4px; } .con input{ position:relative; background:transparent; color:transparent; } .con input:focus{ background:#fff; color:#000; } </style> <div class="con"> <span>Username</span> <input type="text" /> </div> <div class="con"> <span>Password</span> <input type="text" /><br /> </div> <div class="con"> <span>Email</span> <input type="text" /><br /> </div> Quote Link to comment Share on other sites More sharing options...
2easy Posted April 1, 2010 Report Share Posted April 1, 2010 hehe, ideja jau kruta, taču tas ir stateless Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted April 1, 2010 Report Share Posted April 1, 2010 ieliekot lapa.. neviens neiet.. besī ārā ir cilvēki, kuriem neiet... Labāk būtu ēdis. (april) Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted April 1, 2010 Author Report Share Posted April 1, 2010 kāpēc šitais neiet <script> function openCloseDiv( elementId ){ var element = document.getElementById(elementId); if ( element.style.display == 'block' ) { element.style.display = 'none'; } else { element.style.display = 'block'; } } </script> <span title="Click here to display info..." onclick="openCloseDiv( 'DIVNAME' )"> Blah Blah.... </span> <div id="DIVNAME" style="display: none;"></div> Quote Link to comment Share on other sites More sharing options...
2easy Posted April 1, 2010 Report Share Posted April 1, 2010 (edited) ieraksti tač kko tur iekšā, lai redzētu, vai tas strādā/nestrādā! :D:D:D <div id="DIVNAME" style="display: none;">asdfasdfdsf</div> tur viss strādā :P kr4 šis ir ideāls piemērs tam, ka iedot gatavu skriptu neko nedod, ja saņēmējs nerubī fišku, kas ir js,css vnk ir vajadzīgas kkādas zināšanas tajā sfērā, lai izmantotu arī gatavu kodu... Edited April 1, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
codez Posted April 1, 2010 Report Share Posted April 1, 2010 neiet, jo trūkst <div id="DIVNAME" style="display: none;">kājas</div> Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted April 1, 2010 Author Report Share Posted April 1, 2010 bez kāj;am jau nu ne kādi! :D 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.