<?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>TYPO3 Blog - für TYPO3 Entwickler von TYPO3 Experten &#187; jquery</title>
	<atom:link href="http://blog.marit.ag/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.marit.ag</link>
	<description>TYPO3 Entwicklung, TYPO3 Extensions, TypoScript, TYPO3 Installation und vieles mehr</description>
	<lastBuildDate>Fri, 27 Jan 2012 10:30:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mobile (Iphone) Firmen-Präsentation in TYPO3</title>
		<link>http://blog.marit.ag/2010/02/10/mobile-iphone-firmen-prasentation-in-typo3/</link>
		<comments>http://blog.marit.ag/2010/02/10/mobile-iphone-firmen-prasentation-in-typo3/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 18:45:53 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[typo3]]></category>

		<guid isPermaLink="false">http://blog.marit.ag/?p=554</guid>
		<description><![CDATA[Wir haben aktuell eine Idee, unsere Agenturpräsentation auf das Iphone zu bringen. Da sich die serielle Präsentationsform eignet, erstellen wir optimierte Slides nach Powerpoint-Logik als PNG Bilder, und stellen diese als Mobile-Präsentation dar. Am besten gleich mit Photoshop auf die optimale Größe 320&#215;480 erstellen! Und damit das ganze auch einfach ist, soll es in TYPO3 [...]]]></description>
			<content:encoded><![CDATA[<p>Wir haben aktuell eine Idee, unsere Agenturpräsentation auf das Iphone zu bringen. Da sich die serielle Präsentationsform eignet, erstellen wir optimierte Slides nach Powerpoint-Logik als PNG Bilder, und stellen diese als Mobile-Präsentation dar. Am besten gleich mit Photoshop auf die optimale Größe 320&#215;480 erstellen! Und damit das ganze auch einfach ist, soll es in TYPO3 bearbeitbar sein:</p>
<p><span id="more-554"></span></p>
<p>1. Als erstes auf einer neuen Seite eine neues Seitentemplate einstellen (CSS-Styled-Content einbinden):</p>
<pre class="brush: plain; title: ; notranslate">
#genug breite
styles.content.imgtext.maxW = 100000
tt_content.image.20.maxW = 100000
page = PAGE
#jquery muss am Platz sein
page.includeJS.file1 = fileadmin/template/js/jquery-1.4.min.js
#folgende Dateien werden weiter unten im Artikel beschrieben
page.includeCSS.file1 = fileadmin/template/css/mobile_slider.css
page.includeJS.file2 = fileadmin/template/js/mobile_slider.js
page.5 = TEXT
page.5.value=&lt;div id=&quot;slider&quot;&gt;&lt;div id=&quot;mask&quot;&gt;
page.10 &lt; styles.content.get
page.15 = TEXT
page.15.value=&lt;/div&gt;&lt;/div&gt;
</pre>
<p>Warum die ganze Div-Parade notwendig ist:<br />
<a href="http://blog.marit.ag/wp-content/uploads/mask-theory1.png" rel="lightbox[554]"><img src="http://blog.marit.ag/wp-content/uploads/mask-theory1-300x247.png" alt="" width="300" height="247" class="alignleft size-medium wp-image-556" /></a><br />
Die Logik ist geliehen von: <a href="http://css-tricks.com/create-a-slick-iphonemobile-interface-from-any-rss-feed/">http://css-tricks.com/create-a-slick-iphonemobile-interface-from-any-rss-feed/</a></p>
<p>2. Dann ein Image-Element in der Mittleren Spalte platzieren mit mehreren Bildern füllen, eine Reihe je Bild:<br />
<a href="http://blog.marit.ag/wp-content/uploads/FireShot-capture-521-Marit-AG-TYPO3-4_3_1-relaunch_marit_ag_typo3_backend_php.gif" rel="lightbox[554]"><img src="http://blog.marit.ag/wp-content/uploads/FireShot-capture-521-Marit-AG-TYPO3-4_3_1-relaunch_marit_ag_typo3_backend_php-300x237.gif" alt="" width="300" height="237" class="alignleft size-medium wp-image-555" /></a></p>
<p>3. Dann jQuery einbinden</p>
<p>4. Dann die Datei mobile_slider.js:</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function(){
	$('img:not(:last)').click(function() {
		$(&quot;#mask&quot;).animate({left: &quot;-=320px&quot;});
	});
	$('img:last').click(function() {
		$(&quot;#mask&quot;).animate({left: &quot;0px&quot;});
	});
});
</pre>
<p>Dann die Datei mobile_slider.css:</p>
<pre class="brush: css; title: ; notranslate">
* {margin: 0 !important;}
#slider { width: 320px; overflow: hidden; position: relative; }
#mask { width: 1280px; position: relative; left: 0px;}
.csc-textpic-image { width: 320px; float: left; overflow: hidden;}
</pre>
<p>Und fertig!</p>
<p>Leider sind die Bildhöhen und Größen noch nicht perfekt justiert, da gebe ich ein Update, wenn wir weiter sind.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marit.ag/2010/02/10/mobile-iphone-firmen-prasentation-in-typo3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

