Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 28, 2013 02:31 AM by Song-Tian - MSFT
0 Points
2 Posts
Feb 27, 2013 10:56 AM|LINK
Hi,
I am using iframe in my web application. I want to enable a button based on the vertical scroll bar position of iframe. I tried with
contentWindow.Scroll event of my iframe using javascript but couldn't. Please let me know whether scroll event will work on iframe or not?
Thanks & Regards,
Ammiraju
Participant
766 Points
161 Posts
Feb 27, 2013 11:34 AM|LINK
https://developer.mozilla.org/en-US/docs/DOM/window.onscroll
this may help you..
All-Star
43715 Points
4304 Posts
Microsoft
Feb 28, 2013 02:31 AM|LINK
Please refer to the sample as follow:
$("#frame1").ready( function() { $("#frame1").contents().scrollTop( $("#frame1").contents().scrollTop() + 10 ); });
ammiraju.t
0 Points
2 Posts
scroll event for iframe
Feb 27, 2013 10:56 AM|LINK
Hi,
I am using iframe in my web application. I want to enable a button based on the vertical scroll bar position of iframe. I tried with
contentWindow.Scroll event of my iframe using javascript but couldn't. Please let me know whether scroll event will work on iframe or not?
Thanks & Regards,
Ammiraju
Milind986
Participant
766 Points
161 Posts
Re: scroll event for iframe
Feb 27, 2013 11:34 AM|LINK
https://developer.mozilla.org/en-US/docs/DOM/window.onscroll
this may help you..
My Blog
Song-Tian - ...
All-Star
43715 Points
4304 Posts
Microsoft
Re: scroll event for iframe
Feb 28, 2013 02:31 AM|LINK
Hi,
Please refer to the sample as follow:
$("#frame1").ready( function() { $("#frame1").contents().scrollTop( $("#frame1").contents().scrollTop() + 10 ); });Feedback to us
Develop and promote your apps in Windows Store