1 Reply Latest reply on May 15, 2019 9:13 AM by proteus

    html tile "id=" & # reference

    moby

      Hi. We're trying a bit of nav code through an html tile in 2019.2 on AWS.

       

      <!doctype html>

      <html>

      <head>

        <meta http-equiv="content-type" content="text/html; charset=UTF-8">

        <title>TEST ANCRES 4</title>

      </head>

       

      <body>

        <p id="BACK JOURNALS"></p>

        <h2> E-Journals </h2>

        <br>

        <h2> <a href="#A JOURNALS" target="_top">A</a> <a href="#B JOURNALS" target="_top">B</a> <a href="#C JOURNALS" target="_top">C</a> D <a href="#E JOURNALS" target="_top">E</a> <a href="#F JOURNALS" target="_top">F</a> <a href="#G JOURNALS" target="_top">G</a> <a href="#H JOURNALS" target="_top">H</a> <a href="#I JOURNALS" target="_top">I</a> <a href="#J JOURNALS" target="_top">J</a> K <a href="#L JOURNALS" target="_top">L</a> <a href="#M JOURNALS" target="_top">M</a> <a href="#N JOURNALS" target="_top">N</a> <a href="#O JOURNALS" target="_top">O</a> <a href="#P JOURNALS" target="_top">P</a> Q R <a href="#S JOURNALS" target="_top">S</a> <a href="#T JOURNALS" target="_top">T</a> U V W X Y <a href="#Z JOURNALS" target="_top">Z</a> </h2>

        <br>

        <p></p>

        <p></p>

        <p><b></b></p>

        <h2 id="A JOURNALS">A</h2>

        <br>

        <br>

        <a href="http://pubs.acs.org/journal/achre4" target="_blank"> <h1> Account of Chemical Research </h1> </a>

       

      But in an HTML tile, all we get is a blank page from https://app-firmenich.jiveon.com/resources/add-ons/185191ef-772a-4541-8b5a-411108dda0fa/52416ce682/tiles/generic-html/view.html#A%20JOURNALS

       

      The html doc works perfectly as a raw file in browser.

      Is there a trick to making this id=* and its # reference work in the HTML tile?

       

      Thanks,

      Mike.

        • Re: html tile "id=" & # reference
          proteus

          Hi Mike,

           

          I think you should possibly look to your ID's which should not contain white spaces. Also as H1 and H2 tags are block level elements the A tags should be inside them.

          Something like this...

           

          <!doctype html>

          <html>

          <head>

            <meta http-equiv="content-type" content="text/html; charset=UTF-8">

            <title>TEST ANCRES 4</title>

          </head>

          <body>

          <p id="BACK_JOURNALS"></p>

          <h2>E-JOURNALS</h2>

          <br>

          <a href="#A_JOURNALS" target="_top">A</a><a href="#B_JOURNALS" target="_top">B</a> <a href="#C_JOURNALS" target="_top">C</a> D <a href="#E_JOURNALS" target="_top">E</a> <a href="#F_JOURNALS" target="_top">F</a> <a href="#G_JOURNALS" target="_top">G</a> <a href="#H_JOURNALS" target="_top">H</a> <a href="#I_JOURNALS" target="_top">I</a> <a href="#J_JOURNALS" target="_top">J</a> K <a href="#L_JOURNALS" target="_top">L</a> <a href="#M_JOURNALS" target="_top">M</a> <a href="#N_JOURNALS" target="_top">N</a> <a href="#O_JOURNALS" target="_top">O</a> <a href="#P_JOURNALS" target="_top">P</a> Q R <a href="#S_JOURNALS" target="_top">S</a> <a href="#T_JOURNALS" target="_top">T</a> U V W X Y <a href="#Z_JOURNALS" target="_top">Z</a>

          <br>

          <br>

          <br>

          <h1><a href="http://pubs.acs.org/journal/achre4" target="_blank">Account of Chemical Research</a></h1>

          </body>

          </html>