jQuery.noConflict(); (function($) { $(document).ready(function(){ // fire up "ability" $('#header-ul-2').ability(); $('table.haendlertabelle tr:even').css({backgroundColor: '#f2f2f2'}); // Suche-Label ausblenden $("#suche label").hide(); $.fn.valueChange = function() { return this.focus(function() { if (this.value == this.defaultValue) { this.value = ""; $(this).css({ color: "#333" }); } }).blur(function() { if (!this.value.length) { this.value = this.defaultValue; $(this).css({ color: "#aaa" }); } }); }; $(".jq-valueChange").valueChange(); // define vars for popupWindow var profiles = { window800: { width: 800, height: 600, scrollbars: 1, toolbar: 0, status: 1, createnew: 0 } }; // fire up "popupWindow" $(function() { $(".popupwindow").popupwindow(profiles); }); $(".jqfancybox").fancybox({ "hideOnContentClick": 0, "zoomSpeedIn": 500, "zoomSpeedOut": 500, "overlayShow": 0, "overlayOpacity": 0.4 }); }); })(jQuery);