<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>slideshow Archives - Michael Sunarlim</title>
	<atom:link href="https://sunarlim.com/tag/slideshow/feed/" rel="self" type="application/rss+xml" />
	<link>https://sunarlim.com/tag/slideshow/</link>
	<description>Random blurbs about web development, e-commerce and technology</description>
	<lastBuildDate>Tue, 07 May 2013 02:30:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.5</generator>

<image>
	<url>https://i0.wp.com/sunarlim.com/wp-content/uploads/2016/07/cropped-MS_Square_512x512.png?fit=32%2C32&#038;ssl=1</url>
	<title>slideshow Archives - Michael Sunarlim</title>
	<link>https://sunarlim.com/tag/slideshow/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">30613895</site>	<item>
		<title>jQuery Cycle Pager Style as Dots with CSS</title>
		<link>https://sunarlim.com/2013/05/jquery-cycle-pager-style/</link>
					<comments>https://sunarlim.com/2013/05/jquery-cycle-pager-style/#comments</comments>
		
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Tue, 07 May 2013 02:30:53 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[slideshow]]></category>
		<guid isPermaLink="false">https://sunarlim.com/?p=778</guid>

					<description><![CDATA[<p>jQuery Cycle is a great plugin to create image slides on your website. Out-of-the-box, it is so simple to use but you can explore the options extensively to get the functions and effect that you expected. One of the best feature is the &#8216;pager&#8217; option that will create a pagination of your slideshow. By default,... <span class="more"><a class="more-link" href="https://sunarlim.com/2013/05/jquery-cycle-pager-style/">Continue reading <span class="meta-nav">&#8594;</span></a></span></p>
<p>The post <a href="https://sunarlim.com/2013/05/jquery-cycle-pager-style/">jQuery Cycle Pager Style as Dots with CSS</a> appeared first on <a href="https://sunarlim.com">Michael Sunarlim</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://jquery.malsup.com/cycle/" target="_blank">jQuery Cycle</a> is a great plugin to create image slides on your website. Out-of-the-box, it is so simple to use but you can explore the options extensively to get the functions and effect that you expected. </p>
<p>One of the best feature is the &#8216;pager&#8217; option that will create a <em>pagination</em> of your slideshow. By default, the function will look up for a container with ID value of &#8216;pager&#8217; and generate this code:<br />
[syntax_prettify linenums=&#8221;&#8221;]<br />
&lt;div id=&quot;pager&quot;&gt;<br />
  &lt;a href=&quot;#&quot; class=&quot;&quot;&gt;1&lt;/a&gt;<br />
  &lt;a href=&quot;#&quot; class=&quot;&quot;&gt;2&lt;/a&gt;<br />
  &lt;a href=&quot;#&quot; class=&quot;activeSlide&quot;&gt;3&lt;/a&gt;<br />
&lt;/div&gt;<br />
[/syntax_prettify]</p>
<p>Without any style, the pager will be shown simply as &#8220;123&#8221; on the front-end. You can of course stylize it any way you like it, I used to fancy the background-image replacement technique, but I want to share the CSS codes that will display it as dots or bullets. Since this is pure CSS, you can easily change the colors or size quickly and easily.<br />
[syntax_prettify linenums=&#8221;&#8221;]<br />
#pager {<br />
  /* you can add positioning properties here if needed */<br />
  width: 75px; /* change as required */<br />
  padding: 0;<br />
  height: 14px;<br />
  z-index: 999;<br />
}</p>
<p>#pager a {<br />
  display: block;<br />
  float: left;<br />
  width: 10px;<br />
  height: 10px;<br />
  text-indent: -999em;<br />
  background: #fff;<br />
  border-radius: 10px; /* must be the same as width and height */<br />
  -moz-border-radius: 10px;<br />
  -webkit-border-radius: 10px;<br />
  box-shadow: 0 0 1px 1px #707173; /* border color */<br />
  margin-right: 10px;<br />
}</p>
<p>#pager a {<br />
  background: #c0c0c0; /* optional: color when hovered */<br />
}</p>
<p>#pager a.activeSlide {<br />
  background: #707173; /* color when active */<br />
}<br />
[/syntax_prettify]</p>
<p>Quick preview of how it will look like:<br />
<img decoding="async" src="https://i0.wp.com/sunarlim.com/wp-content/uploads/2013/05/screenshot_199.png?resize=305%2C39&#038;ssl=1" alt="jQuery dots pager preview" width="305" height="39" class="aligncenter size-full wp-image-781" srcset="https://i0.wp.com/sunarlim.com/wp-content/uploads/2013/05/screenshot_199.png?w=305&amp;ssl=1 305w, https://i0.wp.com/sunarlim.com/wp-content/uploads/2013/05/screenshot_199.png?resize=300%2C38&amp;ssl=1 300w, https://i0.wp.com/sunarlim.com/wp-content/uploads/2013/05/screenshot_199.png?resize=150%2C19&amp;ssl=1 150w, https://i0.wp.com/sunarlim.com/wp-content/uploads/2013/05/screenshot_199.png?resize=200%2C25&amp;ssl=1 200w" sizes="(max-width: 305px) 100vw, 305px" data-recalc-dims="1" /></p>
<p>There you go. Simple pager for a great slideshow plugin.</p>
<p>The post <a href="https://sunarlim.com/2013/05/jquery-cycle-pager-style/">jQuery Cycle Pager Style as Dots with CSS</a> appeared first on <a href="https://sunarlim.com">Michael Sunarlim</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sunarlim.com/2013/05/jquery-cycle-pager-style/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">778</post-id>	</item>
	</channel>
</rss>
