Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Art & Graphic Design > basic html question

basic html question
Thread Tools
ironknee
Addicted to MacNN
Join Date: May 1999
Location: New York City
Status: Offline
Reply With Quote
Nov 16, 2007, 08:11 PM
 
hi

i want to create a link to someone's website. the page is a long list of books.

i want to link to the section (half way down) i want.

i think i used to know this....something with #

any help thanks
     
mduell
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Nov 16, 2007, 09:55 PM
 
You'll have to rely on anchors on their page. Just link to http://site.com/foler/page.html#anchor
     
ironknee  (op)
Addicted to MacNN
Join Date: May 1999
Location: New York City
Status: Offline
Reply With Quote
Nov 16, 2007, 11:51 PM
 
how do i know if they have anchors ?

and what if they don't have em?
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 16, 2007, 11:55 PM
 
You would have to look at the page source of the site to see if they have anchor links embedded into the page. Anchor links look like the following:

<a name = "nameoflink">anchor link</a>

You would link to this page as:

http://domain/page.html#nameoflink
     
ironknee  (op)
Addicted to MacNN
Join Date: May 1999
Location: New York City
Status: Offline
Reply With Quote
Nov 17, 2007, 01:47 AM
 
there are no anchors on the page...it's just a long list of books

     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Nov 17, 2007, 01:49 AM
 
I can show you how to display that same information on your site, parsing out the stuff you don't care about, if you want... You'll need to have PHP installed for this though.
     
   
Thread Tools
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 02:48 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,