ciao fcaldera,
questo è il contenuto del famoso file, mi va in conflitto ormai con qualsiasi cosa!!!!
jQuery.noConflict();
codice:
jQuery.noConflict();
// DROP DOWN MENU, QUANDO SI E' LOGGATI
jQuery(document).ready(function() {
jQuery(".dropdown dt a").click(function() {
jQuery(".dropdown dd ul").toggle();
});
jQuery(".dropdown dd ul li a").click(function() {
var text = jQuery(this).html();
jQuery(".dropdown dt a span").html(text);
jQuery(".dropdown dd ul").hide();
});
function getSelectedValue(id) {
return jQuery("#" + id).find("dt a span.value").html();
}
jQuery(document).bind('click', function(e) {
var $clicked = jQuery(e.target);
if (! $clicked.parents().hasClass("dropdown"))
jQuery(".dropdown dd ul").hide();
});
});
// SCRIPT PER IL VOTO
jQuery(document).ready(function(){
jQuery(".vota").click(function() {
var voto = jQuery(this).attr("title");
var idracc = jQuery(this).attr("rel");
jQuery("#VOTAZIONE").hide();
jQuery("#scopri_voto").html('<center>[img]http://www.***********.it/img/ajax-loader.gif[/img]</center>');
jQuery("#scopri_voto").load('/********/********.php?voto='+voto+'&idracc='+idracc+'&random=' + Math.random()*99999);
});
});
// ESPANDI FOTO ICONE DELL'ALBUM
jQuery(document).ready(function() {
jQuery('.chiudi_foto').hide();
jQuery('.apri_foto').click(function() {
jQuery('#blocco_foto').hide();
jQuery('#blocco_foto').fadeIn("slow").css("height","auto");
jQuery('.apri_foto').hide();
jQuery('.chiudi_foto').show();
});
jQuery('.chiudi_foto').click(function() {
jQuery('#blocco_foto').css("height","170px");
jQuery('.chiudi_foto').hide();
jQuery('.apri_foto').show();
});
});
// COLORBOX, POPUP FOTO
jQuery(document).ready(function(){
//Examples of how to assign the ColorBox event to elements
jQuery("a[rel='example4']").colorbox({slideshow:true});
jQuery(".colorpopup").colorbox({width:"600px", height:"480px", iframe:true});
jQuery(".colorpopup_small").colorbox({width:"600px", height:"230px", iframe:true});
jQuery(".colorpopup_auto").colorbox();
// disabilito tasto destro del colorbox
jQuery(function() {
jQuery("#colorbox").bind("contextmenu", function(e) {
e.preventDefault();
});
});
});
Evidentemente c'è qualcosa scritta male che gli da fastidio!!!!