View Full Version : Anchor links
JaneStoner
04-Sep-2005, 08:25 PM
Hi,
I am new to Actininc, so apologies if this is a stupid question, but I can't find the answer I am looking for.
I would like put anchor links into sections within my brochure pages, but can't get standard html anchors to work. Is there a way to take someone to a particular fragment on a page?
Thanks in advance,
Jane
wjcampbe
04-Sep-2005, 09:13 PM
Standard html anchor links in the form <a name= for setting the link point and <a href=#name for the connecting link work for me within a page. You can see this in action on our FAQ page.
SusanF
04-Sep-2005, 09:14 PM
Hi Jane,
I've set up an "anchor" fragment immediately above the fragment where I want the customer to be directed to (I can't remember if this was necessary - it may be that the code could be inserted at the top of the fragment above any other html, but anyway, I've separated it out). So I have a fragment called, say, photographer_X Anchor, follwed by the fragment photographer_X Details.
The code in photographer_X Anchor is as follows:
!!<
<a name="photographer_x"></a>
<p> </p>
>!!
Later, within a product page 'full description', I have included the following code:
Photographer: <a href="photographers_and _artists.html#photographer_x">Name of Photographer</a>
where "photographers_and_artists.html" is the name of the brochure page within which I have added the anchor fragment as detailed above.
(Got a horrible feeling I've made this sound more complicated than it actually is).
You can see this in action by clicking on the name of the photographer on most greeting card pages.
Hope this helps,
SusanF
04-Sep-2005, 09:16 PM
Sorry Bill you beat me to it there - that's what happens when you waffle on too long in giving an explanation!
wjcampbe
04-Sep-2005, 09:56 PM
@Susan - the only thing that saved me was I did not make my usual spelling mistakes and have to go back and correct. If I was in normal all thumbs mode - you'd have beaten me by five minutes :D
JaneStoner
07-Sep-2005, 08:45 PM
Thanks Bill and Susan. I'm not sure why I couldn't get this to work the other evening, it works a treat now. It must have been getting late, but your examples gave my brain the kick it needed :-)
Jane
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.