ray Posted June 30, 2008 Report Share Posted June 30, 2008 vai ir iespējams panākt, ka teksts uz <input type="submit" value="Blaaaa" disabled> rādās iekš IE norādītajā krāsā, piemēram zaļš? Link to comment Share on other sites More sharing options...
andrisp Posted June 30, 2008 Report Share Posted June 30, 2008 Izskatās, ka nevar. Link to comment Share on other sites More sharing options...
NBS Posted August 2, 2008 Report Share Posted August 2, 2008 Kā tā nevar ? <html> <style type="text/css"> .submit { background-color: #FFFFB9; color: #000000; } </style> <input type="submit" value="submit" class="submit" disabled> </html> Link to comment Share on other sites More sharing options...
Val Posted August 2, 2008 Report Share Posted August 2, 2008 paskaties vispirms, ko rāda IE6 ;) Link to comment Share on other sites More sharing options...
NBS Posted August 2, 2008 Report Share Posted August 2, 2008 ray prasija vispārīgi IE. Link to comment Share on other sites More sharing options...
andrisp Posted August 2, 2008 Report Share Posted August 2, 2008 NBS, nu ja tu būtu pietiekami apķērīgs tad saprastu, ka viņš runā par IE6. Link to comment Share on other sites More sharing options...
Pentiums Posted August 2, 2008 Report Share Posted August 2, 2008 <?php $client_info = get_browser(null, true); if($client_info['browser'] == 'IE') { echo 'zaļš'; } else { echo 'parastais'; } ?> Link to comment Share on other sites More sharing options...
bubu Posted August 2, 2008 Report Share Posted August 2, 2008 Un kāds tam ir ar kaut ko sakars, Pentium? Link to comment Share on other sites More sharing options...
Mr.Key Posted August 2, 2008 Report Share Posted August 2, 2008 (edited) izmanto <button>, bet disabled ir un paliek disabled... Edited August 2, 2008 by Mr.Key Link to comment Share on other sites More sharing options...
ExpIorer Posted September 23, 2008 Report Share Posted September 23, 2008 "disabled" izmantot nav ieteicams. Ar firefox modiem tos visus var "enablēt" un klikšķināt. Link to comment Share on other sites More sharing options...
andrisp Posted September 23, 2008 Report Share Posted September 23, 2008 Explorer, tak ar pārlūku jebko var pamainīt (gan html, gan css, gan js, gan teorētiski arī jeb ko citu), ja ir gribēšana. Reāli, ja vajag, tad izmanto, tikai nevajag aizmirst arī server pusē uzlikt pārbaudi. Link to comment Share on other sites More sharing options...
bubu Posted September 23, 2008 Report Share Posted September 23, 2008 Ja nemaldos, tad disabled lauki nesubmitosies. Tāpēc jau readonly ir labāks. Link to comment Share on other sites More sharing options...
Valcha Posted October 30, 2008 Report Share Posted October 30, 2008 Bet vai nederēs readonly atribūts? Man šķiet, ka tam varēs jebkādu bgcol piešķiert.. Un arī nopostot varēs. Link to comment Share on other sites More sharing options...
Recommended Posts