Hi narendrababu,
1. Open file \CuteSoft_Client\Gallery\Layout\Classic\Code.js
2. Find section below
- img.onclick=ToDelegate(this,function()
- {
- this.Browser.ShowViewer(div.dngphoto);
- });
3. Change it to
- img.onclick = ToDelegate(this, function () {
- for (var j = 0; j < document.getElementsByClassName("GalleryPhotoItem").length; j++) {
- if (document.images[j].className == "GalleryThumbnailImage") {
- document.images[j].parentElement.style.border = "";
- }
- if (document.images[j].src.substr(document.images[j].src.lastIndexOf("/") + 1) == photo.Thumbnail.substr(photo.Thumbnail.lastIndexOf("/") + 1)) {
- document.images[j].parentElement.style.border = "solid 3px red";
- }
- }
-
- });
4. Find section below
- div.ondblclick=ToDelegate(this,function()
- {
- this.Browser.ShowViewer(div.dngphoto);
- });
5. Change it to
- div.ondblclick=ToDelegate(this,function()
- {
- });
Regards,
Ken