{"id":3272,"date":"2014-01-18T12:46:11","date_gmt":"2014-01-18T10:46:11","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=3272"},"modified":"2014-01-18T12:46:11","modified_gmt":"2014-01-18T10:46:11","slug":"html-css-print-button-veya-yazi-gizleme-nasil-yapilir-javascript-print-sayfa-yazdirma-ozelligi-ve-bazi-alanlari-gizlemek","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/html-css-print-button-veya-yazi-gizleme-nasil-yapilir-javascript-print-sayfa-yazdirma-ozelligi-ve-bazi-alanlari-gizlemek.html","title":{"rendered":"Html Css print button veya yaz\u0131 gizleme nas\u0131l yap\u0131l\u0131r. Javascript print sayfa yazd\u0131rma \u00f6zelli\u011fi ve baz\u0131 alanlar\u0131 gizlemek"},"content":{"rendered":"<pre><code>&lt;style type=\"text\/css\" media=\"print\"&gt;\n.dontprint\n{ display: none; }\n&lt;\/style&gt;\n\n&lt;div class=\"dontprint\"&gt;ben sadece ekran \u00fczeirnde gorunurum printerda gorunmem&lt;\/div&gt;<\/code>\n\nbir diger kullanim sekli\n\n<\/pre>\n<pre><code>&lt;link rel=\"stylesheet\" href=\"print.css\" type=\"text\/css\" media=\"print\" \/&gt;<\/code><\/pre>\n<p>the media=&#8221;print&#8221; attribute tells the browser to use specific css file.<\/p>\n<p>In that file you can have<\/p>\n<pre><code>.admindetails{\n   display:none;\n}<\/code><\/pre>\n<pre><\/pre>\n<pre>bir diger kullanim seklide<\/pre>\n<pre><code>@media print {\n    div.do-not-print {display: none;}\n}<\/code><\/pre>\n<pre>\nSon olarak printer buton gizleme ile ilgil ibir \u00f6rnek verirsek\n\n<\/pre>\n<p>&lt;style&gt;<\/p>\n<p>@media print{<br \/>\n#div_not_to_print{<br \/>\ndisplay:none;<br \/>\n}<br \/>\n#div_to_print{<\/p>\n<p>}<br \/>\n}<\/p>\n<pre>&lt;\/style&gt;\n&lt;div id=\"div_not_to_print\"&gt;\n&lt;a href=\"javascript:window.print()\"&gt;&lt;img src=\"printer_.gif\" alt=\"Yazd\u0131r\" border=\"0\"&gt;&lt;\/a&gt;\n&lt;\/div&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>javascript printer butonunu d\u00fc\u011fmesini  gizlemek ile ilgili css kodu<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[102,120,128],"tags":[626,741,815,1040,1139,1241,1634,1717,2154,2208,2368],"class_list":["post-3272","post","type-post","status-publish","format-standard","hentry","category-css","category-html","category-java-script","tag-button","tag-css-2","tag-div-gizlemek","tag-gizlemek","tag-html-2","tag-javascript","tag-ozellik","tag-print","tag-unvisible","tag-visible","tag-yazdirmada","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":3964,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/3272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=3272"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/3272\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=3272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=3272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=3272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}