rswildy Posted December 9, 2006 Share Posted December 9, 2006 Ok guys, i've created a frame linking to a diffrent site, its a worldswitcher for runescape.com anyway, i turned scrolling OFF, now.. I would like it to scroll to the bottom of the iframe so you only see the game and not the ad above so it fits on screen anyone help? Link to comment Share on other sites More sharing options...
rswildy Posted December 9, 2006 Author Share Posted December 9, 2006 Bump help please guys. Link to comment Share on other sites More sharing options...
jlhaslip Posted December 9, 2006 Share Posted December 9, 2006 Without seeing the coding you have, it is difficult to guess at what to do or change.Please post the code you have for the problem.Thanks. Link to comment Share on other sites More sharing options...
rswildy Posted December 9, 2006 Author Share Posted December 9, 2006 <a href="http://above3.runescape.com/lang/en/aff/runescape/game.ws?lowmem=1&plugin=0" target="content">8</a> it opens in "content" but my frame isnt big enough, how do i get it to show the bottom of the page being displayed in the frame, this is because im going to turn scrolling off on my frames. <a href="http://above3.runescape.com/lang/en/aff/runescape/game.ws?lowmem=1&plugin=0#bottom" target="content">8</a> doesn't work. Link to comment Share on other sites More sharing options...
rswildy Posted December 11, 2006 Author Share Posted December 11, 2006 bump help please. Link to comment Share on other sites More sharing options...
ZeRgII Posted December 11, 2006 Share Posted December 11, 2006 bump help please.Hey [The_Monster] <3 ; ZeRgII here :)Haven't seen you around lately.. But hey... are you building a client for RS? X_x' Link to comment Share on other sites More sharing options...
jesh Posted December 11, 2006 Share Posted December 11, 2006 If you've tried target and it doesn't work, look into using the scrollTo method of the HTML DOM:http://www.w3schools.com/htmldom/met_win_scrollto.asphttp://www.w3schools.com/js/tryit.asp?file...window_scrolltoYou can call the scrollTo method on your iframe object: var myFrame = document.getElementById("myFrameID");myFrame.scrollTo(0, 500); After you scroll the frame, perhaps you could then hide the scrollbars: myFrame.style.overflow = "hidden"; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now