Link from file.txt

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • J. Alberto

    #1

    Link from file.txt

    Hi
    I'm working with JavaScript to load files.TXT and show them in the following
    format:

    <TR>
    <TD><DIV ID="col1" DATAFLD="id" ></DIV></TD>
    <TD><DIV ID="col2" DATAFLD="Theme" ></DIV></TD>
    <TD><DIV ID="col3" DATAFLD="Origin "></DIV></TD>
    <TD><DIV ID="col4" DATAFLD="Format "></DIV></TD>
    <TD><DIV ID="col5" DATAFLD="Link"> </DIV></TD>
    </TR>

    But I don't know how can I do for a link, example:
    I want it like a link: http://www.google.com/
    and not like text: http:// w w w . g o o g l e . com/

    I try with this, but it doesn't work:
    <TD><A HREF="DIV ID="col5" DATAFLD="Link"" ></DIV></A></TD>


    Thanks,
    J. Alberto
    ccs-ve
    --


  • J. Alberto

    #2
    Re: Link from file.txt

    <TD><A TARGET="_new" DATAFLD="Link"> <DIV ID="col6" DATAFLD="Visibl e
    Link"></DIV></a></TD>

    Done


    Comment

    Working...