It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

anchor question

anchor question

Postby dazz_club on Thu Aug 25, 2005 3:33 pm

Hi peeps, just womdering if it is possbile

I would like an image to be a link to another website but to a specific part of the page.

How would i go about doing this?
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby webmaster on Thu Aug 25, 2005 5:34 pm

It is possible on some sites that's built for it, for example this forum. The system is called anchors. So check out if that page use that technique, you can see it by looking at the links of that page, links with anchors ends with #then_some_text_or_number

Here's an example of an anchor here at devppl:
-vp7083.html#7083
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

oh rite.

Postby dazz_club on Thu Aug 25, 2005 6:42 pm

will do
cheers, thanks for that. :D
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby Phate on Thu Aug 25, 2005 9:41 pm

I explain how to do this here:

pop-up-links-vt2204.html-vp7914.html#7914
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

more questions if u dont mind

Postby dazz_club on Fri Aug 26, 2005 8:36 am

so if i needed to put an anchor to an another page it will be like this
im having trouble linking an image on one page to text on another page


something like this, wrong probably
page 1
< A HREF="http://www.mywebsite.com/contact_us.html#word">
page2
<A NAME=http://www.mywebsite.com/contact_us.html#word ">
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby Phate on Fri Aug 26, 2005 10:26 pm

you would need to define the section... follow what i did in the previous post
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

great link for my anchor question

Postby dazz_club on Fri Mar 24, 2006 12:12 am

Cheers for the tutorial link Phate
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby Phate on Fri Mar 24, 2006 3:16 am

no problem... lol this is pretty old
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby dazz_club on Fri Mar 24, 2006 9:40 am

hehe, i know, i didnt want to come across as not being grateful, you know, grabbing the code and just leaving.
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby webmaster on Fri Mar 24, 2006 10:47 am

dazz_club wrote:hehe, i know, i didnt want to come across as not being grateful, you know, grabbing the code and just leaving.
That's right dazz_club. Keep it friendly :)
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden


Who is online

Users browsing this forum: No registered users and 3 guests