Fórum OpenCart Brasil

Por um e-commerce livre, confiável e profissional

Suporte geral sobre problemas técnicos para OpenCart v1.x.
Avatar do usuário
Por Rosa
#65377
Boa tarde queria criar um link ancora em uma pagina para que ele va para um testo especifico teria como fazer isto?
Avatar do usuário
Por reds
Mensagens Especiais Curtidas
#65381
Seria igual ao exemplo abaixo
Código: Selecionar todos
<div>
            <div>
                <ul>
                    <li><a href="#link1">Link 1</a></li><!--este faz a chamada do LINK 1-->
                    <li><a href="#link2">Link 2</a></li><!--este faz a chamada do LINK 2-->
                </ul>
            </div>
            <div>

                <h1><a name="link1"> Aqui esta o primeiro link</a></h1><!--Este é o  LINK 1-->

                <p>You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man.You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man.</p>
            </div>
             <div>

                <h1><a name="link2"> Aqui esta o segundo link</a></h1><!--este é o link LINK 2-->

                <p>You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man.You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man.</p>
            </div>
        </div>
:ugeek: