[Typo3] 'Skip navigation' anchor not working

Derek digitalfan at earthlink.net
Thu Jun 9 07:12:30 CEST 2005


Are you using BaseURL? Maybe this is part of the problem... I think it would
make all paths relative to your base directory, even an anchor path. So you
will need to include the subpage path before the anchor line. So instead of
linking to #test, link to /subpage/#test. Good luck.


----- Original Message ----- 
From: "Robert Markula" <robert.markula at gmx.net>
Newsgroups: typo3.english
To: <typo3-english at lists.netfielders.de>
Sent: Wednesday, June 08, 2005 11:51 PM
Subject: Re: [Typo3] 'Skip navigation' anchor not working

> Robert Markula wrote:
> > I use a 'skip navigation' link on top of each page, so that e.g. blind
> > visitors may jump directly to the content.
> > The skip link looks like this:
> > <a href="#content">Jump to the content</a>
> >
> > And in the content
> > <div id="content">
> > ....content...
> > </div>
> >
> > I even tried
> > <a id="content" name="content" />
> >
> > It works on static pages, but in typo3 (with realURL enabled), the skip
> > link jumps to the content section all right - but always on the start
> > page. No matter on which subsite you are, clicking this link always
> > brings up the content section of the start page. Hovering over the link
> > shows up the url http://www.domain.tld/#content (instead of e.g.
> > http://www.domain.tld/subsite/#content. And I don't know why. Is this
> > possibly related with realURL?
> By the way, here is my .htaccess file:
> RewriteEngine On
> RewriteRule ^typo3$ - [L]
> RewriteRule ^typo3/.*$ - [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule (\.html|/|\.xml)$ index.php
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

I am using the free version of SPAMfighter for private users.
It has removed 41853 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!

More information about the TYPO3-english mailing list