The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> how to scroll the element belong to a group?
ericsia
post Feb 12 2023, 11:58 AM
Post #1


Newbie
*

Group: Members
Posts: 11
Joined: 12-February 23
Member No.: 28,805



It is too hard to describe as word, here is what I mean:
https://jsbin.com/kalodos/edit?html,css,output

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
ericsia
post Feb 13 2023, 01:39 AM
Post #2


Newbie
*

Group: Members
Posts: 11
Joined: 12-February 23
Member No.: 28,805



user will scroll using mouse wheel most likely
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 13 2023, 02:27 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,735
Joined: 9-August 06
Member No.: 6



I don't understand. When I hold the pointer over the square it changes colour and I can scroll the lines with the mouse wheel. What's the problem?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 13 2023, 06:36 AM
Post #4


.
********

Group: WDG Moderators
Posts: 9,678
Joined: 10-August 06
Member No.: 7



QUOTE(pandy @ Feb 13 2023, 08:27 AM) *

I don't understand. When I hold the pointer over the square it changes colour and I can scroll the lines with the mouse wheel.

I can't do that, not even in K-Meleon. tongue.gif Are you sure it's not the viewport scrollbar you see moving?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ericsia
post Feb 13 2023, 07:03 AM
Post #5


Newbie
*

Group: Members
Posts: 11
Joined: 12-February 23
Member No.: 28,805



QUOTE(Christian J @ Feb 13 2023, 06:36 AM) *

QUOTE(pandy @ Feb 13 2023, 08:27 AM) *

I don't understand. When I hold the pointer over the square it changes colour and I can scroll the lines with the mouse wheel.

I can't do that, not even in K-Meleon. tongue.gif Are you sure it's not the viewport scrollbar you see moving?

I can't scroll it either. I want the inner items (onesssss) to scroll when the mouse is on the square.
Owh btw, I'm looking for a pure css solution.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 13 2023, 07:51 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,735
Joined: 9-August 06
Member No.: 6



But they do scroll. I.e. the page scrolls but the fixed box stays put. What browser do you use?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 13 2023, 11:53 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,678
Joined: 10-August 06
Member No.: 7



QUOTE(ericsia @ Feb 13 2023, 01:03 PM) *

I want the inner items (onesssss) to scroll when the mouse is on the square.

Yes that's what I meant too, the DIV with "overflow: auto". But do you really need nested scrollable sections like that on the page? It might be difficult to use even if it worked.

QUOTE(pandy @ Feb 13 2023, 01:51 PM) *

But the do scroll. I.e. the page scrolls but the fixed box stays put.

I can scroll the page too, but occasionally even that it stops working (at least in Vivaldi). Not sure why, maybe it's a bug.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ericsia
post Feb 14 2023, 06:15 AM
Post #8


Newbie
*

Group: Members
Posts: 11
Joined: 12-February 23
Member No.: 28,805



QUOTE(Christian J @ Feb 13 2023, 11:53 AM) *

QUOTE(ericsia @ Feb 13 2023, 01:03 PM) *

I want the inner items (onesssss) to scroll when the mouse is on the square.

Yes that's what I meant too, the DIV with "overflow: auto". But do you really need nested scrollable sections like that on the page? It might be difficult to use even if it worked.

Yes I need that, the blue box was meant to be a message box with transparent background, but I added color to help us see the region
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
ericsia   how to scroll the element belong to a group?   Feb 12 2023, 11:58 AM
ericsia   Note: I need to change the background color when m...   Feb 12 2023, 01:26 PM
Christian J   It is too hard to describe as word, here is what ...   Feb 12 2023, 02:39 PM
ericsia   Do you want the lines of 1:s to scroll even when ...   Feb 12 2023, 03:36 PM
Christian J   I don't think it's possible. You can still...   Feb 12 2023, 04:23 PM
ericsia   user will scroll using mouse wheel most likely   Feb 13 2023, 01:39 AM
pandy   I don't understand. When I hold the pointer ov...   Feb 13 2023, 02:27 AM
Christian J   I don't understand. When I hold the pointer o...   Feb 13 2023, 06:36 AM
pandy   Of course the scrollbar moves. How else would it h...   Feb 13 2023, 06:47 AM
ericsia   I don't understand. When I hold the pointer ...   Feb 13 2023, 07:03 AM
pandy   But they do scroll. I.e. the page scrolls but the ...   Feb 13 2023, 07:51 AM
Christian J   I want the inner items (onesssss) to scroll when...   Feb 13 2023, 11:53 AM
pandy   I want the inner items (onesssss) to scroll whe...   Feb 13 2023, 02:32 PM
ericsia   [quote name='Christian J' post='145216' date='Feb...   Feb 14 2023, 06:31 AM
pandy   Yes? I hold the pointer over the box. It changes c...   Feb 14 2023, 07:45 AM
ericsia   Yes? I hold the pointer over the box. It changes ...   Feb 14 2023, 08:21 AM
Christian J   It's normal page scroll for pete's sake. ...   Feb 14 2023, 10:34 AM
pandy   Can't help I have a bigger screen than you. I ...   Feb 14 2023, 01:55 PM
ericsia   I want the inner items (onesssss) to scroll whe...   Feb 14 2023, 06:15 AM
coothead   Hi there ericsia, I have made an example that wil...   Feb 13 2023, 01:55 PM
ericsia   Hi there ericsia, I have made an example that wi...   Feb 14 2023, 06:27 AM
coothead   . For a moment I thought yours is the solution, ...   Feb 14 2023, 09:14 AM
ericsia   . For a moment I thought yours is the solution,...   Feb 16 2023, 09:34 AM
coothead   . The reason it don't scroll tis because the...   Feb 16 2023, 09:47 AM
ericsia   . The reason it don't scroll tis because th...   Feb 16 2023, 12:39 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 3rd June 2024 - 08:30 AM