how to control the vertical Scrollbar in php JS

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
stephenrodrics
New php-forum User
New php-forum User
Posts: 64
Joined: Thu Mar 14, 2013 6:10 am

Mon Jul 08, 2013 4:37 am

Is there any way to shuffle the controls on run time, on click of a button

Suppose my 9 to 19 hrs control comes on left and other switched to right side

or is there any way I open the webbrowser and 9-19 comes in center of browser
scrollbar.JPG
scrollbar.JPG (125.64 KiB) Viewed 699 times

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Mon Jul 08, 2013 11:53 pm

Switching the controls to left or right or center can be done using css/styles. If you want this to be random, then at run time generate a random option and feed it to your controls...something like <span style="align:center">your controls</span>

Post Reply