<?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/"
	>

<channel>
	<title>guide Archives - Cube Websites</title>
	<atom:link href="https://cubewebsites.com/tag/guide/feed/" rel="self" type="application/rss+xml" />
	<link>https://cubewebsites.com/tag/guide/</link>
	<description>web design and development</description>
	<lastBuildDate>Thu, 05 Jan 2012 19:58:24 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://cubewebsites.com/wp-content/uploads/2019/04/cropped-favicon-32x32.png</url>
	<title>guide Archives - Cube Websites</title>
	<link>https://cubewebsites.com/tag/guide/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Use Impress.Js</title>
		<link>https://cubewebsites.com/guides/how-to-use-impress-js/</link>
					<comments>https://cubewebsites.com/guides/how-to-use-impress-js/#comments</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 22:37:13 +0000</pubDate>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[impress]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">http://www.cubewebsites.com/blog/?p=374</guid>

					<description><![CDATA[<p>Yesterday, I wrote about Impress.js, an awesome JavaScript library for creating online presentations. Since posting online, I’ve had several people ask how exactly to use it, as there’s no set documentation on the actual project page.  This guide will help you get started and allow you to create a simple slideshow, but after completing it [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/guides/how-to-use-impress-js/">How To Use Impress.Js</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Yesterday, I <a title="Impress.js – A JavaScript Presentation Library" href="http://www.cubewebsites.com/blog/development/javascript/impress-js-a-javascript-presentation-library/">wrote about Impress.js</a>, an awesome JavaScript library for creating online presentations. Since posting online, I’ve had several people ask how exactly to use it, as there’s no set documentation on the actual project page.  This guide will help you get started and allow you to create a simple slideshow, but after completing it please bear in mind that there’s so much more that can be done with it.  The only limit is your creativity!</p>
<p>This tutorial is available for you to <a href="https://github.com/cubewebsites/Impress.js-Tutorial" target="_blank">view and download on GitHub</a></p>
<p><strong>Requirements</strong></p>
<p>To see this tutorial in action, please use Google Chrome or Safari (or Firefox 10 or IE10).  Impress.js is not currently compatible with earlier versions of Firefox or Internet Explorer.</p>
<p><strong>Setup</strong></p>
<p>The first thing you want to do is create a new webpage.  Mine’s index.html and within it setup the basic head and body elements.</p>
<pre>&lt;!doctype html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;Impress Tutorial&lt;/title&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
    &lt;/head&gt;
    &lt;body&gt;

    &lt;/body&gt;
&lt;/html&gt;</pre>
<p>Add the impress.js file before the end of the body element.  This imports the Impress library into your project</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode">&lt;script type=<span class="str">"text/javascript"</span> src=<span class="str">"impress.js"</span>&gt;&lt;/script&gt;</pre>
</div>
<p>Next we’ll create a wrapper which will contain the slideshow.  This is simply a &lt;div&gt; element with an id of ‘impress’</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">id</span><span class="kwrd">="impress"</span><span class="kwrd">&gt;</span>

<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
<p><strong>Creating Slides</strong></p>
<p>Now you’ll see how easy it is to create a new slide in the presentation.  Each slide is a &lt;div&gt; element (within the wrapper) with a class name of ‘step’</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span><span class="kwrd">&gt;</span>
    My first slide
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
</div>
<p>Whilst that creates a simple slide, things are a lot more fun you start adding data properties to your slides.  Data attributes signify properties of your slide for when it’s NOT the active slide.  The following data properties are available to you:</p>
<ul>
<li><span style="color: #404040;">data-x = the x co-ordinate of the slide</span></li>
<li><span style="color: #404040;">data-y = the y co-ordinate of the slide</span></li>
<li><span style="color: #404040;">data-z = the z co-ordinate of the slide (how far/close it appears to the user)</span></li>
<li><span style="color: #404040;">data-scale = scales your slide by a factor of this value.  A data-scale of 5 would be 5 times the original size of your slide</span></li>
<li><span style="color: #404040;">data-rotate = rotates your slide by the specified number of degrees</span></li>
<li><span style="color: #404040;">data-rotate-x = For 3D slides.  This is the number of degrees it should be rotated about the x-axis.  (Tilt forward/lean back)</span></li>
<li><span style="color: #404040;">data-rotate-y = For 3D slides. This is the number of degrees it should be rotated about the y-axis (swing in from the left/right)</span></li>
<li><span style="color: #404040;">data-rotate-z = For 3D slides. This is the number of degrees it should be rotated about the z-axis</span></li>
</ul>
<p><strong>Data Attributes In Action</strong></p>
<p>The following slide configuration will guide you through each of the data attributes in action.</p>
<p>Let’s start with an initial slide.  This slide has it’s x and y data attributes set to 0, so will appear in the center of the page.</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span> <span class="attr">data-x</span><span class="kwrd">="0"</span> <span class="attr">data-y</span><span class="kwrd">="0"</span><span class="kwrd">&gt;</span>
    This is my first slide
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p>The second slide will have an x position of 500, but the y position of 0.  This means that it’s going to have to come in 500 pixels across the x-axis (slide left) when it becomes active.</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span> <span class="attr">data-x</span><span class="kwrd">="500"</span> <span class="attr">data-y</span><span class="kwrd">="0"</span><span class="kwrd">&gt;</span>
    This is slide 2
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p>Easy huh?  The next slide will start with the same x-position as slide 2, but a y position of –400.  This will slide in from the top 400 pixels.</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span> <span class="attr">data-x</span><span class="kwrd">="500"</span> <span class="attr">data-y</span><span class="kwrd">="-400"</span><span class="kwrd">&gt;</span>
    This is slide 3
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p>Slide 4 uses the scale value to show how a slide can appear to zoom in/out.  It has a scale value of 0.5, meaning that it’s half the size it should be.  When it becomes active the presentation will adjust the scale of ALL the slides by the factor required to make the scale of the active website 1.  What this means in this example is that for this slide to display normally (scale value 1) it will need to be scaled up by a factor of 2 (0.5*2 = 1).  All the other slides will also be scaled up by a factor of two, and become twice the size.</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span> <span class="attr">data-x</span><span class="kwrd">="500"</span> <span class="attr">data-y</span><span class="kwrd">="-800"</span> <span class="attr">data-scale</span><span class="kwrd">="0.5"</span><span class="kwrd">&gt;</span>
    This is slide 4
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p>The rotate attributes allows you to rotate a slide into view.  Slide 5 is set to rotate by 90 degrees.</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span> <span class="attr">data-x</span><span class="kwrd">="0"</span> <span class="attr">data-y</span><span class="kwrd">="-800"</span> <span class="attr">data-rotate</span><span class="kwrd">="90"</span><span class="kwrd">&gt;</span>
    This is slide 5 and it rotates in.
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p>Finally, for a 3D transition, you can specify rotate attributes for each dimensional axis (x,y,z).</p>
<p>The x axis is the horizontal axis.  This means that you can make things tilt forwards (positive value) or backwards (negative value).<br />
The y axis is the vertical axis so you can have things swing in from the left (negative value) or right (positive value).<br />
The z axis is the depth axis (the one coming out at you) so rotating things on this would be rotating things up (negative value) and down (positive value).</p>
<p><strong>Combinations</strong></p>
<p>Now that you know all about the data attributes, which is really all you need to animate your slideshow, you can use your imagination to combine these in weird and wonderful ways to create your own style of slideshow.</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="step"</span> <span class="attr">data-x</span><span class="kwrd">="-2600"</span> <span class="attr">data-y</span><span class="kwrd">="-800"</span> <span class="attr">data-rotate-x</span><span class="kwrd">="30"</span> <span class="attr">data-rotate-y</span><span class="kwrd">="-60"</span> <span class="attr">data-rotate-z</span><span class="kwrd">="90"</span> <span class="attr">data-scale</span><span class="kwrd">="4"</span><span class="kwrd">&gt;</span>
    This is slide 7 and it has a 3D transition AND a scale.
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p><strong>Unsupported Browsers</strong></p>
<p>Impress automatically detects whether or not a browser supports it or not, and if it doesn’t then automatically adds a class name called ‘impress-not-supported’ to the wrapper ‘&lt;div&gt;’.  Using some CSS we can show a message to people on browsers which aren’t supported by Impress.</p>
<p>At the start of your &lt;div id=”impress”&gt; add the following:</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span><span class="kwrd">="no-support-message"</span><span class="kwrd">&gt;</span>
    Your browser doesn't support impress.js.  Try Chrome or Safari.
<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
</div>
<p>Then, create a stylesheet or add this to your existing stylesheet:</p>
<div id="codeSnippetWrapper" class="csharpcode-wrapper">
<pre id="codeSnippet" class="csharpcode"><span class="cls">.no-support-message</span> { <span class="kwrd">display</span>:<span class="str">none;</span> }
<span class="cls">.impress-not-supported</span> <span class="cls">.no-support-message</span> { <span class="kwrd">display</span>:<span class="str">block;</span> }</pre>
</div>
<p>This hides the message by default, but then displays it to browser if the impress-not-supported class is present.</p>
<p><strong>Have fun!</strong></p>
<p>This tutorial covers the fundamentals of using Impress.js to create your very own online presentation.  The entire example is available on Github for you to download and play with.</p>
<p><a href="https://github.com/cubewebsites/Impress.js-Tutorial" target="_blank">View on GitHub</a></p>
<p>The post <a href="https://cubewebsites.com/guides/how-to-use-impress-js/">How To Use Impress.Js</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/guides/how-to-use-impress-js/feed/</wfw:commentRss>
			<slash:comments>32</slash:comments>
		
		
			</item>
		<item>
		<title>TUTORIAL: Adding / Editing / Deleting Pages In Concrete5</title>
		<link>https://cubewebsites.com/guides/tutorial-adding-editing-deleting-pages-in-concrete5/</link>
					<comments>https://cubewebsites.com/guides/tutorial-adding-editing-deleting-pages-in-concrete5/#comments</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Tue, 27 Dec 2011 16:21:55 +0000</pubDate>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[c5]]></category>
		<category><![CDATA[concrete5]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">http://www.cubewebsites.com/blog/?p=280</guid>

					<description><![CDATA[<p>Concrete5 is my current CMS platform of choice.  It provides a very flexible framework for me to develop on, as well a simple and intuitive interface for end-users too. This tutorial shows you how easy it is to add/edit/delete pages on your Concrete5 Content Managed website. Adding A New Page Login to your Dashboard Select [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/guides/tutorial-adding-editing-deleting-pages-in-concrete5/">TUTORIAL: Adding / Editing / Deleting Pages In Concrete5</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Concrete5 is my current CMS platform of choice.  It provides a very flexible framework for me to develop on, as well a simple and intuitive interface for end-users too.</p>
<p>This tutorial shows you how easy it is to add/edit/delete pages on your Concrete5 Content Managed website.</p>
<p><iframe src="http://www.youtube-nocookie.com/embed/1_E5JCNW6qY?rel=0&amp;hd=1&amp;wmode=transparent" frameborder="0" width="640" height="480"></iframe></p>
<p><span id="more-280"></span></p>
<h3>Adding A New Page</h3>
<ol>
<li>Login to your <strong>Dashboard</strong></li>
<li>Select the <strong>Sitemap</strong></li>
<li>Click on the page which will be the parent of your new page</li>
<li>Click <strong>Add Page</strong> from the context menu which appears</li>
<li>Select your <strong>Page Type</strong></li>
<li>Give your page a <strong>Name</strong> and <strong>Description</strong></li>
<li>Click <strong>Add Page</strong></li>
</ol>
<h3>Editing A Page</h3>
<div>
<ol>
<li>Go to the <strong>Sitemap</strong></li>
<li>Click on the page you wish to edit</li>
<li>Click <strong>Visit</strong> from the context menu which appears</li>
<li>Click <strong>Edit Mode</strong> in the top left of the toolbar</li>
<li>Click an area you wish to add your block to</li>
<li>Select <strong>Add Block</strong></li>
<li>Select the type of block you wish to add</li>
<li>Configure the options (if available)</li>
<li>Click <strong>Add</strong> to save your block</li>
<li>Repeat for as many blocks as needed</li>
<li>Once you&#8217;re happy click <strong>Exit Edit Mode</strong></li>
<li><strong>Publish</strong> your changes</li>
</ol>
<h3>Reverting To An Older Version Of A Page</h3>
<div>
<ol>
<li>Click <strong>Edit Page</strong></li>
<li>Click <strong>Versions</strong> on the toolbar</li>
<li>Check the version you wish to revert to</li>
<li>Click the <strong>Approve</strong> button</li>
<li>Check the newer version to delete</li>
<li>Click <strong>Remove</strong></li>
</ol>
<h3>Deleting A Page</h3>
<div>
<ol>
<li>Click <strong>Edit Page</strong></li>
<li>Click <strong>Move / Delete</strong></li>
<li>Click <strong>Delete Page</strong> and confirm</li>
</ol>
</div>
</div>
</div>
<p>If you&#8217;d like a Concrete5 powered Content Management System of your own, why not <a href="http://www.cubewebsites.com/contact/">get in touch</a>?</p>
<p>Stay tuned for more tutorials.</p>
<p>The post <a href="https://cubewebsites.com/guides/tutorial-adding-editing-deleting-pages-in-concrete5/">TUTORIAL: Adding / Editing / Deleting Pages In Concrete5</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/guides/tutorial-adding-editing-deleting-pages-in-concrete5/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
