{"id":1750,"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\/article2.html"},"modified":"2020-01-30T05:11:07","modified_gmt":"2020-01-30T10:11:07","slug":"jquery-slider","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/jquery-slider.html","title":{"rendered":"jQuery UI Slider"},"content":{"rendered":"This is a Slider Script that uses <strong>jQueryui ui<\/strong>. <p> <strong>JavaScript<\/strong> <br \/>The <strong>carousel.js<\/strong> file contains these lines of code that make the slider work:<\/p> <p>Here script attributes define the following values: <br \/>\u2022&nbsp; <strong>#featured<\/strong> &ndash; the id of script container (the id of a tag container <strong>&lt;div&gt;<\/strong>); <br \/>\u2022&nbsp; <strong>{fx:{opacity: &#8220;toggle&#8221;}<\/strong> &ndash; this attribute defines the effect for changing the slides; currently it is set for changing opacity; <br \/>\u2022&nbsp; <strong>5000<\/strong> &ndash; slides changing rate.<\/p> <p> <strong>HTML <br \/><\/strong> HTML is formed of two logical blocks: thumbnails block (.ui-tabs-nav class) and content blocks corresponding to the current thumbnail (all the <strong>&lt;div&gt;<\/strong> tags with a <strong>.ui-tabs-panel<\/strong> class). Both of these blocks are part of a <strong>&lt;div&gt;<\/strong> tag by <strong>#featured<\/strong> id. <br \/>Each item in the list of thumbnails (<strong>&lt;li&gt;<\/strong> tag) gets <strong>#nav-fragment-#<\/strong> id, where <strong>#<\/strong> is the number of the slide. The correspondent content boxes <strong>get #fragment-#<\/strong> id. <br \/>Below you can see the HTML script representation:<\/p> <p>To replace the slides with the custom ones you will need to replace the images placed to <strong>&lt;div&gt;<\/strong> tags with the <strong>.ui-tabs-panel<\/strong> class. <br \/>To replace thumbnails with the custom ones you will need to replace the images that are within the list <strong>&lt;li&gt;<\/strong> tags with the <strong>.ui-tabs-nav<\/strong> class.<\/p> <p> <strong>CSS<\/strong> <br \/>You can find script related stylesheet in the main <strong>style.css<\/strong> file. You will need to modify the following styles:<\/p>","protected":false},"excerpt":{"rendered":"<p>This is a Slider Script that uses jQueryui ui. JavaScript The carousel.js file contains these lines of code that make the slider work: Here script attributes define the following values: \u2022&nbsp; #featured &ndash; the id of script container (the id of a tag container &lt;div&gt;); \u2022&nbsp; {fx:{opacity: &#8220;toggle&#8221;} &ndash; this attribute defines the effect for [&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\/1750"}],"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=1750"}],"version-history":[{"count":3,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1750\/revisions"}],"predecessor-version":[{"id":85922,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1750\/revisions\/85922"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}