Pics disappear in mobile browser when loading

Course Queries Syllabus Queries 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I have a website at jacobtarr.github.io where I post a portfolio of some of my work at jacobtarr.github.io/work. As you can see, I have two slides">slides: one where post some screenshots of an individual project and the other where I post preview thumbnails for other projects. When one clicks on a thumbnail image, the DOM is emptied and is filled with pertinent info about that specific project to which it is associated to. The problem I'm having, which only happens on mobile device browser apparently, is the screenshots for the project in the upper slide don't appear when someone clicks on a thumnbnail image in the lower slide. All of the other stuff appears, but not the screenshot.

This is demonstrated from the photos I took: The first one is a screenshot I took from the Chrome when the browser shrinks to the appropriate screen size. The project screenshots appear fine in this when a user clicks on a thumbnail image in the lower slide. The second one is a screenshot I took from an iOS simulator mimicking the exact same behavior.

What is it I'm doing in my code that does this? If it's any help, I'm using the slick slider plugin. If anyone can help me out here, I would greatly appreciate it. I've posted the necessary functions in the JS below as well.

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.