Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

PeterC66's avatar
PeterC66
Explorer | Level 3
5 years ago
Solved

How can I open an HTML document in Dropbox and go directly to an anchor tag

My requirement is fairly complex, but to understand the issue better I have a simple test HTML file with

<a href="#xx">go to  xx</a>

at the top of the body, and an anchor

<a id="xx">

at the end of several pages of text. 

As expected, on DropBox clicking on "go to  xx" takes the browser down to the bottom of the text. 

 

On a normal server I would expect https://...#xx to open the page directly at the bottom of the text, but this does not seem to happen on DropBox.

 

This is important for me as my document is very long and I want to provide a quick way for users to open it at various points.

  • Dropbox ignores commands based upon HTML tags (in fact I'm quite shocked its rendering the page at all, I thought that had been disabled). There isnt a way round this that I know of 

2 Replies

  • Mark's avatar
    Mark
    Icon for Super User II rankSuper User II
    5 years ago

    Dropbox ignores commands based upon HTML tags (in fact I'm quite shocked its rendering the page at all, I thought that had been disabled). There isnt a way round this that I know of 

  • PeterC66's avatar
    PeterC66
    Explorer | Level 3
    5 years ago

    Thanks. Thinking about it I now realise that I should not expect DropBox to show HTML as I have a website for that! My document is actually in Word that I converted to PDF.  But as I could not reliably link to bookmarks in a PDF I switched to generating HTML. I should have thought a bit more about it before assuming to put it on DropBox.

About View, download, and export

Node avatar for View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!