Image Show - open links in new page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Feb 17, 2016 4:20 pm
Reply with quote
Report this post
Hello...
I need open links from sliders home page of "image show module" in new page, now open in the same page.
I put " _blank " in the " Alt " field, but did not work.
What can i do?...

Thanks
User avatar
Junior Boarder

GK User
Wed Feb 17, 2016 5:57 pm
Reply with quote
Report this post
I found this post... https://www.gavick.com/forums/image-sho ... ndow-31023
i did that but is not same my code in line 94:
Code: Select all
        if($G['slide_links']){
                      wrapper.getElements('.gkIsSlide').addEvent("click", function(e){
                          window.location = links[$G['actual_slide']];
                      });
                      wrapper.getElements('.gkIsSlide').setStyle('cursor', 'pointer');
                  }

This is the route of file:
/modules/mod_image_show_gk4/styles/gk_game/engine.js

Im not sure what i have to do... I tried put this but does not work:
Code: Select all
             if($G['slide_links']){
                      wrapper.getElements('.gkIsSlide').addEvent("click", function(e){
                          window.open(elmt.getProperty('alt')) = links[$G['actual_slide']];
                      });
                      wrapper.getElements('.gkIsSlide').setStyle('cursor', 'pointer');
                  }


Help me please thanks...
User avatar
Junior Boarder

teitbite
Sun Feb 21, 2016 1:19 pm
Reply with quote
Report this post
I’m afraid that modifications such as this require extensive changes to the theme’s code; I do apologize but such large changes are custom work that are beyond the scope of our technical support.
User avatar
Moderator


cron