<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=178.2.227.179</id>
	<title>Wikizone - Benutzerbeiträge [de]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=178.2.227.179"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=Spezial:Beitr%C3%A4ge/178.2.227.179"/>
	<updated>2026-05-06T17:04:19Z</updated>
	<subtitle>Benutzerbeiträge</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18854</id>
		<title>JQuery - Probleme lösen (Troubleshooting)</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18854"/>
		<updated>2011-10-04T19:38:43Z</updated>

		<summary type="html">&lt;p&gt;178.2.227.179: /* jQuery Scope in anonyme Funktion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== jQuery mit anderen Libaries nutzen ==&lt;br /&gt;
Manchmal gibt es Probleme wenn andere Skripte ebenfalls das Dollar ($) Symbol nutzen. &lt;br /&gt;
&lt;br /&gt;
Typische Fehler sind dann z.B. “$().ready is not a function” “$(document) doesn’t support this property or method”. Oder: “null is null or not an object”&lt;br /&gt;
&lt;br /&gt;
Hier gibt es 2 Möglichkeiten die man probieren kann:&lt;br /&gt;
=== No Conflict Mode ===&lt;br /&gt;
Hier wird das $ Zeichen mit einem anderen frei wählbaren Zeichen ersetzt. Es gibt aber auch ähnliche Möglichkeiten wie beim nächsten Beispiel.&lt;br /&gt;
&lt;br /&gt;
http://api.jquery.com/jQuery.noConflict/&lt;br /&gt;
&lt;br /&gt;
=== jQuery Scope in anonyme Funktion ===&lt;br /&gt;
&lt;br /&gt;
Hierbei wird der Code innerhalb einer Anonymen Funktion ausgeführt und in dieser gilt wiederum ein lokaler jQuery Scope. Sie wird also unabhängig vom Rest der Skripte ausgeführt. Dies funktioniert auch wenn jQuery schon im no conflict Mode läuft und zwar ohne Anpassung der Skripte.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
( function($) {&lt;br /&gt;
    // we can now rely on $ within the safety of our “bodyguard” function&lt;br /&gt;
    $(document).ready( function() { alert(&amp;quot;nyah nyah! I’m able to use &amp;#039;$&amp;#039;!!!!&amp;quot;);  } );&lt;br /&gt;
} ) ( jQuery );&lt;br /&gt;
&lt;br /&gt;
//this will fail&lt;br /&gt;
$(document).ready( function() { alert(&amp;#039;fail?&amp;#039;); } );&lt;br /&gt;
&lt;br /&gt;
// --&amp;gt;&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Quelle: [[http://codeimpossible.com/2010/01/13/solving-document-ready-is-not-a-function-and-other-problems]] Zugriff 10/2011&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== JavaScript Debug Infos auf die Konsole ausgeben ===&lt;br /&gt;
Mit der log Funktion des Konsole Objekts kann man Debug Infos direkt auf die JavaScript Konsole ausgeben.&lt;br /&gt;
&lt;br /&gt;
jQuery Beispiel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Nach Kindern der Klasse .myClassName suchen und deren Objekte, ids und Klassen ausgeben&lt;br /&gt;
var $kids = $(&amp;#039;.myClassName&amp;#039;).children().each(function(){&lt;br /&gt;
	var kid = $(this);&lt;br /&gt;
	console.log(kid, kid.attr(&amp;#039;id&amp;#039;), kid.attr(&amp;#039;class&amp;#039;));&lt;br /&gt;
});&lt;br /&gt;
// &amp;quot;Test&amp;quot; ausgeben ;-)&lt;br /&gt;
console.log(&amp;quot;test&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.2.227.179</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18853</id>
		<title>JQuery - Probleme lösen (Troubleshooting)</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18853"/>
		<updated>2011-10-04T18:51:50Z</updated>

		<summary type="html">&lt;p&gt;178.2.227.179: /* jQuery Scope in anonyme Funktion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== jQuery mit anderen Libaries nutzen ==&lt;br /&gt;
Manchmal gibt es Probleme wenn andere Skripte ebenfalls das Dollar ($) Symbol nutzen. &lt;br /&gt;
&lt;br /&gt;
Typische Fehler sind dann z.B. “$().ready is not a function” “$(document) doesn’t support this property or method”. Oder: “null is null or not an object”&lt;br /&gt;
&lt;br /&gt;
Hier gibt es 2 Möglichkeiten die man probieren kann:&lt;br /&gt;
=== No Conflict Mode ===&lt;br /&gt;
Hier wird das $ Zeichen mit einem anderen frei wählbaren Zeichen ersetzt. Es gibt aber auch ähnliche Möglichkeiten wie beim nächsten Beispiel.&lt;br /&gt;
&lt;br /&gt;
http://api.jquery.com/jQuery.noConflict/&lt;br /&gt;
&lt;br /&gt;
=== jQuery Scope in anonyme Funktion ===&lt;br /&gt;
&lt;br /&gt;
Hierbei wird der Code innerhalb einer Anonymen Funktion ausgeführt und in dieser gilt wiederum ein lokaler jQuery Scope. Sie wird also unabhängig vom Rest der Skripte ausgeführt. Dies funktioniert auch wenn jQuery schon im no conflict Mode läuft und zwar ohne Anpassung der Skripte.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
( function($) {&lt;br /&gt;
    // we can now rely on $ within the safety of our “bodyguard” function&lt;br /&gt;
    $(document).ready( function() { alert(&amp;quot;nyah nyah! I’m able to use &amp;#039;$&amp;#039;!!!!&amp;quot;);  } );&lt;br /&gt;
} ) ( jQuery );&lt;br /&gt;
&lt;br /&gt;
//this will fail&lt;br /&gt;
$(document).ready( function() { alert(&amp;#039;fail?&amp;#039;); } );&lt;br /&gt;
&lt;br /&gt;
// --&amp;gt;&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Quelle: [[http://codeimpossible.com/2010/01/13/solving-document-ready-is-not-a-function-and-other-problems]] Zugriff 10/2011&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.2.227.179</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18852</id>
		<title>JQuery - Probleme lösen (Troubleshooting)</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18852"/>
		<updated>2011-10-04T12:32:31Z</updated>

		<summary type="html">&lt;p&gt;178.2.227.179: /* No Conflict Mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== jQuery mit anderen Libaries nutzen ==&lt;br /&gt;
Manchmal gibt es Probleme wenn andere Skripte ebenfalls das Dollar ($) Symbol nutzen. &lt;br /&gt;
&lt;br /&gt;
Typische Fehler sind dann z.B. “$().ready is not a function” “$(document) doesn’t support this property or method”. Oder: “null is null or not an object”&lt;br /&gt;
&lt;br /&gt;
Hier gibt es 2 Möglichkeiten die man probieren kann:&lt;br /&gt;
=== No Conflict Mode ===&lt;br /&gt;
Hier wird das $ Zeichen mit einem anderen frei wählbaren Zeichen ersetzt. Es gibt aber auch ähnliche Möglichkeiten wie beim nächsten Beispiel.&lt;br /&gt;
&lt;br /&gt;
http://api.jquery.com/jQuery.noConflict/&lt;br /&gt;
&lt;br /&gt;
=== jQuery Scope in anonyme Funktion ===&lt;br /&gt;
&lt;br /&gt;
Hierbei wird der Code innerhalb einer Anonymen Funktion ausgeführt und in dieser gilt wiederum ein lokaler jQuery Scope. Sie wird also unabhängig vom Rest der Skripte ausgeführt. Dies funktioniert auch wenn jQuery schon im no conflict Mode läuft und zwar ohne Anpassung der Skripte.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
( function($) {&lt;br /&gt;
    // we can now rely on $ within the safety of our “bodyguard” function&lt;br /&gt;
    $(document).ready( function() { alert(&amp;quot;nyah nyah! I’m able to use &amp;#039;$&amp;#039;!!!!&amp;quot;);  } );&lt;br /&gt;
} ) ( jQuery );&lt;br /&gt;
&lt;br /&gt;
//this will fail&lt;br /&gt;
$(document).ready( function() { alert(&amp;#039;fail?&amp;#039;); } );&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Quelle: [[http://codeimpossible.com/2010/01/13/solving-document-ready-is-not-a-function-and-other-problems]] Zugriff 10/2011&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.2.227.179</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18851</id>
		<title>JQuery - Probleme lösen (Troubleshooting)</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JQuery_-_Probleme_l%C3%B6sen_(Troubleshooting)&amp;diff=18851"/>
		<updated>2011-10-04T12:31:55Z</updated>

		<summary type="html">&lt;p&gt;178.2.227.179: Die Seite wurde neu angelegt: „== jQuery mit anderen Libaries nutzen == Manchmal gibt es Probleme wenn andere Skripte ebenfalls das Dollar ($) Symbol nutzen.   Typische Fehler sind dann z.B. …“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== jQuery mit anderen Libaries nutzen ==&lt;br /&gt;
Manchmal gibt es Probleme wenn andere Skripte ebenfalls das Dollar ($) Symbol nutzen. &lt;br /&gt;
&lt;br /&gt;
Typische Fehler sind dann z.B. “$().ready is not a function” “$(document) doesn’t support this property or method”. Oder: “null is null or not an object”&lt;br /&gt;
&lt;br /&gt;
Hier gibt es 2 Möglichkeiten die man probieren kann:&lt;br /&gt;
=== No Conflict Mode ===&lt;br /&gt;
Hier wird das $ Zeichen mit einem anderen frei wählbaren Zeichen ersetzt.&lt;br /&gt;
&lt;br /&gt;
http://api.jquery.com/jQuery.noConflict/&lt;br /&gt;
&lt;br /&gt;
=== jQuery Scope in anonyme Funktion ===&lt;br /&gt;
&lt;br /&gt;
Hierbei wird der Code innerhalb einer Anonymen Funktion ausgeführt und in dieser gilt wiederum ein lokaler jQuery Scope. Sie wird also unabhängig vom Rest der Skripte ausgeführt. Dies funktioniert auch wenn jQuery schon im no conflict Mode läuft und zwar ohne Anpassung der Skripte.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
( function($) {&lt;br /&gt;
    // we can now rely on $ within the safety of our “bodyguard” function&lt;br /&gt;
    $(document).ready( function() { alert(&amp;quot;nyah nyah! I’m able to use &amp;#039;$&amp;#039;!!!!&amp;quot;);  } );&lt;br /&gt;
} ) ( jQuery );&lt;br /&gt;
&lt;br /&gt;
//this will fail&lt;br /&gt;
$(document).ready( function() { alert(&amp;#039;fail?&amp;#039;); } );&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Quelle: [[http://codeimpossible.com/2010/01/13/solving-document-ready-is-not-a-function-and-other-problems]] Zugriff 10/2011&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.2.227.179</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=JQuery&amp;diff=18850</id>
		<title>JQuery</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JQuery&amp;diff=18850"/>
		<updated>2011-10-04T12:23:38Z</updated>

		<summary type="html">&lt;p&gt;178.2.227.179: /* Testen ob jQuery geladen ist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Quickstart==&lt;br /&gt;
&lt;br /&gt;
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery&lt;br /&gt;
&lt;br /&gt;
Gut durchlesen, hier werden die meisten Basics angesprochen.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Elemente auswählen: http://docs.jquery.com/DOM/Traversing/Selectors&lt;br /&gt;
&lt;br /&gt;
Ereignisse: http://docs.jquery.com/Events&lt;br /&gt;
&lt;br /&gt;
Gute Tools out of the Box:&lt;br /&gt;
&lt;br /&gt;
http://flowplayer.org/tools/index.html &lt;br /&gt;
&lt;br /&gt;
Oder in Kurzform hier: [[JQuery Tools (flowplayer.org)]]&lt;br /&gt;
&lt;br /&gt;
==Einbinden==&lt;br /&gt;
Es gibt die Core Datei und einige nützliche Erweiterungen die man sich passend zusammestellen kann um die Download Größe klein zu halten. Außerdem gibt es gepackte Versionen.&lt;br /&gt;
&lt;br /&gt;
===Über Google===&lt;br /&gt;
Beispiel:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;script src=&amp;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
 &amp;lt;script src=&amp;quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ui steht für User Interface (Plugins)&lt;br /&gt;
&lt;br /&gt;
=== Über jQuery Server ===&lt;br /&gt;
Beispiel:&lt;br /&gt;
 &amp;lt;script src=&amp;quot;http://code.jquery.com/jquery-latest.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Libary auf eigenem Server ===&lt;br /&gt;
==== Geo-bit webmynet ====&lt;br /&gt;
ToDo -&amp;gt; Idee ist verschiedene libs auf tools.webmynet.de vorzuhalten ähnlich wie sie auf dem Google Server liegen.&lt;br /&gt;
Zweck: einfache Einbindung, Statistik, Testing&lt;br /&gt;
&lt;br /&gt;
=== Typo3 ===&lt;br /&gt;
siehe JavaScript Frameworks nutzen&lt;br /&gt;
&lt;br /&gt;
== Der Beginn ==&lt;br /&gt;
In der Regel soll es losgehen, sobald das Dokument geladen ist (weil dies für manche Manipulationen notwendig ist) Deshalb beginnt man i.d.R. mit einem Onload Event:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $(document).ready(function() {&lt;br /&gt;
   // do stuff when DOM is ready&lt;br /&gt;
 });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Oder Abgekürzt&lt;br /&gt;
&lt;br /&gt;
 $(function() {&lt;br /&gt;
   // do stuff when DOM is ready&lt;br /&gt;
 });&lt;br /&gt;
&lt;br /&gt;
== Reagieren auf Klick ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $(document).ready(function() {&lt;br /&gt;
   $(&amp;quot;a&amp;quot;).click(function() {&lt;br /&gt;
     alert(&amp;quot;Hello world!&amp;quot;);&lt;br /&gt;
   });&lt;br /&gt;
 });&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
  $(&amp;quot;a&amp;quot;)&lt;br /&gt;
bedeutet Das was jetzt kommt gilt für alle Links &lt;br /&gt;
 .click()&lt;br /&gt;
es soll bei Klick etwas passieren&lt;br /&gt;
&lt;br /&gt;
Früher hat man das so gelöst:&lt;br /&gt;
  &amp;lt;a href=&amp;quot;&amp;quot; onclick=&amp;quot;alert(&amp;#039;Hello world&amp;#039;)&amp;quot;&amp;gt;Link&amp;lt;/a&amp;gt;&lt;br /&gt;
Das funktioniert, allerdings muß man hier bei jedem Link den Schnipsel einfügen.&lt;br /&gt;
&lt;br /&gt;
== Zugriff auf Elemente ==&lt;br /&gt;
Old School:&lt;br /&gt;
 document.getElementById(&amp;quot;orderedlist&amp;quot;)&lt;br /&gt;
Mit JQuery analog zu obigem Beispiel&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $(document).ready(function() {&lt;br /&gt;
   $(&amp;quot;#orderedlist&amp;quot;).addClass(&amp;quot;red&amp;quot;);&lt;br /&gt;
 });&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hier wird noch eine Klasse eingebaut&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Weitere Beispiele:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
  $(&amp;quot;#orderedlist &amp;gt; li&amp;quot;)&lt;br /&gt;
Alle Listenelemente unterhalb #orderedlist&lt;br /&gt;
 #orderedlist li:last&lt;br /&gt;
Hier ist nur das letzte Listenelement gemeint.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $(document).ready(function() {&lt;br /&gt;
   $(&amp;quot;#orderedlist li:last&amp;quot;).hover(function() {&lt;br /&gt;
     $(this).addClass(&amp;quot;green&amp;quot;);&lt;br /&gt;
   },function(){&lt;br /&gt;
     $(this).removeClass(&amp;quot;green&amp;quot;);&lt;br /&gt;
   });&lt;br /&gt;
 });&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Die Hoverfunktion kann zwei Funktionen als Parameter aufnehmen.&lt;br /&gt;
&lt;br /&gt;
== Elemente manipulieren, hinzufügen, entfernen ==&lt;br /&gt;
&lt;br /&gt;
== Weitere Funktionen ==&lt;br /&gt;
 find()&lt;br /&gt;
 addClass()&lt;br /&gt;
 removeClass()&lt;br /&gt;
 hover()&lt;br /&gt;
 each()&lt;br /&gt;
 append()&lt;br /&gt;
&lt;br /&gt;
== Ereignisse ==&lt;br /&gt;
&lt;br /&gt;
== Weitere Beispiele ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   // Find some li s and append Text&lt;br /&gt;
   $(&amp;quot;#orderedlist&amp;quot;).find(&amp;quot;li&amp;quot;).each(function(i) {&lt;br /&gt;
     $(this).append( &amp;quot; BAM! &amp;quot; + i );&lt;br /&gt;
   });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   $(&amp;quot;a[href*=/content/gallery]&amp;quot;).click(function() {&lt;br /&gt;
     // do something with all links that point somewhere to /content/gallery&lt;br /&gt;
   });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   // use this to reset a single form&lt;br /&gt;
   $(&amp;quot;#reset&amp;quot;).click(function() {&lt;br /&gt;
     $(&amp;quot;form&amp;quot;)[0].reset();&lt;br /&gt;
   });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   // use this to reset several forms at once&lt;br /&gt;
   $(&amp;quot;#reset&amp;quot;).click(function() {&lt;br /&gt;
     $(&amp;quot;form&amp;quot;).each(function() {&lt;br /&gt;
       this.reset();&lt;br /&gt;
     });&lt;br /&gt;
   });&lt;br /&gt;
&lt;br /&gt;
   // Find li elements that does NOT have a parent ul&lt;br /&gt;
   $(document).ready(function() {&lt;br /&gt;
     $(&amp;quot;li&amp;quot;).not(&amp;quot;:has(ul)&amp;quot;).css(&amp;quot;border&amp;quot;, &amp;quot;1px solid black&amp;quot;); &lt;br /&gt;
   });&lt;br /&gt;
&lt;br /&gt;
   // Find elements with a name attribute&lt;br /&gt;
    $(document).ready(function() {&lt;br /&gt;
      $(&amp;quot;a[name]&amp;quot;).css(&amp;quot;background&amp;quot;, &amp;quot;#eee&amp;quot; );&lt;br /&gt;
    });&lt;br /&gt;
&lt;br /&gt;
   // Grab the parent&lt;br /&gt;
   $(&amp;quot;a&amp;quot;).hover(function(){&lt;br /&gt;
     $(this).parents(&amp;quot;p&amp;quot;).addClass(&amp;quot;highlight&amp;quot;);&lt;br /&gt;
   },function(){&lt;br /&gt;
     $(this).parents(&amp;quot;p&amp;quot;).removeClass(&amp;quot;highlight&amp;quot;);&lt;br /&gt;
   });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Testen ob jQuery geladen ist ===&lt;br /&gt;
Testen ob geladen, wenn nicht von google holen, wenn nicht verfügbar lokale Version nehmen&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jQuerySrc = &amp;#039;fileadmin/js/jquery-min.js&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
// only load jQuery if not present&lt;br /&gt;
if (typeof jQuery == &amp;#039;undefined&amp;#039;)  {&lt;br /&gt;
    document.write(&amp;quot;&amp;lt;script type=\&amp;quot;text/javascript\&amp;quot; src=\&amp;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\&amp;quot;&amp;gt;&amp;lt;/&amp;quot;+&amp;quot;script&amp;gt;&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// if Google is down&lt;br /&gt;
if (typeof jQuery == &amp;#039;undefined&amp;#039;) {&lt;br /&gt;
    document.write(&amp;quot;&amp;lt;script type=\&amp;quot;text/javascript\&amp;quot; src=\&amp;quot;&amp;quot; + jQuerySrc + &amp;quot;\&amp;quot;&amp;gt;&amp;lt;/&amp;quot;+&amp;quot;script&amp;gt;&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting - Probleme Lösen ==&lt;br /&gt;
[[jQuery - Probleme lösen (Troubleshooting)]]&lt;/div&gt;</summary>
		<author><name>178.2.227.179</name></author>
	</entry>
</feed>