I am sorry but I found your code little complicated. Anyways I can
suggest something like this

$('a').each(
        function()
        {
                ok = $(this);
                href = ok.attr('rel')||'';
                ok.bind('click', function(){
                isImage = $(".preview").size();
if (isImage ==1){
$(".preview").fadeOut("slow",function(){
                 $(".preview").html('<img width="600" height="400"
src="'+href+'">').fadeIn("slow");
});
                });
        }
);

Hope this helps. BTW nice though of creating such a gallery. good
luck.

On May 6, 10:34 pm, Equand <[EMAIL PROTECTED]> wrote:
> http://nosite.ru/HU/
> so as you see i figured most of it... except the transition...
> it bugs by displacing... and doesn't seem to work correctly, i wanted
> to on load of new to fade out the old and fade in the new... if you
> look in the code u can see this, thanx in advance

Reply via email to