ThePentiumGuy Posted August 1, 2003 Posted August 1, 2003 i have a webpage that has a link to another webpage, how would i make it so that, the link links to the middle of a page? thanks in adv. Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
nibsy Posted August 1, 2003 Posted August 1, 2003 Why not try posting that question here: http://www.visualbasicforum.com/f30 I hope this helps :) Quote
jorge Posted August 1, 2003 Posted August 1, 2003 make a anchor, and the to: <a href="#Nameofanchor">Click</a> <- link to use <a name="Nameofanchor"></a><- anchor :p Quote Jorge - http://www.blackdot.be/?page=apache.htm
ThePentiumGuy Posted August 1, 2003 Author Posted August 1, 2003 will this work in a forum? you see, my webpage has a link that links to the middle of my forum. will I be able to copy and paste the anchor into the forum? or will it display as regular text? by the way, i think the method you used only links it to the same webpage, except in a different location. thanks a lot :) Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
*Experts* Nerseus Posted August 1, 2003 *Experts* Posted August 1, 2003 The anchor tag is the basic of basic HTML. If you're building some web-based forum software, you might want to read up on it a bit :) The anchor is the way to go. You will have to define an anchor at any point you might want to link to. When you have the link TO that page, you can use the pound sign to indicate the name (as jorge pointed out). You can use JUST the anchor to link to an achor in the current page, or put it on the end of a URL to go to a specific place in a page, such as in this example: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=75101#post376469 The above shows a link to this topic with the full URL to the page, the thread (#75101) and the anchor (post376469). You can right click on a web page, select View Source, and look at how other pages work. The HTML tags and syntax are free to grab. Some Javascript code might be copyrighted and the content of almost all pages is copyrighted through the Digital Millenium Act (for now). So plunder away (the HTML that is)! -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
jorge Posted August 1, 2003 Posted August 1, 2003 Put a anchor in let say page10.htm, and name it it middel10, The put a link on page one to:Page1.htm#middel10, it should work. Quote Jorge - http://www.blackdot.be/?page=apache.htm
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.