<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[trasformare un fadeTo in FadeIn]]></title><description><![CDATA[<p dir="auto">ciao a tutti<br />
spero di postare nel posto giusto visto che pongo una domanda riguardo jquery</p>
<p dir="auto">ho installato su una pagina uno script preso da flowplayer che è una galleria di miniature e al click apre la versione più grande (no lightbox et simil.)</p>
<p dir="auto">l'effetto nell'apertura è uno strano fadeTo, ho provato tanti modi per creare un fadeIn ma nulla, neache la guida jquery non mi ha aiutato.</p>
<p dir="auto">qualcuno di voi riuscirebbe ad aiutarmi?</p>
<p dir="auto">ecco il codice incriminato</p>
<pre><code>$("#browsable").scrollable().navigator();

$(function() {

$(".scrollable").scrollable();

$(".items img").click(function() {

    // see if same thumb is being clicked
    if ($(this).hasClass("active")) { return; }

    // calclulate large image's URL based on the thumbnail URL (flickr specific)
    var url = $(this).attr("src").replace("_t", "");

    // get handle to element that wraps the image and make it semi-transparent
    var wrap = $("#image_wrap").fadeTo("medium", 0.5);
    
    // the large image from ww. flickr .co
    var img = new Image();


    // call this function after it's loaded
    img.onload = function() {

        // make wrapper fully visible
        wrap.fadeTo("fast", 1);

        // change the image
        wrap.find("img").attr("src", url);

    };

    // begin loading the image from ww. flickr .com
    img.src = url;

    // activate item
    $(".items img").removeClass("active");
    $(this).addClass("active");

// when page loads simulate a "click" on the first image
}).filter(":first").click();
});
</code></pre>
]]></description><link>https://dev.connect.gt/topic/136955/trasformare-un-fadeto-in-fadein</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 04:30:07 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/136955.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Oct 2010 23:19:29 GMT</pubDate><ttl>60</ttl></channel></rss>