Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

Relative Links

I need all of the relative links in the following document changed to fully qualified links. I've started it, but I need to use this page as a search template, so they all need to be done. i keep being told there's still relative links, but I can't find anymore.

Any help would be appreciated.

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Articles</title>
<meta name="Microsoft Border" content="tlb, default">
</head>

<body bgcolor="#FFFFCC">

<table border="0" cellpadding="0" cellspacing="0" width="584" height="591" align="left" bgcolor="#FFFFFF" id="table10">
      <!-- MSTableType="layout" -->
      <tr>
            <td valign="top" bordercolor="#FF0000" background="http://www.futuretechnologiesinc.com/index_7.gif" align="center" height="27">
            <!-- MSCellType="ContentHead2" -->
            <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" id="table11">
      <!-- MSCellFormattingTableID="2" -->
      <tr>
            <td bgcolor="#CF3500" width="4">
            <img alt="" width="4" height="1" src="http://www.futuretechnologiesinc.com/images/MsSpacer.gif"></td>
            <td valign="top" bordercolor="#FF0000" bgcolor="#FF0000" background="http://www.futuretechnologiesinc.com/index_7.gif" align="center" width="100%">
            <!-- MSCellFormattingType="content" -->
            <p align="center"><b><font face="Tahoma" size="4" color="#FFFFCC">
Articles</font></b></td>
            <td bgcolor="#CF3500" height="100%" width="4">
            <img alt="" width="4" height="1" src="http://www.futuretechnologiesinc.com/images/MsSpacer.gif"></td>
      </tr>
            </table>
      </td>
            </tr>
      <tr>
            <td valign="top" bgcolor="#CF3500" bordercolor="#CF3500" height="26"><b>
            <font face="Tahoma" size="2" color="#FFFFFF">
            <FORM ACTION="http://search.freefind.com/find.html" METHOD="GET"  target="_self">
<FONT size=1 face="arial,helvetica" >
<p align="center"><font face="Tahoma" size="2" color="#FFFFFF">View By:&nbsp;&nbsp;&nbsp;
            </font>
            </font><font face="Tahoma" size="2" color="#FFFFCC"><a href="http://www.futuretechnologiesinc.com/article/name.htm">
<font color="#FFFFFF">Name</font></a></font><font face="Tahoma" size="2" color="#FFFFFF">&nbsp;
|&nbsp;
            <font face="Tahoma" size="2"><a href="http://www.futuretechnologiesinc.com/article/date.htm"><font color="#FFFFFF">Date</font></a></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            Search:
<INPUT NAME="query" SIZE="15" style="font-family: Verdana; font-size: 8pt; color: #FFFFFF; background-color: #CF3500"><small>
<INPUT TYPE="submit" VALUE="Go!" style="font-family: Verdana; font-size: 8pt; color: #FFFFCC; background-color: #CF3500"></small></font></font></b></p>
<font face="Tahoma" size="2" color="#FFFFFF">
<INPUT TYPE="HIDDEN" NAME="id" VALUE="81526727">
<INPUT TYPE="HIDDEN" NAME="pageid" VALUE="r">
<INPUT TYPE="HIDDEN" NAME="mode" VALUE="ALL">
<INPUT type="HIDDEN" name="n" value="0">
            </font></td>
      </tr>
      <tr>
            <td valign="top" height="519">
            <!-- MSCellType="ContentBody" -->
            <table cellpadding="0" cellspacing="0" border="0" id="table12" width="100%" height="100%">
      <!-- MSCellFormattingTableID="1" -->
      <tr>
            <td valign="top" height="100%" width="100%">
            <!-- MSCellFormattingType="content" -->
            <div style="border-left: 4px solid #CF3500; border-right: 4px solid #CF3500; border-bottom: 4px solid #CF3500; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
                  <b><font face="Tahoma">Search Results:<br>
                  ::content::</font></b><form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='http://www.futuretechnologiesinc.com/_derived/nortbots.htm';return false;" webbot-onSubmit>
                        <!--webbot bot="SaveResults" U-File="http://www.futuretechnologiesinc.com/_private/comments.htm" S-Format="HTML/BR" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Builtin-Fields="Date Time" startspan U-Confirmation-Url="http://www.futuretechnologiesinc.com/answers_submit.htm" S-Email-Format="TEXT/PRE" S-Email-Address="yardgames@hotpop.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Future Technologies form" S-Date-Format="%m/%d/%Y" S-Time-Format="%I:%M:%S %p" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
                        <input type="hidden" name="fti_form" value="get answers (question, comment, suggestion)">
                  </form>
            </div>
            </td>
      </tr>
            </table>
            </td>
            </tr>
      <tr>
            <td height="19" width="584" bordercolor="#FFFFCC" bgcolor="#FFFFCC">
            </td>
      </tr>
</table>

      </body>

</html>
0
yardgames
Asked:
yardgames
  • 2
  • 2
2 Solutions
 
benwiggyCommented:
Try this:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Articles</title>
<meta name="Microsoft Border" content="tlb, default">
</head>

<body bgcolor="#FFFFCC">

<table border="0" cellpadding="0" cellspacing="0" width="584" height="591" align="left" bgcolor="#FFFFFF" id="table10">
     <!-- MSTableType="layout" -->
     <tr>
          <td valign="top" bordercolor="#FF0000" background="index_7.gif" align="center" height="27">
          <!-- MSCellType="ContentHead2" -->
          <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" id="table11">
     <!-- MSCellFormattingTableID="2" -->
     <tr>
          <td bgcolor="#CF3500" width="4">
          <img alt="" width="4" height="1" src="images/MsSpacer.gif"></td>
          <td valign="top" bordercolor="#FF0000" bgcolor="#FF0000" background="index_7.gif" align="center" width="100%">
          <!-- MSCellFormattingType="content" -->
          <p align="center"><b><font face="Tahoma" size="4" color="#FFFFCC">
Articles</font></b></td>
          <td bgcolor="#CF3500" height="100%" width="4">
          <img alt="" width="4" height="1" src="images/MsSpacer.gif"></td>
     </tr>
          </table>
     </td>
          </tr>
     <tr>
          <td valign="top" bgcolor="#CF3500" bordercolor="#CF3500" height="26"><b>
          <font face="Tahoma" size="2" color="#FFFFFF">
          <FORM ACTION="http://search.freefind.com/find.html" METHOD="GET"  target="_self">
<FONT size=1 face="arial,helvetica" >
<p align="center"><font face="Tahoma" size="2" color="#FFFFFF">View By:&nbsp;&nbsp;&nbsp;
          </font>
          </font><font face="Tahoma" size="2" color="#FFFFCC"><a href="article/name.htm">
<font color="#FFFFFF">Name</font></a></font><font face="Tahoma" size="2" color="#FFFFFF">&nbsp;
|&nbsp;
          <font face="Tahoma" size="2"><a href="article/date.htm"><font color="#FFFFFF">Date</font></a></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          Search:
<INPUT NAME="query" SIZE="15" style="font-family: Verdana; font-size: 8pt; color: #FFFFFF; background-color: #CF3500"><small>
<INPUT TYPE="submit" VALUE="Go!" style="font-family: Verdana; font-size: 8pt; color: #FFFFCC; background-color: #CF3500"></small></font></font></b></p>
<font face="Tahoma" size="2" color="#FFFFFF">
<INPUT TYPE="HIDDEN" NAME="id" VALUE="81526727">
<INPUT TYPE="HIDDEN" NAME="pageid" VALUE="r">
<INPUT TYPE="HIDDEN" NAME="mode" VALUE="ALL">
<INPUT type="HIDDEN" name="n" value="0">
          </font></td>
     </tr>
     <tr>
          <td valign="top" height="519">
          <!-- MSCellType="ContentBody" -->
          <table cellpadding="0" cellspacing="0" border="0" id="table12" width="100%" height="100%">
     <!-- MSCellFormattingTableID="1" -->
     <tr>
          <td valign="top" height="100%" width="100%">
          <!-- MSCellFormattingType="content" -->
          <div style="border-left: 4px solid #CF3500; border-right: 4px solid #CF3500; border-bottom: 4px solid #CF3500; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
               <b><font face="Tahoma">Search Results:<br>
               ::content::</font></b><form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='http://www.futuretechnologiesinc.com/_derived/nortbots.htm';return false;" webbot-onSubmit>
                    <!--webbot bot="SaveResults" U-File="_private/comments.htm" S-Format="HTML/BR" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Builtin-Fields="Date Time" startspan U-Confirmation-Url="answers_submit.htm" S-Email-Format="TEXT/PRE" S-Email-Address="yardgames@hotpop.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Future Technologies form" S-Date-Format="%m/%d/%Y" S-Time-Format="%I:%M:%S %p" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
                    <input type="hidden" name="fti_form" value="get answers (question, comment, suggestion)">
               </form>
          </div>
          </td>
     </tr>
          </table>
          </td>
          </tr>
     <tr>
          <td height="19" width="584" bordercolor="#FFFFCC" bgcolor="#FFFFCC">
          </td>
     </tr>
</table>

     </body>

</html>
0
 
yardgamesAuthor Commented:
Thanks for your fast reply, but that didn't work.

The other thing I do have is shared border code, as I'm using shared borders in FP if that makes a difference at all.

Bottom:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Shared Bottom Border</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="none">
<meta name="Microsoft Border" content="none">
</head>

<body bgcolor="#CF3500">

<p align="left"><b><font face="Verdana" size="1" color="#FFFFCC">Copyright</font></b><font face="Verdana" size="1" color="#FFFFCC"><b>
2005 Future Technologies, Inc.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</b><a href="http://www.futuretechnologiesinc.com/privacy.htm">
<font color="#FFFFCC">Privacy Policy</font></a>&nbsp; |&nbsp;
<a href="http://www.futuretechnologiesinc.com/contact.htm">
<font color="#FFFFCC">Contact Us</font></a>&nbsp; |&nbsp;
<a href="http://www.futuretechnologiesinc.com/client.htm"><font color="#FFFFCC">
Existing Clients</font></a></font></p>

</body>

</html>


Left:

<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Shared Left Border</title><meta name="Microsoft Theme" content="none">
</head><body bgcolor="#CF3500">
<p>
<!--webbot bot="Navigation" s-type="sequence" s-orientation="vertical" s-rendering="graphics" s-theme="journal 0100" b-include-home="TRUE" b-include-up="FALSE" u-page="sid:1016" --></p>

</body></html>
0
 
benwiggyCommented:
Sorry, I don't quite understand the question/problem...
0
 
jericotolentinoCommented:
I don't know where your file was located but here's a shortcut to writing all that code down.

Hmm... benwiggy's code should've worked...

Anyway...

So, we have your domain which is www.futuretechnologiesinc.com and probably some folders. Your index.htm file is at the top.

Say you have three folders with two subfolders each. If you are at index.htm and you want to go to subfolder 1 inside folder2, your link would look something like this.

<a href="folder1/subfolder2/file.html">Go to file</a>

So click there and your address bar says http://www.futuretechnologiesinc.com/folder1/subfolder2/file.html

If you want now to go to subfolder1 of folder 3, your link would look like this:

<a href="/folder3/subfolder1/file.html">Go to other file</a>

Take note of where the slashes are placed. If they're before the location of the file, you go back to the site root.

For more info, visit this site: http://www.extropia.com/tutorials/web_design/relative_absolute_links.html
0
 
yardgamesAuthor Commented:
Thanks for your help, and my apologies for the slow reply.

I was able to use the code bewiggy suggested, coupled with the advice from jeri to make everything work.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now