{"id":16998,"date":"2011-02-18T01:46:56","date_gmt":"2011-02-18T06:46:56","guid":{"rendered":"https:\/\/friendburst.com\/blog-new\/16998\/sfbpc-resources\/"},"modified":"2011-02-18T01:46:56","modified_gmt":"2011-02-18T06:46:56","slug":"sfbpc-resources","status":"publish","type":"post","link":"https:\/\/friendburst.com\/blog-new\/16998\/sfbpc-resources\/","title":{"rendered":"SFBPC &#8211; Resources"},"content":{"rendered":"<table width=\"920\" style=\"margin-bottom: 30px;border:1px solid #333333\">\n<tbody>\n<tr>\n<td width=\"200\" valign=\"top\">\n<div style=\"padding: 0 5px 25px 0;width: 200px;height: auto;margin-left: 3px;color: #000000;font-family: arial;font-size: 14px;background-color: #999999;border: 1px solid #000000\">\n<p><span><a href=\"http:\/\/www.friendburst.com\/blog\/16382\/sfbpc\/\">&nbsp;&nbsp;&laquo; Index<\/a><\/span><\/p>\n<p><span style=\"margin-left: 30px;color: #000000;font-size: 12px;font-weight: bold\">CSS<\/span><\/p>\n<\/div>\n<\/td>\n<td width=\"725\" valign=\"top\">\n<div style=\"padding: 0 5px;width: 97%;height: auto;margin-left: 5px;color: #00000;font-family: arial;font-size: 14px;background-color: #999999;border: 1px solid #000000\">\n<p><span style=\"margin-left: 0;color: #FFFFFF;font-size: 15px;font-weight: bold\">Resources<\/span><\/p>\n<p><span style=\"margin-left: 0;color: #999999;font-size: 1px;font-weight: normal\">.<\/span><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/newsign_sm.png\" style=\"border: none\"><strong>Semi-Transparent Code<\/strong><\/p>\n<div style=\"margin: 0 0 25px 25px;padding: 0 0 0 5px;width: 90%;height: auto;color: white;font-family: arial;font-size: 14px;background-color: #999999\">\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">Now it is possible to use a &#8220;Dynamic URL&#8221; as a semi-transparent background!<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">This is the URL: <a href=\"http:\/\/www.friendburst.com\/images\/tpng.php?size=10&amp;color=000000&amp;percentage=50\">http:\/\/www.friendburst.com\/images\/tpng.php?size=10&amp;color=000000&amp;percentage=50<\/a><\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">It is known as a &#8220;tpng&#8221; URL (Dynamic URL that creates a transparent png). It eliminates the use of external png files for semi-transparency.<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">Instructions: The URL has two parts to change, if you want to change the color and opacity. Note: It is not necessary to change the &#8220;size&#8221; part, as the dynamically created image will be repeated (tiled) in the background code in which you would use the URL. <\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">color=000000 &#8230;This part is for the background color. Change the hex code to the desired color. <a href=\"http:\/\/www.friendburst.com\/blog\/16392\/sfbpc-colorchart\/\">Color chart here<\/a><\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">percentage=50 &#8230;This part is for the opacity. Lower the number for more transparency, or raise the number for less transparency.<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">To see the URL in action, click the URL above (you will see the dynamically created 10 pixel image). Go to the address bar in your browser. Change the color and percentage, then hit &#8220;Enter&#8221; on your keyboard to see the changes.<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">Opacity example:<\/span><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/sfbpc-tpng-ex-01.png\" style=\"border: none\"><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">Example of background color set to FriendBurst Red &#8220;bb0000&#8221; at 50 percent opacity:<\/span><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/sfbpc-tpng-ex-50percent-bb0000.png\" style=\"border: none\"><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">So, the URL would look like this:<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">http:\/\/www.friendburst.com\/images\/tpng.php?size=10&amp;color=bb0000&amp;percentage=50<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">*Note: Normally, you would use a number symbol (#) with hex color, as in layout CSS code. This dynamic URL does not use the number symbol, so you only need the color numbers to change the color.<\/span><\/p>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">Basic background code to apply semi-transparency, using the tpng URL, to whichever element(s) you want to style:<\/span><\/p>\n<div style=\"margin: 10px 0px 25px 25px;padding: 5px;width: 90%;height: auto;color: white;font-family: arial;font-size: 14px;background-color: black\">\n<p>css selector here {<br \/>\nbackground-image: url(http:\/\/www.friendburst.com\/images\/tpng.php?size=10&amp;color=000000&amp;percentage=50);<br \/>\nbackground-position: top left;<br \/>\nbackground-repeat: repeat;<br \/>\nbackground-attachment: fixed;<br \/>\n}<\/p>\n<\/div>\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">This &#8220;tpng URL&#8221; will be used in the &#8220;Semi-Transparent Profile code, coming soon.<\/span><\/p>\n<\/div>\n<p><strong>___________________________________<\/strong><\/p>\n<p><strong>Semi-Transparent PNG (Old Semi-Transparent Method)<\/strong><\/p>\n<div style=\"margin: 0 0 25px 25px;padding: 0 0 0 5px;width: 90%;height: auto;color: white;font-family: arial;font-size: 14px;background-color: #999999\">\n<p><span style=\"color: #000000;font-size: 11px;font-weight: bold\">Example:<\/span><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/semi-trans-ex-bg.png\" style=\"border: none\"><\/p>\n<p><span style=\"margin-left: 0;color: #000000;font-size: 11px;font-weight: bold\">*Right click and save.<\/span><\/p>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Black:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-black_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Red:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-red_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Orange:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-orange_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Yellow:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-yellow_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Green:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-green_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Blue:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-blue_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Indigo:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-indigo_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<p><span style=\"margin-left: 0;color: #090909;font-size: 12px;font-weight: bold\">30&#037; Violet:<\/span><\/p>\n<div style=\"width: 125px;height: 50px;border: 1px dotted #717171\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/bg_30percent-violet_20px.png\" style=\"margin-top: 13px;margin-left: 50px;border: none\"><\/div>\n<\/div>\n<p><strong>Profile Class And ID Reference:<\/strong><\/p>\n<div style=\"margin: 10px 0px 25px 25px;padding: 5px;width: 90%;height: auto;color: white;font-family: arial;font-size: 14px;background-color: #999999\">\n<p><a href=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/frbu-id-class-info-01.png\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/www.friendburst.com\/images\/profile1\/sfbpc\/frbu-id-class-info-pre-01.png\" alt=\"CSS\" style=\"width: 125px;height: auto;border: none\"><\/a><\/p>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;&laquo; Index CSS Resources . Semi-Transparent Code Now it is possible to use a &#8220;Dynamic URL&#8221; as a semi-transparent background! This is the URL: http:\/\/www.friendburst.com\/images\/tpng.php?size=10&amp;color=000000&amp;percentage=50 It is known as a &#8220;tpng&#8221; URL (Dynamic URL that creates a transparent png). It eliminates the use of external png files for semi-transparency. Instructions: The URL has two parts [&hellip;]<\/p>\n","protected":false},"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-16998","post","type-post","status-publish","format-standard","hentry","category-other"],"_links":{"self":[{"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/posts\/16998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/comments?post=16998"}],"version-history":[{"count":0,"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/posts\/16998\/revisions"}],"wp:attachment":[{"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/media?parent=16998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/categories?post=16998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/friendburst.com\/blog-new\/wp-json\/wp\/v2\/tags?post=16998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}