Hello..
I got some trouble on a new mobile site when defining more than one rel attribute.
This line works of course..
- <a href="http://www.name.com/path/filename.html" rel="external">Link</a>
but when i add the next part the link goes to a new page saying "undefined" at the top
- <a href="http://www.name.com/path/filename.html" rel="external nofollow">Link</a>
Anyone know what causes this and if theres a fix :)?
UPDATE: I just wanted to add that this link is inside a dialog box, that might be part of the issue?!
And I made some more tests:
-when the link has no rel attribute at all, it will also go to the new page saying "undefined"
-when the link has a "rel="nofollow"" it goes to the "undefined" page
-if i press refresh on the "undefined" page it will go to site I linked to
Taken from source code on the "undefined"-site, so it seems
rel="external" gets ignored if there are 2 values? It actally stays on
the same page looking for the internal link: (all the other data-role="page" are still present but hidden)
- <div class="ui-page ui-body-c ui-page-active" data-role="page" data-url="/path/filename.html" data-external-page="true" tabindex="0" style="min-height: 666px;">undefined</div>