{"id":34,"date":"2012-09-03T06:16:20","date_gmt":"2012-09-03T06:16:20","guid":{"rendered":"http:\/\/facebooklet.ca\/blog2\/?p=34"},"modified":"2013-05-06T16:59:01","modified_gmt":"2013-05-06T16:59:01","slug":"javascript-css","status":"publish","type":"post","link":"https:\/\/facebooklet.ca\/blog2\/javascript-css\/","title":{"rendered":"JavaScript &#038; CSS"},"content":{"rendered":"<p>Hey:<\/p>\n<p>I haven&#8217;t forgotten about you!\u00a0 I love your comments&#8230;keep them coming, please.<\/p>\n<p>My last post I was talking about\u00a0writing scripts into a wordpress page.\u00a0 Well, I&#8217;ve found out how!\u00a0 You use a plugin.\u00a0 The one I use is called &#8220;Insert JavaScript &amp; CSS&#8221;, version 0.2, by Ryan Nutt.\u00a0 When you install it from the WordPress site and then activate it, you&#8217;ll see a little icon on the Upload\/Insert line next to the musical notes.\u00a0 You click that, then enter the script you want.\u00a0 You can choose CSS or javascript.<\/p>\n<p>Here&#8217;s a warning, though:\u00a0 the javascript and CSS might not work on your preview, even if they&#8217;re correct. \u00a0For me, they seemed to work only after I had published the post:)<\/p>\n<p><input onclick=\"dothis()\" type=\"button\" \/>Click me to see javascript in action!<\/p>\n<div class=\"yellow\" id=\"output\">Look here when you click the button!<\/div>\n<div class=\"moth\">This text is blue because of css.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hey: I haven&#8217;t forgotten about you!\u00a0 I love your comments&#8230;keep them coming, please. My last post I was talking about\u00a0writing scripts into a wordpress page.\u00a0 Well, I&#8217;ve found out how!\u00a0 You use a plugin.\u00a0 The one I use is called &#8220;Insert JavaScript &amp; CSS&#8221;, version 0.2, by Ryan Nutt.\u00a0 When you install it from the &hellip; <a href=\"https:\/\/facebooklet.ca\/blog2\/javascript-css\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;JavaScript &#038; CSS&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-stage1"],"_links":{"self":[{"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":13,"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/posts\/34\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/facebooklet.ca\/blog2\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}