WebSite X5Help Center

 
Ron E.
Ron E.
User

Link Within A Page  en

Auteur : Ron E.
Visité 5053, Followers 3, Partagé 54  

how do i put a link from one part of a page to some where else on the same page. e.g when reading within a page you want to go to the top of the page.  Or to link to another part of a sepearte page.

Posté le
6 RéPONSES - 1 UTILES - 1 CORRECT
Incomedia
Samantha M.
Incomedia

Hi Ron!Smile

I will try to explain it to you, let's take for example our website:

http://www.websitex5.com/en/what-s-new.html#passo_1

as you will see, if you click on ''read more'' [1] beneath the small paragraph entitled ''STEP 1 - Choose a template'' - you will go directly to the page section where the information regarding STEP 1 has been added, and if you click on ''page start'' [2] at the bottom of this last section, you will go back to the beginning.

To create this ''movement'' on your webpage you need to proceed as follows:

- Add a text object beneath the small paragraph entitled ''STEP 1 - Choose a template''[1]; add in the object the following anchor: <A NAME="step_1">&nbsp;</A> and click on the ''enable HTML code option''.

In this anchor,you will find ''step_1'' (<A NAME="step_1">&nbsp;</A>). This is the name you give to it, which you can change as you please, the rest has to stay the same.

-Once this has been added, please go to the other part of the page where you want to add the link, ours will be ''page start''[2]. Here you need to add a link, using any object you want (image/text).

Let's add the text object for example, we will type in ''page start'', highlight it and open the ''Insert link'' option. Select ''File or URL'' and add in the - Internet file - field, a ''#''+the name you have given to your anchor. Ours for example is ''#step_1''.

Now test the page by selecting preview!

Lire plus
Posté le de Samantha M.
Ron E.
Ron E.
User
Auteur

Hi

Still having problems.

I have inserted the code as expalined. The link still does not work

see www.bradfordtrials.org/ykcentre  under menu item 'other info/rules.

I have inserted the code  "#3" on section 3 MEETINGS OF THE CENTRE BOARD, then the following code <a name="step_1">3</a> in the document where I want the page to jump to (MEETINGS OF THE CENTRE BOARD). 

If you open up the page source on line 134 the details entered are 

<a href=""#3"" class="imCssLink">MEETINGS OF THE CENTRE BOARD</a>

and at the paragraph I want to jump to the following code is shown on page source

<a name="step_1">3</a>

I belive the ""3"" class= "imCsslink" is wrong. It has "" around the number 3 but howdo I stop the programme putting in 2 x "

Lire plus
Posté le de Ron E.
Ron E.
Ron E.
User
Auteur

Its OK I have sorted it.

Lire plus
Posté le de Ron E.
Ron E.
Ron E.
User
Auteur

What I did was omit the "  " marks. I have entered #3 in the File or URL field

Lire plus
Posté le de Ron E.
Marcus Vinicius Rocha Da Silva
Marcus Vinicius Rocha Da Silva
User

Is it possible to define an image as an anchor? If affirmative, how to do it?

Lire plus
Posté le de Marcus Vinicius Rocha Da Silva
Gorg ..
Gorg ..
User

Hi, I'm not in the English speaking area, so I do not understand wel how best to set an anchor?
Is it possible to tutorials - step by step, with photos, that would really facilitate work, and you will not take much time?

Thank you in advance, regards,
gorg

Lire plus
Posté le de Gorg ..