Help Scrolling an IE modal

allredb

New Member
Joined
Jan 2, 2019
Messages
2
First off, I appreciate all of your time in reviewing and potentially responding to my inquiry.

I have a webpage that loads a modal that is longer than the page displays requiring me to scroll down to get the second screenshot. I have not been able to programmatically scroll the modal despite numerous attempts.

I have tried parentwindow.scrollby and .scrollto as well as sendkeys and automating the scrollbar=bottom. None of these attempts move the modal. To be clear - there is only one scrollbar for the page, not a second scrollbar embedded just for the modal.

I have copied what I thought is the relevant HTML from the page/modal. I would greatly appreciate any insight or suggestions from the experts here.
Thank you!



<div class="modal fade in" role="dialog" aria-labelledby="ShowApplicationModal" id="ShowApplicationModal" data-keyboard="false" data-backdrop="static" style="display: block; padding-left: 17px;">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="gridSystemModalLabel">Initiation Form</h4>
</div>
<div class="modal-body">



..........



</div>
<div class="modal-footer">

<button type="button" class="btn btn-default" data-bind="visible: IsLoading() == false" data-dismiss="modal" style="">Close</button>

</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
After further testing I got close with using .focus for the close button at the end of the form. This brings the button into view and therefore the vast majority of the form.
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,099
Members
449,205
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top