Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    May 2010
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts

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

    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, but my problem is integrating it onto the main site 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.


    Code:
    <!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">
    <head>
    <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" />
    </head>
    
    <body>
    
       <!-- Begin Wrapper -->
       <div id="wrapper">
       
             <!-- Begin Header -->
             <div id="header">
             
    
    <!--#include FILE="header.html" -->
             
             </div>
             <!-- Begin Naviagtion -->
    <div id="navigation">
    		 		 
                     <div class="mattblacktabs">
    <ul>
    <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>
      <ul>
        <li><a href="contact.html">Contact</a></li>
      </ul>
    </li>
    <li><a href="links.html">Links</a></li>
    </ul>
    </div>
    
    			   
    		 </div>
    		 <!-- 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.
             </p>
             
             <center>
             <div id="bragbox" class="head_text">
             Updates!
             
             <p class="bragbox_content">
             News
             </p>
             
             <p class="regular_text">
             July 2-11, 2011 - Working on the site!
             </p>
             
             <p class="bragbox_content">
             Show Brags
             </p>
             
             <p class="regular_text">
             Coming
             </p>
             
             </div>
             
             <div id="horizontal_bar"></div>
             
             </center>
    			   
    		 </div>
    		 <!-- End Content -->
             
                      <div id="footer">
                      <center>
             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>
    
    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
    class="statcounter"><a title="vBulletin tracker"
    href="http://statcounter.com/vbulletin/"
    target="_blank"><img class="statcounter"
    src="http://c.statcounter.com/7013664/0/1262b35d/0/"
    alt="vBulletin tracker" ></a></div></noscript>
    </div>
    <!-- End of StatCounter Code -->
             
                
             
             </center>
             </div>
             
    		 
       </div>
       <!-- End Wrapper -->
       
    </body>
    </html>
    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).

    Thanks!

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    php include() is the correct way to include something on the page
    Code:
    <?php include("banner.html"); ?>

  • Users who have thanked Sammy12 for this post:

    Airin (07-13-2011)

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    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

  • Users who have thanked vikram1vicky for this post:

    Airin (07-13-2011)

  • #4
    New to the CF scene
    Join Date
    May 2010
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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

  • #5
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    Quote Originally Posted by attackerlonely View Post
    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...
    Price:
    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

    ...ect...

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

    Contact me for good business: attacker_sellcvv@yahoo.com

    YaHoo: attacker_sellcvv

    Thanx
    ban please?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •