{"id":3548348,"date":"2013-03-11T04:19:54","date_gmt":"2013-03-11T04:19:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/why-do-you-set-styles-via-javascript\/"},"modified":"2016-08-20T22:39:52","modified_gmt":"2016-08-20T22:39:52","slug":"why-do-you-set-styles-via-javascript","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/why-do-you-set-styles-via-javascript\/","title":{"rendered":"Why do you set styles via javascript?"},"content":{"rendered":"<p>Just curious why you set inline styles via javascript.<\/p>\n<p>Causing a couple of problems when I try to customize it. For example:<br \/>\nwhat if I don&#8217;t want to use a hexcode for a colour value?<br \/>\nWhy is there a default border on thumbnails.<br \/>\nWhat if I don&#8217;t want to use pixels for width\/height?<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/image-gallery-reloaded\/<\/p>\n","protected":false},"template":"","class_list":["post-3548348","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3548348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3548348\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3548348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}