Hello,
Is there a way to turn off the links part to a news show? Or is there a way to use the news show without linking to an item, i.e. just use the images?
Cheers,
Eoin
// add overlays
module.find('.gkImage').each(function(i, img) {
img = jQuery(img);
if(img.find('.gkImgOverlay').length == 0) {
// create overlays
var overlay = new jQuery('<div class="gkImgOverlay"></div>');
overlay.html('<span></span>');
img.append(overlay);
// add overlay events
img.mouseenter( function() {
var overlay = img.find('.gkImgOverlay');
var realImg = img.find('img');
overlay.css({
'margin-left': (-1.0 * (realImg.width() / 2.0)) + "px",
'width': realImg.width() + "px"
});
overlay.attr('class', 'gkImgOverlay active');
});
img.mouseleave( function() {
var overlay = img.find('.gkImgOverlay');
overlay.attr('class', 'gkImgOverlay');
});
}
});
for($i = 0; $i < count($this->parent->content); $i++) {
if($this->get_image($i)) {
if($amount < ($this->parent->config['portal_mode_portfolio_cols'] * $this->parent->config['portal_mode_portfolio_rows'])) {
echo '<a href="'.$this->get_link($i).'" title="'.strip_tags($this->parent->content[$i]['title']).'" class="gkImage animate_queue_element active">';
echo '<a href="'.$this->get_link($i).'" title="'.strip_tags($this->parent->content[$i]['title']).'" class="gkImage animate_queue_element active">';
echo '<a title="'.strip_tags($this->parent->content[$i]['title']).'" class="gkImage animate_queue_element active">';