drinkits Posted October 12, 2006 Report Share Posted October 12, 2006 (edited) jautaajums taads: kaa lai uztaisu skriptu, kas nosaka kaada apmekleetaajam paarluukprogrammu, kas savukaart pieskanjo noteiktu .css failu. Piem man ir 2 css faili (ie.css; no_ie.css) kas piemeerotu katram paarluukam. Luudzu paliidziet sorry, iztiku ar javascriptu =] <script language="JavaScript"> if((navigator.appName.indexOf("Explorer") >= 0) && (navigator.appVersion.indexOf('4.0')>=0 )) document.writeln('<link rel=stylesheet href="ie.css" type="text/css">'); else document.writeln('<link rel=stylesheet href="stils.css" type="text/css">'); </script> Edited October 12, 2006 by drinkits Link to comment Share on other sites More sharing options...
IM24LV Posted October 12, 2006 Report Share Posted October 12, 2006 (edited) Kā lai uztaisa, es varu pateikt [ar prātu un roku paliidziibu] bet, manupraat veiksmiigaakais un vienkaarshaakais buutu ar parastu javascript uzlikt kaadaa malinjaa pashiem lietotaajiem izveeleeties! Edited October 12, 2006 by IM24LV Link to comment Share on other sites More sharing options...
drinkits Posted October 13, 2006 Author Report Share Posted October 13, 2006 nee, vaadzeejau lai automaatiski nosakaa aa kaa paaruukprograamu naak apmekleetaajs un nosaka kaads css. VNK un IE izskatas savadaak nekaa Mozilaa FF tapee uztaisiiju 2 css un izmantoju augstaak mineto javaskriptu Link to comment Share on other sites More sharing options...
ohmygod Posted October 13, 2006 Report Share Posted October 13, 2006 Un kā tas pasākums izskatīsies, ja būs atslēgs JS? Link to comment Share on other sites More sharing options...
andrisp Posted October 13, 2006 Report Share Posted October 13, 2006 lynx-style :) Link to comment Share on other sites More sharing options...
IM24LV Posted October 13, 2006 Report Share Posted October 13, 2006 Un kā tas pasākums izskatīsies, ja būs atslēgs JS? hmm, droši vien nekas traģisks nenotiks. bet pasakiet lūdzu, nu kapēc jāatslēdz ir javaskripts? Link to comment Share on other sites More sharing options...
bubu Posted October 13, 2006 Report Share Posted October 13, 2006 Priekš IE vajag lietot conditional comments: http://msdn.microsoft.com/workshop/author/...comment_ovw.asp http://www.quirksmode.org/css/condcom.html Link to comment Share on other sites More sharing options...
Recommended Posts