Last active
December 23, 2016 12:17
-
-
Save tieutantan/5337c084905bf23ec72e to your computer and use it in GitHub Desktop.
Set iframe show on x,y positioning ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
via CSS - http://jsfiddle.net/sNSMw/ | |
via JS - You might want to put this part in the BODY tag, not the IFRAME tag: onload="window.frames.scrollTo(300,300)" | |
<iframe name="itunes" src="http://itunes.apple.com/us/album/threads/id” frameborder="0" width="500" height="600" onload="window.frames['itunes'].scrollTo(250,250)"></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment