Just a little coding help

Hi

I have a little bit of code I want to insert into the bottom of my website which will add an affiliate 'button' but can't get it to sit at the bottom of the page

www.lees-drivingschool.co.uk is the site

Any tips please!!

Lee
heleeAsked:
Who is Participating?
 
gamebitsConnect With a Mentor Commented:
I added your button to the footer.php page, this is the last code you posted plus the button added

</TD>
            <TD ROWSPAN=3><IMG SRC="images/artwork_04.jpg" WIDTH=43 HEIGHT=514></TD>
      </TR>
      <TR>
            <TD COLSPAN=7><IMG SRC="images/artwork_05.jpg" WIDTH=717 HEIGHT=58></TD>
      </TR>
      <TR>
            <TD COLSPAN=2 ALIGN=left VALIGN=top>
            <A HREF="home.php" onMouseOver="hiLite('home1','home2')" onMouseOut="hiLite('home1','home1')" target = "mainframe">
            <IMG SRC="images/home1.jpg" WIDTH=79 HEIGHT=24 border = "0" name = "home1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="tests.php" onMouseOver="hiLite('tests1','tests2')" onMouseOut="hiLite('tests1','tests1')" target = "mainframe">
            <IMG SRC="images/tests1.jpg" WIDTH=89 HEIGHT=24 border = "0" name = "tests1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="prices.php" onMouseOver="hiLite('prices1','prices2')" onMouseOut="hiLite('prices1','prices1')" target = "mainframe">
            <IMG SRC="images/prices1.jpg" WIDTH=98 HEIGHT=24 border = "0" name = "prices1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="courses.php" onMouseOver="hiLite('courses1','courses2')" onMouseOut="hiLite('courses1','courses1')" target = "mainframe">
            <IMG SRC="images/courses1.jpg" WIDTH=118 HEIGHT=24 border = "0" name = "courses1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="pass_plus.php" onMouseOver="hiLite('pass_plus1','pass_plus2')" onMouseOut="hiLite('pass_plus1','pass_plus1')" target = "mainframe">
            <IMG SRC="images/pass_plus1.jpg" WIDTH=133 HEIGHT=24 border = "0" name = "pass_plus1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="contact.php" onMouseOver="hiLite('contact1','contact2')" onMouseOut="hiLite('contact1','contact1')" target = "mainframe">
            <IMG SRC="images/contact1.jpg" WIDTH=111 HEIGHT=24 border = "0" name = "contact1"></a></TD>
            <TD><IMG SRC="images/artwork_12.jpg" WIDTH=99 HEIGHT=24></TD>
           

      </TR>
      <TR>
            <TD><IMG SRC="images/spacer.gif" WIDTH=10 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=69 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=89 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=98 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=118 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=133 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=111 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=99 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=43 HEIGHT=1></TD>
                       
      </TR>

<tr>
    <td colspan=8 align="center"><br><a href="http://www.jdoqocy.com/click-2843756-10464497" target="_blank" onmouseover="window.status='http://www.ecarinsurance.co.uk';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.lduhtrp.net/image-2843756-10464497" width="468" height="60" alt="car insurance from eCar" border="0"/></a>
</td>
</tr>
</TABLE>
</BODY>
</HTML>
0
 
gamebitsCommented:
Ok you are using a table based design and iframe where do you want the button to be exactly?
0
 
heleeAuthor Commented:
Thaks for the quick response.

I paid for the website I'm not a designer so please forgive my ignorance.

I want ti at the bottom Below the home tests buttons in the middle if possible

Lee
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
gamebitsCommented:
You just need to add 1 row on the table

<tr>
    <td colspan=8 align="center"><br>YOUR BUTTON HERE</td>
</tr>

This the portion of the page where the navigation bar is, you need to add the above lines just before the </table> tag at the bottom.

      <TR>
            <TD COLSPAN=2 ALIGN=left VALIGN=top>
            <A HREF="home.php" onMouseOver="hiLite('home1','home2')" onMouseOut="hiLite('home1','home1')" target = "mainframe">
            <IMG SRC="images/home1.jpg" WIDTH=79 HEIGHT=24 border = "0" name = "home1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="tests.php" onMouseOver="hiLite('tests1','tests2')" onMouseOut="hiLite('tests1','tests1')" target = "mainframe">
            <IMG SRC="images/tests1.jpg" WIDTH=89 HEIGHT=24 border = "0" name = "tests1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="prices.php" onMouseOver="hiLite('prices1','prices2')" onMouseOut="hiLite('prices1','prices1')" target = "mainframe">
            <IMG SRC="images/prices1.jpg" WIDTH=98 HEIGHT=24 border = "0" name = "prices1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="courses.php" onMouseOver="hiLite('courses1','courses2')" onMouseOut="hiLite('courses1','courses1')" target = "mainframe">
            <IMG SRC="images/courses1.jpg" WIDTH=118 HEIGHT=24 border = "0" name = "courses1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="pass_plus.php" onMouseOver="hiLite('pass_plus1','pass_plus2')" onMouseOut="hiLite('pass_plus1','pass_plus1')" target = "mainframe">
            <IMG SRC="images/pass_plus1.jpg" WIDTH=133 HEIGHT=24 border = "0" name = "pass_plus1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="contact.php" onMouseOver="hiLite('contact1','contact2')" onMouseOut="hiLite('contact1','contact1')" target = "mainframe">
            <IMG SRC="images/contact1.jpg" WIDTH=111 HEIGHT=24 border = "0" name = "contact1"></a></TD>
            <TD><IMG SRC="images/artwork_12.jpg" WIDTH=99 HEIGHT=24></TD>
      </TR>
      <TR>
            <TD><IMG SRC="images/spacer.gif" WIDTH=10 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=69 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=89 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=98 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=118 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=133 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=111 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=99 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=43 HEIGHT=1></TD>
      </TR>
</TABLE>
</BODY>
</HTML>
0
 
heleeAuthor Commented:
So I am a little confused sorry!!!

Do I add this code:

<a href="http://www.jdoqocy.com/click-2843756-10464497" target="_blank" onmouseover="window.status='http://www.ecarinsurance.co.uk';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.lduhtrp.net/image-2843756-10464497" width="468" height="60" alt="car insurance from eCar" border="0"/></a>

to:
<tr>
    <td colspan=8 align="center"><br> HERE</td>
</tr>
????

If thats correct where do I add this code to sorry!!!

Then where do I add the other bit of code I dont understand coding so I dont understand where the navigatioon code is
0
 
gamebitsCommented:
You must have a file named index.htm (or may be htm), can you post the content of this file? Because now I can only work from the source code of the page you gave the link for.
0
 
heleeAuthor Commented:
<?PHP
setcookie("accessed", "ok");
$page = $_GET['page'];
      if(!$page) {$page = "home.php";}
include("header.php");
?>
<iframe src = "<?PHP echo("$page"); ?>" width = "100%" height = "100%" name = "mainframe" hspace="0" vspace="0" SCROLLING=AUTO allowtransparency="true" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0>
</iframe>
<?PHP include("footer.php"); ?>

Is the code for index but my guess is you want footer??

0
 
heleeAuthor Commented:
sorry if this is a bot more than you expected!!!!

Lee
0
 
gamebitsCommented:
Ok as you can see the page is divided in 3 sections the header called by the function

include("header.php");

than the content which is displayed inside a frame

<iframe src = "<?PHP echo("$page"); ?>" width = "100%" height = "100%" name = "mainframe" hspace="0" vspace="0" SCROLLING=AUTO allowtransparency="true" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0>
</iframe>

and the footer called by the function

<?PHP include("footer.php"); ?>

I think the navigation bar (with the link home, test, etc.) is in the footer so that is where we should add your button.

Can you post the content of the file footer.php
0
 
heleeAuthor Commented:
</TD>
            <TD ROWSPAN=3><IMG SRC="images/artwork_04.jpg" WIDTH=43 HEIGHT=514></TD>
      </TR>
      <TR>
            <TD COLSPAN=7><IMG SRC="images/artwork_05.jpg" WIDTH=717 HEIGHT=58></TD>
      </TR>
      <TR>
            <TD COLSPAN=2 ALIGN=left VALIGN=top>
            <A HREF="home.php" onMouseOver="hiLite('home1','home2')" onMouseOut="hiLite('home1','home1')" target = "mainframe">
            <IMG SRC="images/home1.jpg" WIDTH=79 HEIGHT=24 border = "0" name = "home1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="tests.php" onMouseOver="hiLite('tests1','tests2')" onMouseOut="hiLite('tests1','tests1')" target = "mainframe">
            <IMG SRC="images/tests1.jpg" WIDTH=89 HEIGHT=24 border = "0" name = "tests1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="prices.php" onMouseOver="hiLite('prices1','prices2')" onMouseOut="hiLite('prices1','prices1')" target = "mainframe">
            <IMG SRC="images/prices1.jpg" WIDTH=98 HEIGHT=24 border = "0" name = "prices1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="courses.php" onMouseOver="hiLite('courses1','courses2')" onMouseOut="hiLite('courses1','courses1')" target = "mainframe">
            <IMG SRC="images/courses1.jpg" WIDTH=118 HEIGHT=24 border = "0" name = "courses1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="pass_plus.php" onMouseOver="hiLite('pass_plus1','pass_plus2')" onMouseOut="hiLite('pass_plus1','pass_plus1')" target = "mainframe">
            <IMG SRC="images/pass_plus1.jpg" WIDTH=133 HEIGHT=24 border = "0" name = "pass_plus1"></a></TD>
            <TD ALIGN=left VALIGN=top>
            <A HREF="contact.php" onMouseOver="hiLite('contact1','contact2')" onMouseOut="hiLite('contact1','contact1')" target = "mainframe">
            <IMG SRC="images/contact1.jpg" WIDTH=111 HEIGHT=24 border = "0" name = "contact1"></a></TD>
            <TD><IMG SRC="images/artwork_12.jpg" WIDTH=99 HEIGHT=24></TD>
            

      </TR>
      <TR>
            <TD><IMG SRC="images/spacer.gif" WIDTH=10 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=69 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=89 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=98 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=118 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=133 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=111 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=99 HEIGHT=1></TD>
            <TD><IMG SRC="images/spacer.gif" WIDTH=43 HEIGHT=1></TD>
                        
      </TR>
</TABLE>
</BODY>
</HTML>
0
 
heleeAuthor Commented:
Thanks very much everyone on this site is excellent and always helpful but you have been one of the most helpful

Thanks very much (If you're ever in the uk and want driving lessons!!!)

Lee
0
 
gamebitsCommented:
Thanks for the points and the grade.
0
 
heleeAuthor Commented:
No worries my pleasure

Lee
0
All Courses

From novice to tech pro — start learning today.