{"id":90,"date":"2015-07-22T14:35:51","date_gmt":"2015-07-22T18:35:51","guid":{"rendered":"https:\/\/havalite.com\/?p=90"},"modified":"2022-11-29T14:34:36","modified_gmt":"2022-11-29T19:34:36","slug":"grid-lines-jquery-plugin","status":"publish","type":"post","link":"https:\/\/havalite.com\/?p=90","title":{"rendered":"Grid Lines (jQuery Plugin)"},"content":{"rendered":"<p>While improving SSG (Style Sheet Generation) i made this plugin hopping it might be usefull for some\u00a0webdesigners to get better messures.<\/p>\n<p>There is a left upper menu with 3\u00a0inputs (type numbers)<\/p>\n<ol>\n<li>first one for drawing\u00a0methodes (4 types)<\/li>\n<li>second to add Horizontal lines<\/li>\n<li>third to add vertical lines<\/li>\n<\/ol>\n<p>You can see a <a href=\"https:\/\/havalite.com\/download\/grid_lines\/grid.html\">demo here<\/a> how it looks like Grid Lines Demo<\/p>\n<h3>Installing Grid Lines<\/h3>\n<p>Download <a href=\"https:\/\/havalite.com\/download\/grid_lines\/grid_lines.js\">grid_lines.js<\/a><\/p>\n<p>Create a reference:<\/p>\n<pre class=\"js\">&lt;script src=\"grid_lines.js\"&gt;&lt;\/script&gt;<\/pre>\n<p>Add following line in your site:<\/p>\n<pre lang=\"js\">&lt;script&gt;\r\n$.grid_lines();\r\n&lt;\/script&gt;\r\n<\/pre>\n<h3>Options<\/h3>\n<pre class=\"js\">store \/\/ true\/false for saving last settings\r\nborderStyle \/\/ css border\r\nhideKey \/\/ KeyCode to hide grid lines, its set to 72 (for Key H) as default\r\n\/\/ you can also set to FALSE and use click function to hide or show: onClick=\"$.grid_lines.gridButton();\"\r\nwidthReduceBy \/\/ reduce width if need\r\nheightReduceBy \/\/ reduce height if needed \r\nisHidden \/\/ true\/false to show or hide grid lines at first start. Its also stored If store options is set to TRUE<\/pre>\n<p>An example with options<\/p>\n<pre lang=\"js\">$.grid_lines({\r\nisHidden: true,\r\nborderStyle: '1px solid blue',\r\nwidthReduceBy: 19\r\n});<\/pre>\n<p>Have fun<\/p>\n<div id=\"simple-translate\" class=\"simple-translate-light-theme\">\n<div>\n<div class=\"simple-translate-button isShow\" style=\"background-image: url('moz-extension:\/\/d49a64be-fa09-451a-b4d4-bb6051e6de1c\/icons\/512.png'); height: 22px; width: 22px; top: 525px; left: 113px;\"><\/div>\n<div class=\"simple-translate-panel \" style=\"width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px;\">\n<div class=\"simple-translate-result-wrapper\" style=\"overflow: hidden;\">\n<div class=\"simple-translate-move\" draggable=\"true\"><\/div>\n<div class=\"simple-translate-result-contents\">\n<p class=\"simple-translate-result\" dir=\"auto\">\n<p class=\"simple-translate-candidate\" dir=\"auto\">\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>While improving SSG (Style Sheet Generation) i made this plugin hopping it might be usefull for some\u00a0webdesigners to get better messures. There is a left upper menu with 3\u00a0inputs (type numbers) first one for drawing\u00a0methodes (4 types) second to add Horizontal lines third to add vertical lines You can see a demo here how it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[47,46],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-jquery-plugins","tag-grid-lines-gridlines","tag-jquery-plugin"],"_links":{"self":[{"href":"https:\/\/havalite.com\/index.php?rest_route=\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/havalite.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/havalite.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/havalite.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/havalite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":10,"href":"https:\/\/havalite.com\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":276,"href":"https:\/\/havalite.com\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions\/276"}],"wp:attachment":[{"href":"https:\/\/havalite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/havalite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/havalite.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}