laucinieks Posted December 10, 2010 Report Share Posted December 10, 2010 (edited) Sveiki, ir vajadzīgs uzzināt, kā var uztaisīt pogas administrācijas panelim. Piemēram tur ir poga Br, uzspiežot tev automātiski laukumā, kurā ir ieklikšķināts kursors ieliksies teksts - <br />. Un to pašu piemēram ar B iezīmējot tekstu uzklikšķinot B tekstam apkārt parādīsies <b> </b>. Ceru, ka sapratāt. Ar cieņu, Laucinieks. Edited December 10, 2010 by laucinieks Quote Link to comment Share on other sites More sharing options...
Rincewind Posted December 10, 2010 Report Share Posted December 10, 2010 Google -> "wysiwyg html textarea" Quote Link to comment Share on other sites More sharing options...
briedis Posted December 10, 2010 Report Share Posted December 10, 2010 šis ir diezgan populārs un sakarīgs redaktors: http://tinymce.moxiecode.com/ Quote Link to comment Share on other sites More sharing options...
laucinieks Posted December 10, 2010 Author Report Share Posted December 10, 2010 Tikai vienīgā problēma, es nesaprotu kā viņu ielikt pašizveidotā CMS. Quote Link to comment Share on other sites More sharing options...
briedis Posted December 10, 2010 Report Share Posted December 10, 2010 Tak paskaties lapā ko devu ir piemēri, kā izmantot. Quote Link to comment Share on other sites More sharing options...
laucinieks Posted December 10, 2010 Author Report Share Posted December 10, 2010 Uzliku, un sāku testēt, bet saskāros ar - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'text-decoration: underline;">Testējam... ", "Sākums")' at line 1 Quote Link to comment Share on other sites More sharing options...
nemakuphp Posted December 10, 2010 Report Share Posted December 10, 2010 mysql_real_escape_string() ?! Quote Link to comment Share on other sites More sharing options...
daGrevis Posted December 11, 2010 Report Share Posted December 11, 2010 Tikai atceries, ka jāizmanto nevis "<b>", bet gan "<strong>", ja vien vēlies lapu, kas atbilst standartiem. =) http://htmldog.com/guides/htmlintermediate/badtags/ 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.