javascript - Iframe Scroll bar is not moving -
I have created an iframe with the following attributes.
& lt; Iframe id = 'modalIframeId' Width = '100%' height = '100%' name = 'modalIframeId' marginWidth = '0' marginHyft = '0' frameborder = '0' scrolling = 'auto' scrolling = 'yes' heading = 'Dialog title' & gt; When I scroll up from the top of the mouse wheel, the material is recovering. But the scroll bar is not running accordingly. It has the same scenario with IE8 and Firefox. How can I solve it?
After your 100% width and height, you can see that you want to create an entire page as an iframe
You can change your & lt; Frame & gt; and & lt; Frameset & gt; better, but using AJAX or PHP is best. & lt; Frameset calls = "100%" & gt; & Lt; Frame src = "document.html" & gt; & Lt; / Frameset & gt; & Lt ;? Include Php 'document.html'; ? & Gt; & Lt; Script src = "http://code.jquery.com/jquery.min.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script & gt; $ .get ("document.html", function (data) {document.write (data)}); & Lt; / Script & gt;
Comments
Post a Comment