<?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; CSS3</title> <atom:link href="http://www.mysrc.de/tag/css3/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>Typeface mit font-weight:bold</title><link>http://www.mysrc.de/javascript/typeface-mit-font-weightbold/</link> <comments>http://www.mysrc.de/javascript/typeface-mit-font-weightbold/#comments</comments> <pubDate>Fri, 30 Jul 2010 20:17:10 +0000</pubDate> <dc:creator>Stefan Huissel</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[sIFR]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=1100</guid> <description><![CDATA[Als Webentwickler kennt man das Problem mit kommerziellen Schriftarten, die aus dem Corporate Design stammen, aber nicht als Webfont zur Verfügung stehen. Beliebt sind dafür immer verschiedenste Formen des Image-Replacements. Die Nachteile davon liegen auf der Hand: Keine optimale Suchmaschinerkennung Hoher Änderungs- und Verwaltungsaufwand Text nicht kopierbar Problem der Barrierefreiheit Neben der Bilderlösung dürfte sIFR [...]]]></description> <content:encoded><![CDATA[<p>Als Webentwickler kennt man das Problem mit kommerziellen Schriftarten, die aus dem Corporate Design stammen, aber nicht als Webfont zur Verfügung stehen. Beliebt sind dafür immer verschiedenste Formen des <strong>Image-Replacements</strong>. Die Nachteile davon liegen auf der Hand:</p><ul><li>Keine optimale Suchmaschinerkennung</li><li>Hoher Änderungs- und Verwaltungsaufwand</li><li>Text nicht kopierbar</li><li>Problem der Barrierefreiheit</li></ul><p>Neben der Bilderlösung dürfte <a
href="http://wiki.novemberborn.net/blog/sifr">sIFR</a> eine bekannte Methode sein. Hier wird der Text aus einem bestimmten HTML-Tag gelesen und durch einen Flashfilm mit eingebettem Font ersetzt. In der Theorie gut, in der Praxis schwierig wegen eines enorm hohen Konfigurationsaufwands.</p><p>Nach dem gleichen Prinzip funktioniert das js-Plugin <a
href="http://typeface.neocracy.org/">Typeface</a>. Nur ist es etwas praktischer in der Handhabung.<br
/> Der folgende Code bindet einen normalen Font und einen später beschriebenen Bold-Font ein:</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('p1100code4'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p11004"><td
class="line_numbers"><pre>1
2
3
</pre></td><td
class="code" id="p1100code4"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;typeface-0.14.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mysrcFont.typeface.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mysrcFontBold.typeface.js&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">2</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div><p>Um dem Text die entsprechende Schriftart zuzuweißen, benutzt man einfach die CSS Anweisung font-family.</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('p1100code5'); return false;">View Code</a> HTML</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p11005"><td
class="line_numbers"><pre>1
2
</pre></td><td
class="code" id="p1100code5"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;text&quot; style=&quot;font-family: mySrc Font;&quot;&gt;
Lorum ipsolum...&lt;/div&gt;</pre></td></tr></table></div><p>Den Namen des im syle-Attribut verwendeten Fonts kann man in den jeweiligen js-Dateien nachlesen.<br
/> Das Ganze hat zwei Nachteile, wie sie auch schon auf der Website beschrieben werden. <strong>Performanceprobleme</strong> bei größeren Textmengen und Standard-CSS <strong>Hovereffekte</strong> funktionieren nicht mehr.<br
/> Damit der Font in eine Javascript Datei umgewandelt werden muss er in einem <strong>Truetype oder Opentype Format</strong> vorliegen. Nicht immer ist bei diesen Schriften auch die fette Variante integriert. Um das in den Griff zu bekommen, kann man mit einem Font Bearbeitungstool nur die Bold-Variante exportieren und diese ebenfalls umwandeln. Bindet man nun diese beide JS-Dateien ein und weist die Bold-Schrift einem einem HTML-Element zu, passiert abgesehen von einer Fehlerausgabe in der Firebug Konsole nichts.<br
/> Die Lösung dafür ist ganz einfach. Der <strong>Font-Converter</strong> auf der Typeface Website integriert auch Informationen über Schriftschnitte weshalb der CSS-Selektor diese Info auch benötigt:</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('p1100code6'); return false;">View Code</a> CSS</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p11006"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td
class="code" id="p1100code6"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#text</span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> mySrc Font<span style="color: #00AA00;">,</span> Verdana<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#boldFont</span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> mySrc Boldfont<span style="color: #00AA00;">,</span> Verdana<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div><p>Damit ist der Workaround für die Einbettung von normalen und bold Schriften perfekt.</p><p><a
title="Cufón – Eine Javascript alternative zu sIFR" href="http://www.mysrc.de/web-development/cufon-eine-javascript-alternative-zu-sifr/">Cufón – Eine Javascript alternative zu sIFR</a><br
/> <a
title="sIFR 3 r436 – scroll-Problem im Firefox 3, ie6/7" href="http://www.mysrc.de/javascript/sifr-3-r436-scroll-problem-im-firefox-3-ie67/">sIFR 3 r436 – scroll-Problem im Firefox 3, ie6/7</a></p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>15. April 2009 -- <a
href="http://www.mysrc.de/jquery/jquery-versus-css/" title="jQuery versus CSS">jQuery versus CSS</a></li><li>12. April 2009 -- <a
href="http://www.mysrc.de/jquery/jquery-ui-css-framework/" title="jQuery UI CSS Framework">jQuery UI CSS Framework</a></li><li>8. April 2009 -- <a
href="http://www.mysrc.de/jquery/jquery-media-plugin-zum-einbinden-verschiedener-mime-types/" title="jQuery Media Plugin zum Einbinden verschiedener Mime-Types">jQuery Media Plugin zum Einbinden verschiedener Mime-Types</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/javascript/typeface-mit-font-weightbold/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>jQuery versus CSS</title><link>http://www.mysrc.de/jquery/jquery-versus-css/</link> <comments>http://www.mysrc.de/jquery/jquery-versus-css/#comments</comments> <pubDate>Wed, 15 Apr 2009 21:34:57 +0000</pubDate> <dc:creator>Stefan Huissel</dc:creator> <category><![CDATA[JS-Framework Tutorials]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[CSS3]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=347</guid> <description><![CDATA[An einem kleinen Beispiel soll gezeigt werden inwiefern CSS und ein JS-Framework gleiche Funktionalitäten bieten aber auch gleichzeitig wo Unterschiede liegen. Folgendes Codestück legt ein Zoom Icon über ein Bild rein unter zuhilfe von CSS. Hierbei wird ein leeres span-Tag eingefügt auf das wir später unser Icon legen wollen. ?View Code HTML1 2 3 4 [...]]]></description> <content:encoded><![CDATA[<p>An einem kleinen Beispiel soll gezeigt werden inwiefern CSS und ein JS-Framework gleiche Funktionalitäten bieten aber auch gleichzeitig wo Unterschiede liegen.<br
/> Folgendes Codestück legt ein Zoom Icon über ein Bild rein unter zuhilfe von CSS. Hierbei wird ein leeres span-Tag eingefügt auf das wir später unser Icon legen wollen.</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('p347code11'); return false;">View Code</a> HTML</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p34711"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td
class="code" id="p347code11"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;picGallery&quot;&gt;
    &lt;h2&gt;CSS-Code&lt;/h2&gt;
    &lt;a href=&quot;someBigPic.jpg&quot;&gt;
        &lt;span&gt;&lt;/span&gt;
        &lt;img src=&quot;someSmallerPic.jpg&quot; alt=&quot;&quot; /&gt;
    &lt;/a&gt;
    &lt;a href=&quot;anotherBigPic.jpg&quot;&gt;
        &lt;span&gt;&lt;/span&gt;
        &lt;img src=&quot;AnotherSmallPic.jpg&quot; alt=&quot;&quot; /&gt;
    &lt;/a&gt;
&lt;/div&gt;</pre></td></tr></table></div><p>Das CSS sähe dabei so 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('p347code12'); return false;">View Code</a> CSS</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p34712"><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
22
23
24
25
26
</pre></td><td
class="code" id="p347code12"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#picGallery</span><span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span>       <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span>  <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#picGallery</span> a <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span>   <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span>         <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>     <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#picGallery</span> a span <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">zoom.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #00AA00;">:</span><span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">48px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">48px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#picGallery</span> img <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span>    <span style="color: #993333;">solid</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>  <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#picGallery</span>  a<span style="color: #3333ff;">:hover </span>span <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span>   <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div><p>Soweit sogut. Nun mit Hilfe von jQuery. Der HTML Teil ist fast identsich. Allerdings brauchen wir hier die span-Tags noch nicht.</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('p347code13'); return false;">View Code</a> HTML</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p34713"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td
class="code" id="p347code13"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;picGallery&quot;&gt;
    &lt;h1&gt;jQuery Code&lt;/h1&gt;
    &lt;a href=&quot;someBigPic.jpg&quot;&gt;
        &lt;img src=&quot;someSmallerPic.jpg&quot; alt=&quot;&quot; /&gt;
    &lt;/a&gt;
    &lt;a href=&quot;anotherBigPic.jpg&quot;&gt;
        &lt;img src=&quot;AnotherSmallPic.jpg&quot; alt=&quot;&quot; /&gt;
    &lt;/a&gt;
&lt;/div&gt;</pre></td></tr></table></div><p>Der JS-Code erzeugt den span und kümmert sich um das Einblenden..</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('p347code14'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p34714"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td
class="code" id="p347code14"><pre class="javascript" style="font-family:monospace;">   $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      <span style="color: #006600; font-style: italic;">//Füge jedem a-tag in dem div mit der id &quot;picGallery&quot; ein span-Tag hinzu</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#picGallery a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span&gt;&lt;/span&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #006600; font-style: italic;">//Standard fading Funktionen von jQuery</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#gallery2 a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hover</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;span&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
      <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;span&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>Das wars auch schon. Natürlich muss das CSS im HTML Dokument referenziert werden, allerdings kann dann die a:hover Eigenschaft weggelassen werden. Bei Click würde das Bild in einem neuen Fenster geöffnet, bei Bedarf ließe sich noch ein Bildergalerie Skript damit verbinden. Ich hoffe das bei Gelegenheit noch vorstellen zu können.<br
/> Viel Erfolg!!</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>1. Dezember 2010 -- <a
href="http://www.mysrc.de/html5/jquery-mobile-der-eitenaufbau/" title="jQuery Mobile &#8211; Der Seitenaufbau">jQuery Mobile &#8211; Der Seitenaufbau</a></li><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></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/jquery/jquery-versus-css/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>jQuery UI CSS Framework</title><link>http://www.mysrc.de/jquery/jquery-ui-css-framework/</link> <comments>http://www.mysrc.de/jquery/jquery-ui-css-framework/#comments</comments> <pubDate>Sun, 12 Apr 2009 12:44:13 +0000</pubDate> <dc:creator>Stefan Huissel</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[Best Practice]]></category> <category><![CDATA[CSS Framework]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[jQuery UI]]></category> <category><![CDATA[Round Corners]]></category> <category><![CDATA[ThemeRoller]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=338</guid> <description><![CDATA[Heute mal ein kleiner Exkurs auf die Oberflächengestaltung das vereinfachte Zusammenarbeiten zwischen Entwickler und Designer. jQuery bietet ein eigenes CSS Framework. Im Gegensatz zu YAML, wohl eines der bekanntetesten Frameworks in diesem Bereich, ist das UI CSS Framework meiner Meinung nach weitaus einfacher zu handhaben, allerdings auch nicht ganz so mächtig. In erster Linie werden [...]]]></description> <content:encoded><![CDATA[<p>Heute mal ein kleiner Exkurs auf die Oberflächengestaltung das vereinfachte Zusammenarbeiten zwischen Entwickler und Designer.<br
/> jQuery bietet ein eigenes CSS Framework. Im Gegensatz zu YAML, wohl eines der bekanntetesten Frameworks in diesem Bereich, ist das UI CSS Framework meiner Meinung nach weitaus einfacher zu handhaben, allerdings auch nicht ganz so mächtig. In erster Linie werden Bezeichnungen für Elemente durch Klassen vorgegeben. Nun hält man sich einfach an diese Standards und man kann das &#8220;Look a like&#8221; seiner Oberflächenkomponenten durch Austauschen der Themes schnell und einfach ändern.</p><p>Auch wird die Umsetzung von &#8220;Rounded corners&#8221; mit CSS3 unterstützt. Natürlich in den Browsern, die sich nach dieser W3C Empfehlung richten. Der IE6 gehört natürlich nicht dazu, hierfür muss auch mit dem jQuery CSS Framework individuell angepasst werden. Genauso werden bisher noch keine transparente png&#8217;s im IE6 unterstützt, was sich aber bald ändern soll. Aber hierfür ist bisher noch der alte CSS pngfix notwenig.<br
/> Allgemein mehr über das CSS Framework könnt ihr unter <a
href="http://docs.jquery.com/UI/Theming/API">Theming API</a> herausfinden.</p><p>Auch äußerst interessant ist der <a
href="http://jqueryui.com/themeroller/">ThemeRoller</a>. Hält man sich an die Standards der Theming API lassen sich damit einfach ansprechende Benutzeroberflächen gestalten, die auf die eigene Seite als CSS übernommen werden können.</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>16. Oktober 2009 -- <a
href="http://www.mysrc.de/jquery/jquery-accessible-ria-widgets-fur-jedermann/" title="jQuery &#8211; Accessible-RIA &#8211; Widgets für jedermann">jQuery &#8211; Accessible-RIA &#8211; Widgets für jedermann</a></li><li>27. Juli 2009 -- <a
href="http://www.mysrc.de/jquery/jquery-tutorial-closing-an-accordion-automatically/" title="jQuery Tutorial &#8211; Closing an Accordion automatically">jQuery Tutorial &#8211; Closing an Accordion automatically</a></li><li>24. März 2011 -- <a
href="http://www.mysrc.de/mootools/mootools-menumatic-firefox-4-zweizeilig-problem/" title="MooTools MenuMatic &#8211; Firefox 4 zweizeilig Problem">MooTools MenuMatic &#8211; Firefox 4 zweizeilig Problem</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/jquery/jquery-ui-css-framework/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
