<?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>mysrc.de &#187; HTML5</title> <atom:link href="http://www.mysrc.de/category/html5/feed/" rel="self" type="application/rss+xml" /><link>http://www.mysrc.de</link> <description>- jQuery, MooTools, HTML5, AJAX</description> <lastBuildDate>Tue, 14 Jun 2011 08:24:25 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>jQuery Mobile &#8211; Der Seitenaufbau</title><link>http://www.mysrc.de/html5/jquery-mobile-der-eitenaufbau/</link> <comments>http://www.mysrc.de/html5/jquery-mobile-der-eitenaufbau/#comments</comments> <pubDate>Wed, 01 Dec 2010 20:03:17 +0000</pubDate> <dc:creator>Stefan Huissel</dc:creator> <category><![CDATA[HTML5]]></category> <category><![CDATA[jQuery Mobile]]></category> <category><![CDATA[jQuery]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=1165</guid> <description><![CDATA[Bevor man damit beginnt seine ersten mobile Websites zu bauen, gibt es einige grundlegende Punkte die Struktur betreffend zu wissen. Zunächst einmal arbeiten wir unter dem HTML5 Doctype. Was in mobilen Endgeräten glücklicherweise kein Problem ist, da diese HTML5 in sogut wie allen Fällen verstehen. Der HTML Head mit den für jQuery Mobile notwendigen JS-Skripten, [...]]]></description> <content:encoded><![CDATA[<p>Bevor man damit beginnt seine ersten mobile Websites zu bauen, gibt es einige grundlegende Punkte die Struktur betreffend zu wissen.<br
/> Zunächst einmal arbeiten wir unter dem HTML5 Doctype. Was in mobilen Endgeräten glücklicherweise kein Problem ist, da diese HTML5 in sogut wie allen Fällen verstehen.</p><p>Der HTML Head mit den für jQuery Mobile notwendigen JS-Skripten, sieht nun wie folgt aus:</p><div
class="wp_codebox_msgheader"><span
class="right"><sup><a
href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span
style="color: #99cc00">?</span></a></sup></span><span
class="left"><a
href="javascript:;" onclick="javascript:showCodeTxt('p1165code3'); return false;">View Code</a> HTML</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p11653"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td
class="code" id="p1165code3"><pre class="html" style="font-family:monospace;">&lt;!DOCTYPE html&gt;
&lt;html&gt;
	&lt;head&gt;
	&lt;title&gt;Meine mobile Website&lt;/title&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css&quot; /&gt;
	&lt;script src=&quot;http://code.jquery.com/jquery-1.4.4.min.js&quot;&gt;&lt;/script&gt;
	&lt;script src=&quot;http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;</pre></td></tr></table></div><p>Für das Framework benötigen wir im HTML Teil nun ein spezielles Attribut mit der Bezeichnung &#8220;data-role&#8221;, das den allgemein Aufbau der Seite definiert.</p><div
class="wp_codebox_msgheader"><span
class="right"><sup><a
href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span
style="color: #99cc00">?</span></a></sup></span><span
class="left"><a
href="javascript:;" onclick="javascript:showCodeTxt('p1165code4'); return false;">View Code</a> HTML</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p11654"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td
class="code" id="p1165code4"><pre class="html" style="font-family:monospace;">&lt;div data-role=&quot;page&quot;&gt;
&lt;body&gt;
&nbsp;
&lt;div data-role=&quot;page&quot;&gt;
&nbsp;
	&lt;div data-role=&quot;header&quot;&gt;
		&lt;h1&gt;Meine mobile Website&lt;/h1&gt;
	&lt;/div&gt;
&nbsp;
	&lt;div data-role=&quot;content&quot;&gt;
		&lt;p&gt;Hier der normale Seiteninhalt..&lt;/p&gt;
	&lt;/div&gt;
&nbsp;
	&lt;div data-role=&quot;footer&quot;&gt;
		&lt;p&gt;Allgemeine Seiteninfo&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;
&nbsp;
&lt;/body&gt;
&lt;/html&gt;
&lt;/div&gt;</pre></td></tr></table></div><p>Der notwendigen Attributausprägungen sind hierbei <strong>page, header, content und footer</strong>. Jedes einzelne dieser Divs ist frei mit normalen HTML Tags befüllbar.</p><p>Damit haben wir nun schon unsere erste statische Seite. Obwohl wir ein Javascript Framework benutzen, brauche wir bisher dafür noch kein Javascript. Alle notwendigen Schritte laufen im Hintergrund ab.</p><p>Im nächsten Teil widmen wir uns dann der Verlinkung mittels Ajax und dem Wechsel zwischen verschiedenen Seiten..</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>25. November 2010 -- <a
href="http://www.mysrc.de/jquery/jquery-mobile-web-apps-mit-jquery/" title="jQuery Mobile &#8211; Web-Apps mit jQuery">jQuery Mobile &#8211; Web-Apps mit jQuery</a></li><li>19. November 2010 -- <a
href="http://www.mysrc.de/jquery/praxistipp-suchfeld-leeren-on-focus-jquery/" title="Praxistipp: Suchfeld leeren on focus (jQuery)">Praxistipp: Suchfeld leeren on focus (jQuery)</a></li><li>14. November 2010 -- <a
href="http://www.mysrc.de/jquery/fadetoggle-die-neue-in-jquery-1-4-4/" title="fadeToggle &#8211; die Neue in jQuery 1.4.4">fadeToggle &#8211; die Neue in jQuery 1.4.4</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/html5/jquery-mobile-der-eitenaufbau/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>jMediaelement &#8211; jQuery HTML5 Audio-Video Kit</title><link>http://www.mysrc.de/jquery/jmediaelement-jquery-html5-audio-video-kit/</link> <comments>http://www.mysrc.de/jquery/jmediaelement-jquery-html5-audio-video-kit/#comments</comments> <pubDate>Tue, 20 Jul 2010 07:48:49 +0000</pubDate> <dc:creator>Oliver Storm</dc:creator> <category><![CDATA[HTML5]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[Video]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=1084</guid> <description><![CDATA[Nach langer Zeit hab ich heute mal wieder ne Kleinigkeit für euch. Meiner Meinung nach der momentan wohl beste HTML-5 Mediaplayer. jMediaelement spielt sowohl Audio, als auch Video-Dateien ab und hat für alle Browser die kein HTML-5 unterstützen nen Fallback auf Flash und VLC. Der Player ist über CSS komplett stylebar und unterstützt alle großen [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.mysrc.de/wp-content/uploads/2010/07/jmediaelement.jpg"><img
class="size-medium wp-image-1086 alignright" title="jmediaelement" src="http://www.mysrc.de/wp-content/uploads/2010/07/jmediaelement-300x199.jpg" alt="" width="192" height="127" /></a></p><p>Nach langer Zeit hab ich heute mal wieder ne Kleinigkeit für euch.<br
/> Meiner Meinung nach der momentan wohl beste HTML-5 Mediaplayer.<br
/> <a
title="jMediaelement" href="http://protofunc.com/jme/" target="_blank">jMediaelement</a> spielt sowohl Audio, als auch Video-Dateien ab und hat für alle Browser die kein HTML-5 unterstützen nen Fallback auf Flash und VLC.</p><p>Der Player ist über CSS komplett stylebar und unterstützt alle großen Dateiformate wie z.B.: ogg (theora/vorbis), mp4/mov (h.264), WebM (VP8/vorbis), flv, Youtube  videos und mehr.</p><p>Die implementierung des Players ist kinderleicht und gut <a
title="jMediaelement - Documentation" href="http://protofunc.com/jme/documentation/index.html" target="_self">dokumentiert</a>.</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>30. Mai 2009 -- <a
href="http://www.mysrc.de/jquery/jyoutube-jquery-youtube-thumbnail-plugin/" title="jYouTube &#8211; jQuery YouTube thumbnail plugin">jYouTube &#8211; jQuery YouTube thumbnail plugin</a></li><li>18. Februar 2009 -- <a
href="http://www.mysrc.de/jquery/jquery-videos/" title="jQuery Videos">jQuery Videos</a></li><li>4. Februar 2009 -- <a
href="http://www.mysrc.de/mootools/mootools-jquery-videos/" title="MooTools &#038; jQuery &#8211; Videos">MooTools &#038; jQuery &#8211; Videos</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/jquery/jmediaelement-jquery-html5-audio-video-kit/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
