Link to anchor in another page does not work
Автор: Peter Nemec
Просмотрено 2351,
Подписчики 1,
Размещенный 0
When I use link to anchor in the same page, it works correctly. But when link is to another page of my web and its anchor, page stays visible at top, it does not scroll to anchor. Please correct this bug. Thanks
Размещено
Hello Peter,
Please can you post a link to a webpage where this problem can be seen?
I cannot reproduce this issue in testing.
Kind regards,
Paul
Автор
webpage address is http://www.ipndata.sk/mam/faq.html and text of link with anchor is funkčné a obsahové obmedzenia. This link is http://www.ipndata.sk/mam/index.html#obmedzenia_free_verzie
an anchor in index.html page is defined for table cell (comparision free and pro version).
I hope this will help you. Webpage is only in slovak language :-(
Hi, I tryed with Chrome Browser and it works properly; my suggestion: try with different Browser and, if you can, with different PC.
regards.
Автор
Hi, I have tried this on 3 PCs, with Chrome browser and Microsoft Edge and Explorer. It does not work. Link http://www.ipndata.sk/mam/index.html#obmedzenia_free_verzie does not scroll this page to the table cell with anchor. I have saved page index.html to the disk and have tried to search text of anchor "#obmedzenia_free_verzie", but it doesn not exists in this page. I have tried to export all web site again, but the problem persists.
...maybe I misanderstood, but as attachements you can see what I watch on my PC...
Автор
SC00388.png shows top of the page http://www.ipndata.sk/mam/index.html But anchor #obmedzenia_free_verzie is set for table cell of this page shown in attachment. Why page is not scrolled to this table?
Автор
I hope, attached screenshot can help you. It shows set anchor. Why I cannot find text of anchor in page index.html? Why the page is not scrolled to this anchor?
Please post a screenshot showing in detail your settings for the link which you have made in WebSite X5, as per my screenshot attached
Автор
Here you go. Is this what you want?
Yes, thank you.
I will notify Incomedia on your behalf and ask them to provide an official response. Please note that they do not work over the weekend. During normal working periods you can expect a response within 24/48 hours.
I am not able to reproduce this issue when setting an anchor to a table on another page from within WebSite X5 - it works perfectly for me... so we will ask Incomedia for their comments. Your patience in the meantime is appreciated.
One last thing you can try whilst waiting is this... hold down the 'CTRL' key and enter the Preview mode in WebSite X5... once the Preview is fully built, export the entire project to the server in Step 5, using the option to export ALL files, not just those recently modified. Then thoroughly clear your browser cache, and test again.
Автор
Yes, it works. Your advice helps. I did Ctrl+Preview and then upload ALL files. Now it works correctly.
I exported ALL files before, but without Ctrl+Preview.
Thank you very much.
Best regards
Peter Nemec