Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-14-2006, 08:39 PM Links Help
Ultra Talker

Posts: 362
Trades: 0
How would I make a link that would link to another page as well as go down to an anchor on that page that was linked to.

So i'm on "index.html". I want to make a link from there to "tophosts.html" and also bring u down to "#bottom" on the "tophosts.html" page. How do i do this?
__________________
*
Please login or register to view this content. Registration is FREE
*
- Cheap Hosts, Coupons, Save $$$!
Find the Best Host for Your Needs!
█ *
Please login or register to view this content. Registration is FREE
*
Fast and FREE Proxy
startsphere is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-14-2006, 10:54 PM Re: Links Help
Novice Talker

Posts: 6
Name: Rob
Location: Queensland Australia
Trades: 0
Hi

in your 'index.html' page put in the link:
<a href="http://yourservername.com/tophosts.html#bottom">Link to Top Host</a>

and for the target area on your 'tophosts.html' page use:

<a name="bottom">Bottom of Top Hosts Area</a>


Hope this helps,

Rob.
RRavens is offline
Reply With Quote
View Public Profile
 
Old 03-14-2006, 11:42 PM Re: Links Help
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
Make sure you identify the element you're linking to with an ID or NAME tag. Example:

HTML Code:
<div id="bottom"><p>Bottom Div</p></div>
So you're going to have to link to it like this:
HTML Code:
<a href="tophosts.html#bottom">Link</a>
The ID and/or NAME tag(s) must be in place in order for this kind of linking to work. Also, if you're making a mock menu but still want it to appear like links, you can just use a # (known as the hash or pound sign) in place of an actual URL. It will treat it like a link, but not actually call on new content.
HTML Code:
<a href="#">Mock Link</a>
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE

Last edited by collyer_1; 03-14-2006 at 11:46 PM..
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Reply     « Reply to Links Help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13326 seconds with 12 queries