EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: conchitabh on January 29, 2016, 04:03:47 PM



Title: Unwanted scroll
Post by: conchitabh on January 29, 2016, 04:03:47 PM
Hi, i have a page with a lot of  tabs sets, and when i clic on the last one and click on a tab, the page makes an scroll up to the previous tab set.

how can i disable that scroll?

thanks


Title: Re: Unwanted scroll
Post by: jarry on January 29, 2016, 04:59:00 PM
Please provide an example to demonstrate your issue.


Title: Re: Unwanted scroll
Post by: conchitabh on February 02, 2016, 08:38:30 AM
Hi, the code of tabs:

<div class="easyui-tabs DETAILS-RCS-20160111_124707-3" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-3" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA OCC Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-4" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-5" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-6" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-7" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-8" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-9" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-10" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-11" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-12" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-13" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-14" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>
<div class="easyui-tabs DETAILS-RCS-20160111_124707-15" id="tt2"><div title="General Data" style="min-height: 150px; background: rgb(85, 171, 85);"><b>Num: </b>1<br><b>Name:</b> get-resume-NotFoundResumeId<br><b>Result: </b>OK<br><b>Status code: </b>NotFound<br><b>Time: </b>3.42<br><br></div><div title="Details" style="min-height: 150px; background: rgb(85, 171, 85);">User.HttpStatusCode[NotFound] == Real.HttpStatusCode[NotFound] <br> User.Errors[RCS-5] IN Real.Errors[RCS-5] <br> User.Authentication[HasValue] == Real.Authentication[HasValue]
</div><div title="Response" id="DETAILS-RCS-20160111_124707-4" style="min-height: 150px; background: rgb(243, 253, 243);">{"errors":[{"code":"RCS-5","description":"Resume not found"}],"response":{"authentication_token":{"token":"c968cadff492e2b7235738c2f826ced3","age":0,"idletime":0,"url":"http://10.20.79.138:4040/aais/v1_0/authentication_token/c968cadff492e2b7235738c2f826ced3"},"user_profile":{"userid":"xmxpruebas78x","email":"mail@test.com","name":"Pruebas QA Tecnologia","validemail":true,"receiveemail":true,"enabledlogin":true,"validlogin":true,"newaccounttoken":false,"emailupdatetoken":false,"termsandconditions":true,"type":"recruiter"},"user_data":{"companyid":"xmxpruebas78x","companyname":"Pruebas QA  Tecnologia","username":"geovas","newbusinessmodelaccount":true}}}</div>

If you move to the end of the page and clic on the last tab panel, you will see the scroll


Title: Re: Unwanted scroll
Post by: jarry on February 02, 2016, 06:30:57 PM
Your code is too complex to learn. Please simply it and create a fiddle showing your issue.