add a dynamic scroll bar |
add a dynamic scroll bar |
sonal |
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. |
Christian J |
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.
|
Lo-Fi Version | Time is now: 19th April 2024 - 05:41 PM |