Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • arayabe Friend
    #147633

    For some reason only the text is linking to another page of the images’ description in the ja slideshow. This is the code that Im using:

    GET YOUR TICKETS NOW!

    As I said, it does work for the description, but I want the whole picture to be “clickable”

    Help!

    Saguaros Moderator
    #329457

    Hello guy!

    Here is the solution for you:
    Please open the file http://bostonlatino.tv/modules/mod_jaslideshow2/assets/ja.slideshow2.js and try to find codes at line 154
    [PHP]
    //Click on Main image
    if (this.options.urls) {
    [/PHP]

    [PHP]
    //Click on Main image
    if (this.options.urls) {
    this.els.each( function(item,index){
    item.getElement(‘img’).addEvent( ‘click’, function(){
    // URL
    var url = this.options.urls;
    if (url) {
    var target = this.options.targets;
    switch(target){
    case “_blank”:{
    window.open(url, “newWindow”);
    break;
    }
    default:{
    window.location.href = url;
    break;
    }
    }
    }
    // Target of URL
    }.bind(this) );
    }.bind(this) );

    [/PHP]

    Good luck

    PS: Please backup your files before doing

    rocko Friend
    #346918

    Hi. I don’t have ja.slideshow2.js file on this folder:

    “modules/mod_jaslideshow2/assets/”

    What should I do?

    Saguaros Moderator
    #347046

    Dear rocko

    Can you pls give me the link to your site, i guess that the site is working with the lastest version of this module which has not files mentioned on the POST #2

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum