+ 39

Doubt in Code🥺 (Solved😊)

The slider is not working 🥺🥺, here is the code https://code.sololearn.com/WItiXjpSctsw/?ref=app

10th Sep 2021, 5:38 AM
Demi lune🌙
Demi lune🌙 - avatar
14 ответов
+ 15
The actual problem is with overflow. you cant apply element.scrollLeft += xyz for element with overflow : hidden Since thera a lot of elements i am unable to visualize the Dom tree probably need dev tools to visualize .. but hope this helps . https://code.sololearn.com/WGKzUFm56kh1/?ref=app
10th Sep 2021, 7:36 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 11
Prashanth Kumar thank you so much😊🌙😊 for telling me my mistake and the scrolling one is really awesome 🤩🌙🤩 Anshika (Left) please keep you appreciations short as to other users this may appear spammy in nature .. Thanks for your cooperation. BroFar Gold Moderator
10th Sep 2021, 11:15 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 10
O nice to see its solved .. but anyways here's it ... 2 different attempts Your mistake was that you were applying .scrollLeft to wrong element .. https://code.sololearn.com/WfwfWt4C4p4n/?ref=app ( this one has smooth scroll effect ) https://code.sololearn.com/W1VK8whv1oG0/?ref=app
10th Sep 2021, 8:36 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 9
Since there is a lot of code, is best to take small code bits and review them a little at a time. Just <!-- comment --> a lot out and work with small pieces. Best of luck
10th Sep 2021, 7:05 AM
Tia
Tia - avatar
+ 8
byww actually these are multiple slides in a main container with some content in it.
10th Sep 2021, 7:36 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 8
Prashanth Kumar thankkkk youuuuu sooooo much but the thing is that I want some content in those slides not images Here is the dom tree Storybox>horrorbox>sliderbox>leftbtn+rightbtn+slidebox>innerbox>hsl(slides)>imgbox+story and the problem is that inspite of using onclick function the scrolling is not taking place don't know why
10th Sep 2021, 7:39 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 8
Prashanth Kumar oh no issues thankkkkkkkk youuuuuu soooooooooooooooooooo much for helping 😊😊 I checked your code though and got it but I am still unable to figure out that why the same function isn't working in my code😥😥
10th Sep 2021, 7:45 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 7
ㅤ ㅤㅤLune🌙🎵🎶 Leme know if you get that code . i had made that few years ago . Will try inspecting your code after i get access to my laptop currently i have just my mobile in my hand .
10th Sep 2021, 7:41 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 7
Sandeep Kushwaha thank you so much😊😊 i got my mistake 🥳🥳 Anshika please keep you appreciations short as to other users this may appear spammy in nature .. Thanks for your cooperation. BroFar Gold Moderator
10th Sep 2021, 8:01 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 6
Do you want something with many pictures that slide when you click on a button ?
10th Sep 2021, 7:34 AM
byww
byww - avatar
0
I need someone to help me create a database on which the person can be registered with his personal photo with all his private data. He will help me
29th Sep 2021, 8:04 PM
Abdelrhman Wagdy Makhlof
Abdelrhman Wagdy Makhlof - avatar
- 3
Please how can i solve this how many seconds are there in 30days
11th Sep 2021, 7:32 PM
Idris yahaya