{"id":1754,"date":"2010-11-15T10:24:58","date_gmt":"2010-11-15T10:24:58","guid":{"rendered":"http:\/\/mts-help.nick.php.dev\/after_sale_support\/jquery\/slider\/article10.html"},"modified":"2020-02-03T03:43:24","modified_gmt":"2020-02-03T08:43:24","slug":"coin-slider","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/coin-slider.html","title":{"rendered":"&#8220;Coin&#8221; Slider"},"content":{"rendered":"This is a Slider Script that can automatically cut images for creating various transition effects. You can find full installation and configuration instructions by following <a href=\"http:\/\/workshop.rs\/projects\/coin-slider\/\" class=\"link3\">this link<\/a>. <br \/> <br \/> <span style=\"font-weight: bold;\">JavaScript<\/span> <br \/>In order to make the script work, the <span style=\"font-weight: bold;\">index-#.html<\/span> file with a slider should contain these lines of HTML code in order to include the <span style=\"font-weight: bold;\">coin-slider.js<\/span> script and the jQuery framework: <br \/> <br \/>&nbsp; The <span style=\"font-weight: bold;\">&lt;head&gt;<\/span> section of the <span style=\"font-weight: bold;\">index-#.html<\/span> file contains these lines of code that initialize the script functionality with basic values: <br \/> <br \/> This script is initialized with a <span style=\"font-weight: bold;\">&lt;div&gt;<\/span> element with the <span style=\"font-weight: bold;\">#coin-slider<\/span> id. Script attributes define the following values: <br \/> <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">width: 565<\/span> &ndash; width of slider panel; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">height: 290<\/span> &ndash; height of slider panel; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">spw: 7<\/span> &ndash; squares per width; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">sph: 5<\/span> &ndash; squares per height; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">delay: 3000<\/span> &ndash; delay between images in ms; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">sDelay: 30<\/span> &ndash; delay between squares in ms; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">opacity: 0.7<\/span> &ndash; opacity of title and navigation; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">titleSpeed: 500<\/span> &ndash; speed of title appearance in ms; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">effect: &#8216; &#8216;<\/span> &ndash; transition effect, <span style=\"font-weight: bold;\">random<\/span> by default (<span style=\"font-weight: bold;\">random, swirl, rain, straight<\/span>); <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">navigation: true<\/span> &ndash; <span style=\"font-weight: bold;\">prev\/next<\/span> and buttons; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">links : true<\/span> &ndash; show images as links; <br \/>\u2022&nbsp;&nbsp;&nbsp; <span style=\"font-weight: bold;\">hoverPause: true<\/span> &ndash; pause on hover. <br \/> <br \/> <span style=\"font-weight: bold;\">HTML<\/span> <br \/>Below you can see the HTML script representation: <br \/> <br \/> Each slide is an image (<span style=\"font-weight: bold;\">&lt;img&gt;<\/span> tag), placed into a link (<span style=\"font-weight: bold;\">&lt;a&gt;<\/span> tag). You can also add a slide description using the <span style=\"font-weight: bold;\">&lt;span&gt;<\/span> element. In order to add a slide you will need to add the following structure: <br \/> <br \/> <span style=\"font-weight: bold;\">CSS<\/span> <br \/>You can find script related stylesheet in the main <span style=\"font-weight: bold;\">style.css<\/span> file. You will need to modify the following styles: <br \/> <br \/>","protected":false},"excerpt":{"rendered":"<p>This is a Slider Script that can automatically cut images for creating various transition effects. You can find full installation and configuration instructions by following this link. JavaScript In order to make the script work, the index-#.html file with a slider should contain these lines of HTML code in order to include the coin-slider.js script [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[262],"tags":[813,816],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1754"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=1754"}],"version-history":[{"count":6,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1754\/revisions"}],"predecessor-version":[{"id":86216,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1754\/revisions\/86216"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}