0
Welcome Guest! Login
0 items Join Now

RokGallery: slice link to open in new window and RokBox

  • RokGallery: slice link to open in new window and RokBox

    Posted 12 years 7 months ago
    • Hello,

      I'm using RokGallery and I would like the thumbnails to open a new window with my content, in this case a virtual tour, and have the RokBox framing.

      I've seen how to add a URL link to an image slice, but this of course just leads the current browser page to the specified link.

      I hope this make sense. Thanks in advance.

      -- Jeremy
  • Re: RokGallery: slice link to open in new window and RokBox

    Posted 12 years 7 months ago
    • Okay, I figured out how to do the above. The rel="rokbox[fullscreen]" need to be added (in my case) to line 13 of the default.php here:

      components/com_rokgallery/templates/gallery/grid-3col/

      and like this:

      <a <?php echo $that->image->rel;?> href="<?php echo $that->image->link;?>" rel="rokbox[fullscreen]" class="rg-grid-thumb-link"><img src="<?php echo $that->image->thumburl;?>" alt="<?php echo $that->image->title;?>" class="rg-grid-thumb-img"/></a>

      Now, I need help getting the image title to show up, and have it relative to whatever thumbnail is being clicked on. I tried following the rel="rokbox[fullscreen]" with title="", but apparently that does not work.

      Any help is much appreciated.

      -- Jeremy
  • Re: RokGallery: slice link to open in new window and RokBox

    Posted 12 years 6 months ago
    • Hello,

      No input on this?

      :-)

Time to create page: 0.055 seconds