4uvak Posted October 31, 2005 Report Share Posted October 31, 2005 Man te taads stulbs jaut, bet kaa var uzlikt piem Submit butonam nevis kraasu, bet ziimeejumu backgraundaa? Link to comment Share on other sites More sharing options...
bubu Posted October 31, 2005 Report Share Posted October 31, 2005 Dokumentācija jālasa: http://www.w3.org/TR/html401/interact/form...t-control-types keywords - "image" Link to comment Share on other sites More sharing options...
4uvak Posted October 31, 2005 Author Report Share Posted October 31, 2005 ok tnx sorry ka toreiz bik sadirsos :) Vienk 4akareejamais pasham uznaaca Link to comment Share on other sites More sharing options...
Kavacky Posted October 31, 2005 Report Share Posted October 31, 2005 Mmmm, shiny buttons! Nenoturējos. Link to comment Share on other sites More sharing options...
Fatalis Erratum Posted October 31, 2005 Report Share Posted October 31, 2005 Submit pogas ir iespējams noviltot ar JS un CSS. Es kaut kad uzrakstīšu rakstu, kā to izdarīt, sekojiet manam blogam. Link to comment Share on other sites More sharing options...
bubu Posted October 31, 2005 Report Share Posted October 31, 2005 Kāpēc kautkas jāvilto ja to bildi submit pogas veidā var panākt ar type="image" ? Link to comment Share on other sites More sharing options...
Fatalis Erratum Posted October 31, 2005 Report Share Posted October 31, 2005 Bāc, es sajaucu ar select elementiem. Man kaut kas cits bija prātā. :) Link to comment Share on other sites More sharing options...
bubu Posted October 31, 2005 Report Share Posted October 31, 2005 Ak komboboksi stailot ar CSS (+JS, +DOM). Nu jā tas dažkārt noder. Bet neredzu jēgu ar to aizrauties. Ja nu vienīgī ļoti ļoti ļoti vajag, lai iederās lapas dizainā. :) Link to comment Share on other sites More sharing options...
php_Stopp Posted October 31, 2005 Report Share Posted October 31, 2005 komboboksi ta ka esu jau labu laiku pievērsies tikai WAP, tad nezināšu pateikt, kas tas tāds ir, bet nu izklausās rēcīgi :D un <input type="submit"/> var aizstāt ar <input type="image" src="submitpoga.jpg"/>, bet tas jau laikam tika teikts. un tad to attēlu vienk ar javascript vai ko citu var izgreznot (onmouseover, onmousedown utt.) Link to comment Share on other sites More sharing options...
bubu Posted November 1, 2005 Report Share Posted November 1, 2005 ta ka esu jau labu laiku pievērsies tikai WAP, tad nezināšu pateikt, kas tas tāds ir, bet nu izklausās rēcīgi :D Tu windows/linux/da jebkuru citu OS ikdienā nelieto? Tur combobox (aka drop-down list) elementus nesastopi? Link to comment Share on other sites More sharing options...
php_Stopp Posted November 1, 2005 Report Share Posted November 1, 2005 drop-down list - tas jau kauko sāk atgādināt. :P ne skaidru redzesloku, bet ideju. bet nav arī šobrīd manās interesēs to noskaidrot.. Link to comment Share on other sites More sharing options...
andrisp Posted November 1, 2005 Report Share Posted November 1, 2005 Ak komboboksi stailot ar CSS (+JS, +DOM). Nu jā tas dažkārt noder. Bet neredzu jēgu ar to aizrauties. Ja nu vienīgī ļoti ļoti ļoti vajag, lai iederās lapas dizainā. :) Biezhi ir taa, ka esi izveidojis kopeeju stilu visaam formaam, un ta peekshnji - drop-down menu lec aaraa, jo to problemaatiski stailot.. Link to comment Share on other sites More sharing options...
Analgiins Posted November 1, 2005 Report Share Posted November 1, 2005 ja negrib input type="image" <style> .button { font: 11px arial, verdana, sans-serif; text-decoration: none; background: URL('img/bg-butt.gif'); background-repeat: repeat-x; /* background bilde */ border: 1px solid #0000ff; cursor: hand; /* lai paraadaas roka */ } </style> <input type="button" value="Go" onclick="..." class="button"> Link to comment Share on other sites More sharing options...
darklow Posted November 1, 2005 Report Share Posted November 1, 2005 nezinu kaa ar browser compatibility un specifikācijām, taču dažkārt, kad tas nerūp un savām vajadzībām dažādus trikus var izveidot ar <button> tagu lietojot <button><img></button>, kā rezultātā tiek panākts defaultais onclick efekts pogaam, kad ta pavizraas par paaris px zemaak :) Link to comment Share on other sites More sharing options...
[Ya] Posted November 1, 2005 Report Share Posted November 1, 2005 ja negrib input type="image"<style> .button { font: 11px arial, verdana, sans-serif; text-decoration: none; background: URL('img/bg-butt.gif'); background-repeat: repeat-x; /* background bilde */ border: 1px solid #0000ff; cursor: hand; /* lai paraadaas roka */ } </style> <input type="button" value="Go" onclick="..." class="button"> labojums: cursor: pointer; jo "hand" darbojas tikai iekš IE, iekš FF un citiem W3C standartu browseriem neiet, kā arī iekš netscape neiet ... Link to comment Share on other sites More sharing options...
Recommended Posts