Endrew Posted May 17, 2006 Share Posted May 17, 2006 Is there a way to place anchor in specific location in browser? Like using X,Y coordinate. Quote Link to comment Share on other sites More sharing options...
alecjw Posted August 27, 2006 Share Posted August 27, 2006 No Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 28, 2006 Share Posted August 28, 2006 Yes. Here is an example: [code]<a href='http://phpfreaks.com' style='position:absolute; left: 20; top: 77;'>PHP Freaks</a>[/code] Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 28, 2006 Share Posted August 28, 2006 Not obvious quite what you want, but html anchors might be what you want (as in somepage.html#top). If not, then maybe you want to use the onLoad function to place the focus on a particular form element, or to use the javascript scrollTo(x,y) function.All depends what you're really trying to accomplish. Quote Link to comment Share on other sites More sharing options...
pkSML Posted September 18, 2006 Share Posted September 18, 2006 Ya' learn something new everyday! This is a pretty cool concept.Updating Daniel0's code...[code]<a name="anchor1" style="position:absolute; left: 20; top: 500;">anchor1</a>[/code]This makes the anchor not a hypertext link. Rather, it is an anchor that can be accessed like [i]/index.htm#anchor1[/i].------Endrew, is this what you're trying to do, or are you trying to put a blinking cursor in an [b]input[/b] field (like Google does)? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.