The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> add a dynamic scroll bar
sonal
post Jul 18 2016, 01:36 AM
Post #1





Group: Members
Posts: 2
Joined: 18-July 16
Member No.: 24,421



The scenario is as follows:

An outer div element(say size 100px) contains three div elements (each of size 25px). All three are placed in-line in the outer div element. There is a button, on the click of which, the following should happen:

1. a scroll bar should apper, such that only 2 rightmost div elements are visible and third one is visible, when i scroll towards the left.
2. a new div element should apperar to the rightmost of the outer div elements.


I cant figure out how to achieve this, any pointers would be really helpfull.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 18 2016, 09:51 AM
Post #2


.
********

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



Things like that usually require javascript.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

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: 19th April 2024 - 05:41 PM