<?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>Web Design Bournemouth &#124; Blog &#124; 123 &#124; Web design and SEO &#187; rotating header</title>
	<atom:link href="http://www.123webdesignbournemouth.co.uk/web-design-blog/category/rotating-header/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.123webdesignbournemouth.co.uk/web-design-blog</link>
	<description>123 Bournemouth Web Design &#124; http://www.123webdesignbournemouth.co.uk/</description>
	<lastBuildDate>Mon, 05 Dec 2011 07:42:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom:link rel='hub' href='http://www.123webdesignbournemouth.co.uk/web-design-blog/?pushpress=hub'/>
		<item>
		<title>How To Customise jQuery Carousel for Your Header</title>
		<link>http://www.123webdesignbournemouth.co.uk/web-design-blog/web-design/web-design-bournemouth/how-to-customise-jquery-carousel-for-your-header/</link>
		<comments>http://www.123webdesignbournemouth.co.uk/web-design-blog/web-design/web-design-bournemouth/how-to-customise-jquery-carousel-for-your-header/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 23:33:38 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[jquery carousel]]></category>
		<category><![CDATA[rotating header]]></category>
		<category><![CDATA[web design bournemouth]]></category>
		<category><![CDATA[carousel]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[rotating]]></category>

		<guid isPermaLink="false">http://www.123webdesignbournemouth.co.uk/web-design-blog/?p=290</guid>
		<description><![CDATA[Customised jQuery Carousel This is a working example of how to get jQuery Carousel customised to work as a rotating graphic header on your webpage. First things first &#8211; head over to http://sorgalla.com/projects/jcarousel/ and get yourself the http://sorgalla.com/projects/download-zip.php?jcarousel download file. Download, extract,  stick it in the root of your site.<a href="http://www.123webdesignbournemouth.co.uk/web-design-blog/web-design/web-design-bournemouth/how-to-customise-jquery-carousel-for-your-header/"> Read the Rest...</a>]]></description>
			<content:encoded><![CDATA[<h3>Customised jQuery Carousel</h3>
<p>This is a <a title="jQuery Carousel working example" href="http://www.123webdesignbournemouth.co.uk">working example of how to get jQuery Carousel customised</a> to work as a rotating graphic header on your webpage.<span id="more-290"></span></p>
<p>First things first &#8211; head over to <a title="jQuery Carousel" href="http://sorgalla.com/projects/jcarousel/">http://sorgalla.com/projects/jcarousel/</a> and get yourself the <a href="http://sorgalla.com/projects/download-zip.php?jcarousel">http://sorgalla.com/projects/download-zip.php?jcarousel</a> download file.</p>
<ul>
<li>Download, extract,  stick it in the root of your site.</li>
<li>Include this inside the &lt;head&gt; tag of the page you&#8217;re inserting the jQuery Carousel into, modifying the &#8220;src&#8221; path name to match the location on your server:</li>
</ul>
<pre>&lt;script type="text/javascript" src="/path/to/jquery-1.2.1.pack.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="/path/to/lib/jquery.jcarousel.pack.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" type="text/css" href="/path/to/lib/jquery.jcarousel.css" /&gt;
&lt;link rel="stylesheet" type="text/css" href="/path/to/skin/skin.css" /&gt;</pre>
<ul>
<li>I used the &#8216;autoscrolling&#8217; version to get going, and inserted the following script inside the &lt;head&gt; tag of my page:</li>
</ul>
<pre id="line29">&lt;<span>script</span><span> type</span>=<span>"text/javascript"</span>&gt;
function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: 4,
        wrap: 'last',
		animation: 800,
		scroll: 1,
        initCallback: mycarousel_initCallback
    });
});</pre>
<pre id="line85">&lt;/<span>script</span>&gt;</pre>
<ul>
<li>Html &#8211; all I had to do to the html is insert:</li>
</ul>
<pre id="line145" style="padding-left: 30px;">&lt;<span>ul</span><span> id</span>=<span>"mycarousel" </span><span>class</span>=<span>"jcarousel-skin-ie7"</span>&gt;

    &lt;<span>li</span>&gt;
      &lt;<span>img</span><span> id</span>=<span>"logotext" </span><span>src</span><span>="</span><a href="view-source:http://www.123webdesignbournemouth.co.uk/images/123-header-logo.png">images/123-header-logo.png</a><span>" </span><span>width</span>=<span>"516"
</span><span>height</span>=<span>"151" </span><span>alt</span>=<span>"123 web design bournemouth logo text" </span><span><span>/</span></span>&gt;
    &lt;/<span>li</span>&gt;
<pre id="line145">    &lt;<span>li</span>&gt;
      &lt;<span>img</span><span> id</span>=<span>"logotext" </span><span>src</span><span>="</span><a href="view-source:http://www.123webdesignbournemouth.co.uk/images/123-header-logo.png">images/123-header-logo3.png</a><span>" </span><span>width</span>=<span>"516" </span><span>
height</span>=<span>"151" </span><span>alt</span>=<span>"123 web design bournemouth logo text" </span><span><span>/</span></span>&gt;
    &lt;/<span>li</span>&gt;</pre>
<p>&lt;/ul&gt;</pre>
<ul>
<li>Rinse and repeat the &lt;li&gt; tags again and again with different images as required in each.</li>
<li>You can also add in custom styled elements such as divs with other content within the &lt;li&gt;&lt;/li&gt; tags if you want text etc as well as an image &#8211; see this link for how we&#8217;ve done the <a title="jQuery Carousel customised header rotating images and text" href="http://www.123webdesignbournemouth.co.uk/">123 web design Bournemouth jquery carousel </a></li>
<li>Edit the skin.css file, and / or your own css file if required so that the widths match the header you want to apply the jQuery Carousel to.</li>
</ul>
<p>I had a little bit of &#8216;fun&#8217; tweaking my css to get the animation running nicely, but it wasn&#8217;t too much of a ball-ache to get the desired effect!</p>
<p>Mucho thanks to our German friends over at Sorgalla.com where I believe this code originated &#8211; eternal grateful-nesses to them!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.123webdesignbournemouth.co.uk/web-design-blog/web-design/web-design-bournemouth/how-to-customise-jquery-carousel-for-your-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

