Image Show GK4: how to turn off showing up image titles?

GK User
Wed Jul 09, 2014 12:20 pm
Hello dear friends! Please could you tell us how to turn off showing up image titles in Image Show GK4 module on the frontpage of the GK University template (quickstart). On the frontpage ("Home"), when your mouse cursor is on any image of this module the respective image title shows up and we want to exclude that. Please help.
User avatar
Junior Boarder

GK User
Wed Jul 09, 2014 12:26 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Jul 09, 2014 1:05 pm
Cyberek wrote:Could you please post an url to your site?


Hi Cyberek! I've just started working with GK University template on my local machine, i.e. I cannot give you any url of my website right now, but if you look at the demo version of the template on the GavickPro website - http://demo.gavick.com/joomla25/university/ - you will notice the same problem: image (slide) titles of Image Show GK4 show up when your mouse cursor is on those images on the frontpage.
User avatar
Junior Boarder

GK User
Thu Jul 10, 2014 10:07 am
Hello! Anybody?
User avatar
Junior Boarder

GK User
Fri Jul 11, 2014 4:34 pm
1. Please don't bump your questions (dont reply to your own questions).
2. This is ImageShow build in feature. To modify that you would need to edit file:
modules/mod_image_show_gk4/styles/gk_university/engine.js
and find this block code:
Code: Select all
           wrapper.getElements('figure').each(function(el,i){
               var newImg = new Element('img',{
                   "title": el.getProperty('data-title'),
                   "class": 'gkIsSlide',
                   "style": 'z-index: ' + el.getProperty('data-zindex') + ';',
                   "src": el.getProperty('data-url')
               });

and change it to:
Code: Select all
           wrapper.getElements('figure').each(function(el,i){
               var newImg = new Element('img',{
                   "class": 'gkIsSlide',
                   "style": 'z-index: ' + el.getProperty('data-zindex') + ';',
                   "src": el.getProperty('data-url')
               });
User avatar
Moderator


cron