-
AuthorPosts
-
November 29, 2010 at 9:34 am #156879
Hi,
I would like to be able to click on the image on the left and be brought to the url that is associated with that set within the module parameters. Currently clicking on the right text will bring me to the link, but the image doesn’t click.
I tried the suggestion in this http://bit.ly/hajpLi thread, but it doesn’t seem to work. All thats happening now is the arrows on the left and right of the slideshow aren’t working.
Suggestions?
November 29, 2010 at 4:23 pm #364697Anyone???????
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
November 30, 2010 at 3:05 am #364762Dear esdigital,
You can just try as following
Go to the file of modulesmod_jaslideshow2assetsscript.js,Looking for this codes
[PHP] if (this.options.urls) {
this.maskDesc.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));
}[/PHP] Change it to
[PHP] if (this.options.urls) {
this.els.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));
this.maskDesc.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));
}[/PHP] I think that would help image to be linkable !1 user says Thank You to Sherlock for this useful post
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Sherlock 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum