Forum Moderators: open

Message Too Old, No Replies

Copy an HREF from one cell to another

         

cvonhelf

8:02 pm on Mar 14, 2006 (gmt 0)



I have an application that outputs many htm pages. I have been asked to change the navigation on the static pages. The output is one hundreds of pages, always a two column table with multiple rows. Column one has an image, column two has text. I need to have the image and text both point to the same file.

Current:
<TR>
<TD>
<A TARGET="NS" HREF="Folder/Document.PDF">
<IMG SRC="../../../Images/image.gif" style="border:0"/>
</A>
</TD>
<TD>
<A TARGET="NS" HREF="Folder/Document.htm">TEXT</A>
</TD>
</TR>

What I need is the HREF in Column two to point to the same pdf that column one points to.

I have been playing around with Dreamweaver's find and replace, but have not been able to get it to copy from one table cell to another.

Any suggestions at all would be helpful since this is currently all done one at a time - a two day job.

Corey Bryant

5:54 pm on Mar 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am assuming that all the files are possibly the same but you have different folders etc?

If you use virtual links - something like:

<img src="/images/image.gif" alt="">
then what will happen is - not matter how many folders deep you are, you will always go back to the root and then over to images.

-Corey