We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22998
    • 52 Posts
    Подскажите, пожалуйста, как сделать чтоб каждая загруженная картинка была с highslide JS?
    http://highslide.com/
      • 9670
      • 48 Posts
      Там же на сайте и написано:
      в шапку сайта добавить
      <script type="text/javascript" src="/highslide/highslide.js"></script>
      <link rel="stylesheet" type="text/css" href="/highslide/highslide.css" />
      <script type="text/javascript">
          // override Highslide settings here
          // instead of editing the highslide.js file
          hs.graphicsDir = '/highslide/graphics/';
      </script>

      , а в обрамляющую картинку ссылку добавить
      class="highslide" onclick="return hs.expand(this)"

      В чем проблема-то?
        • 22998
        • 52 Posts
        все я понял. ща попробую сделать .
          • 9670
          • 48 Posts
          Создаем TV тип image, цепляем изображение.
          Вызываем картинку чанком {{image}}, а в чанке пишем
          <a href="[*image*]" class="highslide" onclick="return hs.expand(this)">[*image*]</a>

          Это имелось в виду?
            • 22998
            • 52 Posts
            спасибо =)