didgydont Posted July 17, 2009 Share Posted July 17, 2009 hi all i am normal able to jump to on a webpage but in this instance the page loads before the table and doesnt work though if i press enter in the loaded pages address bar it does are there anyways around this ? Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/ Share on other sites More sharing options...
alex3 Posted July 17, 2009 Share Posted July 17, 2009 So you've got the page loading, and then a table loads, and you want to be able to jump to the table when the page loads? I'd either wrap the code you want to jump to with an anchor... <a name="table">table stuff</a> .. or a div... <div id="table">table stuff</a> ... or place a div just above the code. <div id="table"> </div> Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/#findComment-876994 Share on other sites More sharing options...
didgydont Posted July 17, 2009 Author Share Posted July 17, 2009 i have tried that but it doesnt work because the table changes on every link click then i wanted it to jump but the jump happens before it loads http://360.kingla.com/?group=&sort=&type=#list yet if go to address bar and press enter it works Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/#findComment-877009 Share on other sites More sharing options...
Bendude14 Posted July 17, 2009 Share Posted July 17, 2009 Using <a name=""> </a> should work as a jump to. If the jump happens before the table is loaded what would that matter if the anchor was positioned above where the table was going to be located? Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/#findComment-877039 Share on other sites More sharing options...
didgydont Posted July 17, 2009 Author Share Posted July 17, 2009 because the ancor is at the bottom of the page until the table loads Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/#findComment-877048 Share on other sites More sharing options...
Bendude14 Posted July 18, 2009 Share Posted July 18, 2009 The link you posted works fine for me in firefox... But if you are looking to move the page location after it has loaded you will need or be best with a javascript solution.. Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/#findComment-877467 Share on other sites More sharing options...
didgydont Posted July 18, 2009 Author Share Posted July 18, 2009 yer its just ie Link to comment https://forums.phpfreaks.com/topic/166309-jump-to-part-of-web-page-indexphpeg/#findComment-877546 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.