Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Problem of internal link (http://forum.bytesforall.com/showthread.php?t=6682)

shus Apr 11, 2010 06:36 AM

[SOLVED] Problem of internal link
 
Hello!

I have created intrenal link to go to some positon inside a post.

Tags inside html is correct:
<a href="#BaganII-GreatStupas"></a>
<a name="BaganII-GreatStupas"></a>

Link in addres panel has the such view:

http://webshus.ru/?p=1710#BaganII-GreatStupas

But when I click the text with link (it is placed at top of the post) - notihg occurs.

What is a case of the problem?

Thank in advance.

juggledad Apr 11, 2010 09:17 AM

there is no <a name="BaganII-GreatStupas"></a> on that page

shus Apr 11, 2010 09:22 AM

This is a part of html from the post (13 row from top)

<em><span style="font-size: small;"><strong><span style="font-size: medium;"><a href="#BaganII-GreatStupas">2. Великие ступы</a></span></strong></span></em><span style="font-size: medium;"> </span><span style="font-size: medium;"> </span><span style="font-size: medium;"> </span><span style="font-size: medium;"> </span>

This is lower (begin of page 2)

<h1><strong><em><span style="font-size: medium;"><a name="BaganII-GreatStupas"></a>2. Великие ступы</span></em></strong></h1>

juggledad Apr 11, 2010 12:33 PM

<a href="#BaganII-GreatStupas"> will only link to a <a name="BaganII-GreatStupas"> on the current page. Since <a name="BaganII-GreatStupas"> is on page 2 it can't be linked to.
If you put that link code on page 2 it will work.

shus Apr 12, 2010 03:53 AM

Solved!
Thank you.


All times are GMT -6. The time now is 06:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.