Jump to content

zebraej

Newbie
  • Posts

    12
  • Joined

  • Last visited

Posts posted by zebraej

  1. В продолжении темы, вот код

    $(document).ready(function(){

    $('ul img').click(function(){

    var path = $(this).parent().attr('href');

    var alt = $(this).attr('alt');

    $('.imgHolder').animate({opacity: 0},500,function(){

    $(this).html('<img src=' + path + ' />')

    .find('img').bind('load',function(){

    $(this).parent()

    .append('<em>' + alt + '</em>')

    .animate({opacity: 1},500);

    });

    });

    return false;

    });

    $('ul img:first').click();

    });

    http://galtlines.com/ тут вроде все работает во всех браузерах, но как только это добавляешь на страницу сайта, что бы оно выводилась в середине таблицы картинки начинают открываться в новом окне, в чем причина не могу понять. Хелп.

  2. Кто знает как при помощи div сделать так чтобы был блок который содержит в себе 12 изображений по горизонтале 4 в 3 ряда

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy