Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Anchor links in article- can't seem to fix them..
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Anchor links in article- can't seem to fix them..

Anchor links in article- can't seem to fix them.. 11 years, 4 months ago #35302

I am having the problem that others have had with anchor links (within the same document) not working. I have gone through the forums and read dozens of posts with various suggestions on what to do to get this working but so far none have worked. Many of the posts on the topic are obviously outdated or relate to previous versions of Joomsef.

Is there a current, up to date, step by step troubleshooter that could help me figure out how to get anchors within the same article working on my site? The page I need the links to work on is:

www.musicedmagic.com/tales-from-the-podi...music-classroom.html

I put in one link, in the first bullet point, to demonstrate what the problem is. Any help would be appreciated.

-MaestroC
The topic has been locked.

Re: Anchor links in article- can't seem to fix them.. 11 years, 4 months ago #35329

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

It seems that your anchor link is created correctly and also behaves correctly in the browser's address bar (it doesn't redirect to homepage or something), but there's no anchor with the specified name created in your article.

If I check the HTML code of your site the anchor link is created like this:
<a href="#special-ed" title="Special Ed and Adaptive Musical Instruction Hardware">Special Needs and Adaptive Musical Instruction Hardware</a>

but there's no named anchor created like this:
<a id="special-ed">Title</a>


So you probably just need to add the anchor to your article.
ARTIO Support Team
The topic has been locked.

Re: Anchor links in article- can't seem to fix them.. 11 years, 4 months ago #35330

  • dajo
  • OFFLINE
  • Posts: 5069
Sorry, I take back my previous answer.

There is a named anchor created as:
<a name="special-ed"></a>


And it seems to be working fine when the link is opened in FireFox for the first time. But for some reason it doesn't work afterwards.
FireBug reports almost 800 errors in your HTML code, so maybe that's the reason? I don't think that JoomSEF causes this, when the anchor part is correctly added to the URL. Have you tried if your anchors work with JoomSEF disabled?
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty