Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i had setted a scroll bar for reporting ,the reporting is in arabic so i want to adjust the scrolling as you know arabic from Left to right.i am getting the reporting in right position.

Please suggest me to set the div scroll position
Posted

Refer to below link

jQuery: Set Scroll Bar to Center on Element

Its almost related to your needs.Need just lil bit of modification.
 
Share this answer
 
Comments
ManojMurali 21-May-13 7:25am    
<div id="divrpt" style="overflow:auto;width:750px;height:350px;">
some report here
<div>
so here in this dive how to set please suggest
you have to use following jquery in document.ready


$("div").scrollLeft($("div").get(0).scrollWidth);


$("div").get(0).scrollWidth this will give you the width of scroll div
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900