View Full Version : Image works, but won't show up on main page (using include)

07-13-2011, 05:18 AM
I am working on a site that I already have mostly done except for the fact that the banner doesn't work. Well, the slideshow that I used (CSS Photo Shuffler) works as you can see on this link: Header Banner (http://lilicove.biz.nf/header.html), but my problem is integrating it onto the main site (http://lilicove.biz.nf/) as the banner.

When I open it up in Dreamweaver and put in the include, when I don't have it in live view mode, I can see the banner there, so the banner is there, but when viewed in live view (or on the web), it does not show up where it should be and I've tried a few things but nothing has worked. You can view the code through the source, but I'll put the code of the main page where I placed the include as I know the include won't show up if you view the source, just the code itself from header.html within it.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Lilicove &raquo; Quality Smooth Fox Terriers since January 2011</title>
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="navigation.css" />


<!-- Begin Wrapper -->
<div id="wrapper">

<!-- Begin Header -->
<div id="header">

<!--#include FILE="header.html" -->

<!-- Begin Naviagtion -->
<div id="navigation">

<div class="mattblacktabs">
<li class="selected"><a href="#">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="champs.html">CH Boys</a></li>
<li><a href="champsg.html">CH Girls</a></li>
<li><a href="showing.html">Showing</a></li>
<li><a href="litters.html">Litters</a></li>
<li><a href="ads.html">Ads</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="links.html">Links</a></li>

<!-- End Naviagtion -->

<!-- End Header Goes Here -->

<!-- Begin Content -->
<div id="content">

<p class="header_text">Welcome to Lilicove Smooth Fox Terriers</p>

<p class="content_from_header">
At Lilicove I have been breeding Smooth Fox Terriers of the Cierra file in the Petz Kennel Club since January 2011. Although I am just entering my 7th month with the breed, Lilicove has had some great success, including 12 Champions, 10 Winners Circle wins among 9 winners including 2 Best in Show winners.
<br /><br />
Along with showing in conformation at PKC, I also ocassionally show at the Polish SHiR, complete each of my dogz' Petz Citizen title, and show some of my SFT in obedience at the PKC as well. Once retired, I hold Earth Dog Trials for my dogz for fun to allow them to do what their instincts allow them to do best. I believe in breeding versatile terriers that are successful in any venue.
<br /><br />
I am very proud of the success Lilicove Smooth Fox Terriers has had so far, and I hope you enjoy browsing this site! Please sign the <a href="guestbook.html">guestbook</a> on your way out to let me know you stopped by.

<div id="bragbox" class="head_text">

<p class="bragbox_content">

<p class="regular_text">
July 2-11, 2011 - Working on the site!

<p class="bragbox_content">
Show Brags

<p class="regular_text">


<div id="horizontal_bar"></div>


<!-- End Content -->

<div id="footer">
Copyright 2011 <a href="contact.html">Lilicove</a> | Images to original owners
&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;

<a href="http://lilicove.biz.nf">home </a>|
<a href="guestbook.html">guestbook </a>|
<a href="contact.html">e-mail</a>

<!-- Start of StatCounter Code -->
<div style="float:right; margin:5px 20px 0px 0px; width: 120px">
<script type="text/javascript">
var sc_project=7013664;
var sc_invisible=0;
var sc_security="1262b35d";

<script type="text/javascript"
class="statcounter"><a title="vBulletin tracker"
target="_blank"><img class="statcounter"
alt="vBulletin tracker" ></a></div></noscript>
<!-- End of StatCounter Code -->


<!-- End Wrapper -->


If anyone can help me with this problem, I'd appreciate it! I've been working on a java solution for this animated banner all day as I'd rather do it this way than use flash (in which then the navigation does not appear over the banner) or an animated gif (too big).


07-13-2011, 07:23 AM
php include() is the correct way to include something on the page

<?php include("banner.html"); ?>

07-13-2011, 11:41 AM
If you are using HTML SSI (server side includes), ensure your server supports same.

or you should do same with server side scripting (PHP or ASP).

visit http://webdesign.about.com/od/ssi/a/aa052002a.htm for details

Cheers :)

07-13-2011, 06:24 PM
Thank you both! I went to my host and realized that that was the problem and that it supports PHP so when I used the PHP include it worked like a charm :)

07-13-2011, 08:18 PM
Hi all..! I'm a seller CVV

Please contact me if you need: attacker_sellcvv@yahoo.com
YaHoo: attacker_sellcvv

I have CVV: US,UK,CA,AU,EU...
US: $3 per 1cvv (Visa + Master)
US: $7 per 1cvv (Amex + Discover)
UK: $7 per 1cvv (Visa + Master)
UK: $15 per 1cvv (Amex + Discover)
Ca: $7 per 1cvv (Visa + Master)
Au: $12 per 1cvv
EU: $25 per 1cvv


Only accept payment LR or WU
No Ripper, no spammer, no scammer

Contact me for good business: attacker_sellcvv@yahoo.com

YaHoo: attacker_sellcvv


ban please?