Hallo Zusammen!
Ich hoffe, dass ich ein banales Startproblem habe... Ich möchte mir was in dieser
Art nachbauen.. http://jsfiddle.net/Skooljester/S3y5p/1/
Allerdings funktioniert es bei mir nicht... Die jquery.js wird gefunden, kein Problem,
das habe ich mit einer alert("Hello World!") mal ausprobiert. Sie ist auch in
der richtigen Version 1.6.2. Ich steh auf dem Schlauch.. Kann mich jemand mal
in die richtige Richtung stoßen?
Danke euch!
Hier meine html..
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Unbenanntes Dokument</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ alert("Hello World!"); }); </script> <style> .showhide { width:100px; height:100px; background:#484848; } .showhidenew { width:100px; height:100px; background:#FF0000; } </style> </head> <body> <div class="showhide"></div> </body> </html>
Got it!
$(document).ready(function(){
});![]()
Geändert von Carton Rouge (21.09.2011 um 15:49 Uhr)
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)