-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
These are the One UI 6.1.1 Camera and Gallery features that your Galaxy S22 series will get
By Sagar Naresh,
- samsung
- galaxy s22
- (and 6 more)
- 2 replies
- 1 view
-
Akka Serverless to offer secure and flexible solutions for building cloud-native services
By Fiza Ali,
- lightbend
- akka serverless
- (and 11 more)
- 0 replies
- 3 views
-
Get this Complete JavaScript & jQuery Programming Bundle for only $26
By News Staff,
- javascript
- jquery
- (and 12 more)
- 2 replies
- 594 views
-
- 1 answer
- 1,293 views
-
Gallery: Microsoft dresses up E3 booth in black, showcases One S, Sea of Thieves and more
By Timi Cantisano,
- xbox one s
- one s
- (and 5 more)
- 2 replies
- 729 views
-
Question
Yuliya
Is any JSON gurus around? I use JSON library for my website gallery pages and everything up to thumbnails #9 works great. The problem starts when I click on thumbnail #10 (4-th row the first image from the left). When I click on it, it supposed to open the block with bigger image and additional text but it does not show anything, same for the thumbnail #20. If user clicks on thumbnail #11, it will show big image and text that correspond to thumbnails #1. My guess is - JavaScript doesn't read 2 digits and reads only the one from right only: "10 "reads like "0"; "11", "21" reads like "1".
Anyone can point me how to fix it in my code? I would appreciate any advice or help.
For each page I have group of files - php (http://iskpublishing.com/fine-art/gallery-still-life.php), which works as an html and 2 files with javaScript coding (http://iskpublishing.com/fine-art/js/still-life-function.js http://iskpublishing.com/fine-art/json/still-life.json )
Thank you.
Link to comment
https://www.neowin.net/forum/topic/1297348-json-gallery-issue-with-2-digits-ids/Share on other sites
2 answers to this question
Recommended Posts