<?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; bug</title> <atom:link href="http://www.mysrc.de/tag/bug/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>MooTools MenuMatic &#8211; Firefox 4 zweizeilig Problem</title><link>http://www.mysrc.de/mootools/mootools-menumatic-firefox-4-zweizeilig-problem/</link> <comments>http://www.mysrc.de/mootools/mootools-menumatic-firefox-4-zweizeilig-problem/#comments</comments> <pubDate>Thu, 24 Mar 2011 10:20:00 +0000</pubDate> <dc:creator>Oliver Storm</dc:creator> <category><![CDATA[MooTools]]></category> <category><![CDATA[Best Practice]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[Tipp!]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=1173</guid> <description><![CDATA[Die Zeit der neuen Browser. Und auch wenn alles schön und neu ist, heute morgen hatte ich dann auch gleich das erste kleine Problem. Firefox4 mit MenuMatic wollten nicht ganz so wie ich. In meiner Navigation wurd ein Punkt zweizeilig und somit die ganze Höhe meines Menüs falsch, was zur Folge hatte das unten ein [...]]]></description> <content:encoded><![CDATA[<p>Die Zeit der neuen Browser. Und auch wenn alles schön und neu ist, heute morgen hatte ich dann auch gleich das erste kleine Problem.</p><p>Firefox4 mit <a
title="MenuMatic" href="http://greengeckodesign.com/taxonomy/term/3/0?page=3" target="_blank">MenuMatic</a> wollten nicht ganz so wie ich. In meiner Navigation wurd ein Punkt zweizeilig und somit die ganze Höhe meines Menüs falsch, was zur Folge hatte das unten ein Stück abgeschnitten wurde.</p><p>Da sich über CSS keine Lösung finden ließ habe ich die js-Datei (MenuMatic_0.68.3-source.js) wie folgt geändert:<br
/> <strong>Zeile 737 </strong>einfach um <strong>+2</strong> erhöht.</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('p1173code2'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p11732"><td
class="line_numbers"><pre>1
</pre></td><td
class="code" id="p1173code2"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">width</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">childMenu</span>.<span style="color: #660066;">getFirst</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getCoordinates</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><span style="color: #339933;">+</span><span style="color: #CC0000;">2</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>Ich hoffe das hilft dem ein oder anderen weiter&#8230;</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>17. September 2009 -- <a
href="http://www.mysrc.de/mootools/praxistipp-position-absolute-parent-height-anpassen-mit-mootools/" title="Praxistipp &#8211; position absolute &#8211; parent height anpassen mit MooTools ">Praxistipp &#8211; position absolute &#8211; parent height anpassen mit MooTools </a></li><li>23. März 2010 -- <a
href="http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/" title="Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2">Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2</a></li><li>16. Oktober 2009 -- <a
href="http://www.mysrc.de/jquery/praxistipp-jqtransform-width-bug/" title="Praxistipp &#8211; jqTransform width bug">Praxistipp &#8211; jqTransform width bug</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/mootools/mootools-menumatic-firefox-4-zweizeilig-problem/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Praxistipp – jqTransform Bug bei input in Firefox &gt; 3.5.2</title><link>http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/</link> <comments>http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/#comments</comments> <pubDate>Tue, 23 Mar 2010 13:16:37 +0000</pubDate> <dc:creator>Oliver Storm</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[Best Practice]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[Formulare]]></category> <category><![CDATA[Plugin]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=1072</guid> <description><![CDATA[Wer von euch jqTransform nutzt wird evtl. nach dem letzten Firefox Update festegestellt haben das der Text in den Inputs nicht mehr sauber mittig sitzt. Gilt für Firefox ab 3.5.2. Das ganze liegt an der neuen Render Engine die Firefox spendiert bekommen hat. Um das Problem in den Griff zu bekommen, ohne sideeffects für andere [...]]]></description> <content:encoded><![CDATA[<p>Wer von euch<strong> jqTransform</strong> nutzt wird evtl. nach dem letzten Firefox Update festegestellt haben das der Text in den <strong>Inputs</strong> nicht mehr sauber mittig sitzt.<br
/> Gilt für Firefox ab 3.5.2.</p><p><a
href="http://www.mysrc.de/wp-content/uploads/2010/03/jqtransform-input-bug.png"><img
class="alignnone size-full wp-image-1074" title="jqtransform input bug" src="http://www.mysrc.de/wp-content/uploads/2010/03/jqtransform-input-bug.png" alt="jqTransform bug im Firefox" width="241" height="37" /></a></p><p>Das ganze liegt an der neuen Render Engine die Firefox spendiert bekommen hat.<br
/> Um das Problem in den Griff zu bekommen, ohne sideeffects für andere Browser zu bekommen macht Ihr einfach folgendes.</p><p>Eure jqtransform.css auf, in Zeile 90 (.jqTransformInputInner div input {) änder Ihr die <strong>height jetzt von 31px auf auto</strong>.</p><p>Das war´s schon&#8230;.</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>24. Juni 2009 -- <a
href="http://www.mysrc.de/jquery/ifixpng2-pngfix-transparenz-fur-den-ie6/" title="ifixpng2 &#038; pngFix &#8211; Transparenz für den IE6">ifixpng2 &#038; pngFix &#8211; Transparenz für den IE6</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>16. Oktober 2009 -- <a
href="http://www.mysrc.de/jquery/praxistipp-jqtransform-width-bug/" title="Praxistipp &#8211; jqTransform width bug">Praxistipp &#8211; jqTransform width bug</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>ifixpng2 &amp; pngFix &#8211; Transparenz für den IE6</title><link>http://www.mysrc.de/jquery/ifixpng2-pngfix-transparenz-fur-den-ie6/</link> <comments>http://www.mysrc.de/jquery/ifixpng2-pngfix-transparenz-fur-den-ie6/#comments</comments> <pubDate>Wed, 24 Jun 2009 09:22:36 +0000</pubDate> <dc:creator>Stefan Huissel</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[Best Practice]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[pngfix]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=668</guid> <description><![CDATA[Immer wieder stößt man bei der Entwicklung von Webseiten auf das Problem transparenter Hintergründe von png&#8217;s im IE6. Es gibt diverse Hacks und Workarounds dafür. Ein paar besondere sollen hier nun kurz vorgestellt werden. - ifixpng2 Das alte ifixpng plugin hat ein update verpasst bekommen. Einige Fehler oder Probleme wurden behoben, vor allem erwähnenswert dabei, [...]]]></description> <content:encoded><![CDATA[<p>Immer wieder stößt man bei der Entwicklung von Webseiten auf das Problem transparenter Hintergründe von png&#8217;s im IE6. Es gibt diverse Hacks und Workarounds dafür. Ein paar besondere sollen hier nun kurz vorgestellt werden.</p><p>- <strong>ifixpng2</strong><br
/> Das alte ifixpng plugin hat ein update verpasst bekommen. Einige Fehler oder Probleme wurden behoben, vor allem erwähnenswert dabei, das <strong>Elemente mit Background-Image nicht mehr visible bzw. sichtbar sein müssen</strong> um den gewünschen Effekt zu erhalten. Den Download zum <strong>ifixpng2</strong> findet ihr <a
href="http://plugins.jquery.com/project/iFixPng2">hier</a>.</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('p668code6'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p6686"><td
class="line_numbers"><pre>1
2
3
4
5
</pre></td><td
class="code" id="p668code6"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//DOM-Ready Event</span>
 $<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;">//Der Fix wird auf alle Class-Attribute mit &quot;legende&quot; angewendet</span>
     $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.transparent'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ifixpng</span><span style="color: #009900;">&#40;</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>- <strong>pngfix</strong><br
/> Ein anderes nettes Plugin um das <strong>Transparenzproblem</strong> zu lösen findet ihr auf der Seite von <a
href="http://jquery.andreaseberhard.de/pngFix/">Andreas Eberhard</a>. Das schöne bei diesem Plugin ist, dass <strong>nicht nur</strong> pngs gefixt werden, <strong>die im CSS als background</strong> angegeben sind, sondern auch <strong>direkt img-Tags</strong> angesprochen werden können.<br
/> Der Aufruf dazu ist derselbe wie beim ifixpng2:</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('p668code7'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p6687"><td
class="line_numbers"><pre>1
2
3
4
</pre></td><td
class="code" id="p668code7"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//plugin wird auf alle Bilder angewendet</span>
 $<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: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">pngFix</span><span style="color: #009900;">&#40;</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>Dieser einfache Aufruf geht allerdings bei vielen Bildern auf der Seite zu Lasten der Performance. Ich empfehle eine präziseren Aufruf für genau diejenigen Bilder, die den<br
/> pngfix erhalten sollen.</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('p668code8'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p6688"><td
class="line_numbers"><pre>1
2
</pre></td><td
class="code" id="p668code8"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//Fix bezieht sich auf jedes Div mit der Class &quot;Legende&quot;</span>
jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.legende'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">pngFix</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><li>23. März 2010 -- <a
href="http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/" title="Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2">Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2</a></li><li>16. Oktober 2009 -- <a
href="http://www.mysrc.de/jquery/praxistipp-jqtransform-width-bug/" title="Praxistipp &#8211; jqTransform width bug">Praxistipp &#8211; jqTransform width bug</a></li><li>5. August 2009 -- <a
href="http://www.mysrc.de/jquery/tipp-highlighten-eins-li%c2%b4s-innerhalb-einer-list-mit-jquery/" title="Tipp! &#8211; Highlighten eins li´s innerhalb einer Liste mit jQuery">Tipp! &#8211; Highlighten eins li´s innerhalb einer Liste mit jQuery</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/jquery/ifixpng2-pngfix-transparenz-fur-den-ie6/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>MooTools removeClass Problem</title><link>http://www.mysrc.de/mootools/mootools-removeclass-problem/</link> <comments>http://www.mysrc.de/mootools/mootools-removeclass-problem/#comments</comments> <pubDate>Mon, 16 Mar 2009 09:39:32 +0000</pubDate> <dc:creator>Stefan Huissel</dc:creator> <category><![CDATA[MooTools]]></category> <category><![CDATA[addClass]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[className]]></category> <category><![CDATA[removeClass]]></category> <guid
isPermaLink="false">http://www.mysrc.de/?p=247</guid> <description><![CDATA[Hi, am Wochenende habe ich ein paar verzweifelte Versuche unternommen eine CSS Klasse eines Inputfeldes mit der Methode Objekt.removeClass(&#8220;CSSKLASSE&#8221;) zu entfernen. Nach langem ergebnislosem Suchen im Netz und durchstöbern der Doku, ließ sich auch nicht herausfinden warum es nicht funktionierte, zumal die Funktion addClass keinerlei Probleme machte. Am Ende habe ich einen ganzen einfachen Weg [...]]]></description> <content:encoded><![CDATA[<p>Hi,</p><p>am Wochenende habe ich ein paar verzweifelte Versuche unternommen eine CSS Klasse eines Inputfeldes mit der Methode <strong>Objekt.removeClass(&#8220;CSSKLASSE&#8221;)</strong> zu entfernen.<br
/> Nach langem ergebnislosem Suchen im Netz und durchstöbern der Doku, ließ sich auch nicht herausfinden warum es nicht funktionierte, zumal die Funktion <strong>addClass</strong> keinerlei Probleme machte.</p><p>Am Ende habe ich einen ganzen einfachen Weg gefunden, das Ganze zum laufen zu bringen. Ich sag mal, fast schon zu einfach um sofort darauf zu kommen.<br
/> Hier mein Workaround:</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('p247code10'); return false;">View Code</a> JAVASCRIPT</span><div
class="codebox_clear"></div></div><div
class="wp_codebox"><table><tr
id="p24710"><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td
class="code" id="p247code10"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//Mittels Selektor eigenes Skriptobjekt erzeugen	</span>
<span style="color: #003366; font-weight: bold;">var</span> input <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'LieferName'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Ausblenden eines DIVs, danach sollte das Validierungsskript durch entfernen des CSS deaktiviert werden. Reiner JavaScript Syntax, man hätte auch Mootools Code dafür verwenden können..</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'liefer'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">style</span>.<span style="color: #660066;">display</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'none'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Folgende Funktion blieb immer ergebnislos</span>
<span style="color: #006600; font-style: italic;">//input.removeClass('validate[\'required\',\'length[6,-1]\']'); </span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Workaround, einfach direkt das Objektattribut als einen leeren String definieren</span>
input.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Änderungen dem Validierungsskript bekannt machen</span>
myCheck.<span style="color: #660066;">register</span><span style="color: #009900;">&#40;</span>input<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>Damit läßt sich nun auf den gängigen Browsern eine CSS Klasse einfach zur Laufzeit entfernen.</p><h3  class="related_post_title">Ähnliche Artikel</h3><ul
class="related_post"><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><li>23. März 2010 -- <a
href="http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/" title="Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2">Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2</a></li><li>17. September 2009 -- <a
href="http://www.mysrc.de/mootools/praxistipp-position-absolute-parent-height-anpassen-mit-mootools/" title="Praxistipp &#8211; position absolute &#8211; parent height anpassen mit MooTools ">Praxistipp &#8211; position absolute &#8211; parent height anpassen mit MooTools </a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.mysrc.de/mootools/mootools-removeclass-problem/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
