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 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question banner not showing up??

    I have a problem... I did a banner exchange with linkbuddies for a site I was working on for someone else and the banner shows up on the index page but not on any other pages.

    I copied the code from the original website and saved it on my own computer as an html file, ran it in my html editor and viewed it in IE and the banner shows.

    Why is the banner not showing on the other pages when I go to the website but shows when I copy the source code from the other pages and view it locally??

    I am stumped so any help would be appreciated.

    Terri (d3st1net1cs)

  • #2
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Did you upload the banner?

    Besides that, not sure we can really help w/o code/links...

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #3
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    All I did was copy and paste the code from the banner exchange website to my index.html and then the guy who owns the site pasted the code to his other pages.

    When i went to his site, I viewed source code, copied it, pasted it into notepad and saved it as about.html and it seems to work but ONLY after I copy it and view it from my side NOT from the original website even though it has the same code I do.

    Confusing yea?

    Terri

  • #4
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    yeah.

    Well, all I can say without seeing any code or links is make sure that the path to the banner is coded correctly..

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #5
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is the link to the site....

    http://www.infomunkee.co.uk

    Here is my about.html which I copied from his site...

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    
    <link rel="stylesheet" href="styles/pagestyle.css"/ type="text/css">
    <link rel="alternate" type="application/rss+xml" title="ROR" href="ror.xml" />
    
    <META name="description" content="Infomunkee - A site dedicated to sharing information.  We write information and share or buy it from information publishers with rights to re-print, re-produce 
    and share.">
    <META NAME="keywords" CONTENT="information, blog,  web development, promotion, online,  computers, publishing, finance, marketing, legal, lifestyle, health, family, parenting, kids, food, 
    drink, self help">
    <META name="distribution" content="Global">
    <META name="copyright" content=" 2006 infomunkee.com. All Rights Reserved. Reproduction without permission prohibited">
    <META name="author" content="Infomunkee">
    <META name="robots" content="All">
    <META name="rating" content="General">
    <META name="revisit-after" content="45 days">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="reply-to" content="theteam@infomunkee.co.uk">
    <META name="resource-type" content="document">
    
    <title>Infomunkee - Sharing Knowledge, Experiences and Information with the World</title>
    
    <script language=javascript>
    <!--
    function DateStamp() {
    var d = new Array(
    "Sunday",
    "Monday",
    "Tuesday",
    "Wednesday",
    "Thursday",
    "Friday",
    "Saturday"
    );
    var m = new Array(
    "January",
    "February",
    "March",
    "April",
    "May",
    "June",
    "July",
    "August",
    "September",
    "October",
    "November",
    "December"
    );
    var today = new Date();
    var day = today.getDate();
    var year = today.getYear();
    if (year < 2000) year += 1900; 
    document.write(d[today.getDay()]+", "+m[today.getMonth()]+" "+day+", " + year);
    //return d[today.getDay()]+", "+m[today.getMonth()]+" "+day+", " + year;
    }
    // -->
    </script>
    
    <center><script language="javascript" type="text/javascript">
        document.write("<a href='http://banners.linkbuddies.com/click.php?id=282758'><img src='http://banners.linkbuddies.com/image.php?id=282758&ref=" + document.referrer + "' width='468' 
    height='60' alt='Click Here' border='0' /></a><br /><a href='http://www.linkbuddies.com/?ref=162745'><img src='http://www.linkbuddies.com/lb/img/bottom468x14.gif' alt='Click here for LinkBuddies' 
    border='0' /></a>");
    </script>
    <noscript>
    <a href="http://banners.linkbuddies.com/click.php?id=282758"><img src="http://banners.linkbuddies.com/image.php?id=282758" width='468' height='60' alt="Click Here" border='0' /></a><br /><a href="http://www.linkbuddies.com/?ref=162745"><img src="http://www.linkbuddies.com/lb/img/bottom468x14.gif" alt="Click here for LinkBuddies" border='0' /></a>
    </noscript></center>
    
    <script type="text/javascript" language="javascript">
    var sc_project=1890664; 
    var sc_invisible=1; 
    var sc_partition=17; 
    var sc_security="32daf0b3"; 
    </script>
    
    <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js">
    </script>
    <noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c18.statcounter.com/counter.php?sc_project=1890664&java=0&security=32daf0b3&invisible=1" alt="counter 
    stats" border="0"></a>
    </noscript>
    
    </HEAD>
    
    <BODY bgcolor="#FFFFFF">
    
    <!--- Start Top of the page, logo or banner section -->
    <!--- -->
    
    <TABLE border=0 cellPadding=0 cellSpacing=0 align=center>
    	<tr>
    		<td align=center>
    		
    <table width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="white">
    	<tr>
    		<td align=center width=760>
    		
    <TABLE border=0 cellPadding=0 cellSpacing=0 width=760>
    	<tr valign=bottom>
    	</tr>
    	<tr>
    		<td align=left valign=bottom><a href="index.html"><img src="photos/infomunkee1.jpg" border="0"></a>
    		</td>
    						
    <!--- -->
    <!--- End Top of the page, logo or banner section -->
    
    <!--- Start Date display -->
    <!--- -->
    
    <td align=right valign=bottom class="date"><br><script language="JavaScript">DateStamp();</script>&nbsp;&nbsp;
    		</td>
    	</tr>
    	
    <!--- -->
    <!--- End Date display -->
    
    <!--- Start Top links bar -->
    <!--- -->
    
    	<tr>
    	
    		<td class="masthead2" colspan=5><a class="top" href="index.html" title="Home">Home</a>&nbsp;&nbsp;&nbsp;<a class="top" href="about.html" 
    title="About">About</a>&nbsp;&nbsp;&nbsp;<a class="top" href="blogs.html" title="Blogs">Blogs</a>&nbsp;&nbsp;&nbsp;<a class="top" href="mailto:info@infomunkee.com">e-Mail</a>
    		
    
    		</td>
    	</tr>
    </TABLE>
    		</TD>
    	</TR>
    </TABLE>
    
    <!--- -->
    <!--- End Top links bar -->
    
    <!--- Start Left nav bar -->
    <!--- -->
    
    <table width=760 border=0 cellspacing=0 cellpadding=1 align=center bgcolor="#000000">
    	<TR>
    		<TD>
    <table border=0 cellpadding=0 cellspacing=0 width=758 bgcolor="white">
    	<tr valign="top">
    
    <!--- left nav panel -->
    
    		<td width=165 valign=top bgcolor="#FFFFFF">
    		
    <table width=165 cellspacing=0 cellpadding=0 border=0 class="leftnavbar">
    	<tr>
    		<td>
    <table width="100%" cellspacing="0" cellpadding="2" border="0">
    	<tr>
    		<td class="navheadleft">&nbsp;Site Navigation
    		</td>
    	</tr>
    </table>
    		</td>
    	</tr>
    	<tr>
    		<td>
    <table border=0 cellpadding=5 cellspacing=0 width="100%">
    	<tr>
    		<td bgcolor="#99FF00">
    <u><b>Main</b></u><br>
    <br>
    <a class="navleft" href="index.html"><li>Home</a><br>
    <a class="navleft" href="about.html"><li>About</a>
    <a class="navleft" href="blogs.html"><li>Blogs</a><br>
    <a class="navleft" href="mailto:info@infomunkee.com"><li>e-Mail us</li></a><br>
    <br>
    
    <u><b>Computers</b></u><br>
    <br>
    <a class="navleft" href="Web_Development.html"><li>Web Development</a><br>
    <a class="navleft" href="Site_Promotion.html"><li>Site Promotion</a><br>
    <a class="navleft" href="Online_Business.html"><li>Online Business</a><br>
    <a class="navleft" href="Computers_and_the_internet.html"><li>Computers / Web</a><br>
    <a class="navleft" href="Writing.html"><li>Writing / Publishing</li></a><br>
    <br>
    
    <u><b>Business</b></u><br>
    <br>
    <a class="navleft" href="business_and_finance.html"><li>Business / Finance</a><br>
    <a class="navleft" href="Marketting.html"><li>Marketing</a><br>
    <a class="navleft" href="Legal_Matters.html"><li>Legal Matters</a></li><br>
    <br>
    
    <u><b>Lifestyle</b></u><br>
    <br>
    <a class="navleft" href="health.html"><li>Health</a><br>
    <a class="navleft" href="family.html"><li>Family</a><br>
    <a class="navleft" href="Parenting.html"><li>Parenting</a><br>
    <a class="navleft" href="Kids_and_Teens.html"><li>Kids / Teenagers</a><br>
    <a class="navleft" href="food_and_drink.html"><li>Food & Drink</a><br>
    <a class="navleft" href="Self_Improvement_and_Motivation.html"><li>Self Help</a><br>
    <a class="navleft" href="Women.html"><li>Women</a><br>
    <a class="navleft" href="Recreation_and_Sports.html"><li>Recreation / Sports</a><br>
    <a class="navleft" href="Travel_and_Leisure.html"><li>Travel / Leisure</a><br>
    <a class="navleft" href="Automotive.html"><li>Automotive<br>
    <a class="navleft" href="Home_improvement.html"><li>Home Improvement</li></a><br>
    <br>
    
    <u><b>We recommend</b></u><br>
    <br>
    <a class="navleft" href="Chocodip.html"><li>Chocodip.co.uk</li></a><br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <center><a href="http://www.submitexpress.com/"><img SRC="http://www.submitexpress.com/submitexpress.gif" BORDER=0 height=31 width=88></a><br><br><a 
    href="http://www.submitexpress.com/">Search Engine Optimization and Free Submission</a>
    </center>
    <br>
    <br>
    <center><a title="Add URL to Google and Yahoo search" href="http://websitesubmit.hypermart.net"><img src="http://websitesubmit.hypermart.net/b.gif" alt="free website submission search 
    engine seo optimization" border=0 height=31 width=88></a>
    </center>
    <br>
    <br>
    <center><a href="http://www.infomunkee.co.uk"><img src= "photos/monkey2-2.gif" border=0></a>
    </center>
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    		</td>
    	</tr>
    	<tr>
    		<td>
    		</td>
    	</tr>
    </table>
    		</td>
    	</tr>
    
    <!--- -->
    <!--- End Left nav bar -->
    
    <!--- START This is a column which has no use so far, it sits between the left nav bar and the main body text, I will eventually use this as the right hand side column -->
    <!--- -->
    
    	<tr>
    		<td>
    <table border=0 cellpadding=5 cellspacing=0 width="100%">
    	<tr>
    		<td bgcolor="#FFFFFF">
    		</td>
    	</tr>
    </table>
    		</td>
    	</tr>
    </TABLE>
    		</td>
    		<TD bgColor="#000000" width=1>
    		</td>
    
    <!--- END This is a column which has no use so far, it sits between the left nav bar and the main body text, I will eventually use this as the right hand side column -->
    
    <!--- START This draws out the table for the main body text -->
    
    		<td valign=top>
    <table width="100%" border=0 cellpadding=4 cellspacing=0>
    	<tr>
    		<td valign=top>
    
    <!--- Start main text section -->
    <!--- -->
    <!--- -->
    <!--- COPY UP FROM HERE -->
    <!--- -->
    
    
    <p>Hi, </p>
    
    <p>Welcome to the about section of <a class="bodylinks" href="index.html"><b>infomunkee.com</b></a>. </p>
    
    <p>This is a site run by a collection of people with varying skill sets and currently, working either for themselves or an employer in a variety of industry sectors.  The contributors are solely working on this site in their spare time.</p>
    
    <p>The whole point of <a class="bodylinks" href="index.html"><b>infomunkee.com</b></a> is to share information with the rest of the world. </p> 
    
    <p>We are aware that this is no new thing  and there must be a fair few sites about sharing information out there.</p>
    
    <p>The information we publish will either be - 
    
    <p>- written by one of our site contributors using first hand experience</p>
    <p>- written by a third party and bought by us with a view to publishing.  In these cases we always display the article as it was originally supplied to us, with no modifications and include the details of the writer</p>
    <p>- a product that is made up of a collection of resources, either public domain or with permission from the writer and sold or given away</p>
    
    <p>A portion of the information on this site, which is written by site contributors will be written from the angle of that contributor's expererience.</p>
    
    <p>We hope you find this information useful and are able to add a few strings to your bow,  enabling you to better your working life, due to any knowledge gained.</p>
    
    <p>Please feel free to us <a class=bodylinks href="mailto:info@infomunkee.com"><b>e-Mail us</b></a> with comments and suggestions with improvements. </p>
    
    <p>Best wishes </p>
    
    <p><a class=bodylinks href="mailto:info@infomunkee.com"><b>The Team</b></a></p>
    
    
    <!--- -->
    <!--- COPY DOWN FROM HERE -->
    <!--- -->
    
    		</td>
    	</tr>
    </table>	
    <table width="100%" cellspacing=5>
    	<tr>
    		<td vAlign=top>	
    		</td>
    	</tr>
    </table>
    
    <!--- END This draws out the table for the main body text -->
    <!--- -->
    <!--- End main text section -->
    
    <!--- Start Right nav bar -->
    <!--- -->
    
    		<td width="0" valign="top" bgcolor="#FFFFFF">
    <table width="0" cellspacing="0" cellpadding="0" class="leftnavbar" border="0">
    	<tr>
    		<td>
    <table width="100%" cellspacing="0" cellpadding="3" border="0">
    	<tr>
    		<td>
    		</td>
    	</tr>
    </table>
    		</td>
    	</tr>
    </TABLE>
    		</TD>
    	</tr>
    </table>
    		</td>
    	</tr>
    </tbody>
    </table>
    	</tr>
    		
    <!--- -->
    <!--- End Right nav bar -->
    
    <!--- Start Bottom links bar -->
    <!--- -->
    
    	<tr>
    		<td>
    <table width="100%" border=0 cellspacing=0 cellpadding=1 align=center bgcolor="#000000">
    	<TR>
    	</tr>
    	<tr>
    		<td class="masthead2" colspan=4><a class="top" href="index.html" title="Home">Home</a>&nbsp;&nbsp;&nbsp;<a class="top" href="about.html" title="About">About</a>&nbsp;&nbsp;&nbsp;<a class="top" href="blogs.html" title="Blogs">Blogs</a>&nbsp;&nbsp;&nbsp;<a class="top" href="mailto:info@infomunkee.com">e-Mail us</a><br>
    
    		</td>
    	</tr>
    </TABLE>
    		</TD>
    	</TR>
    </TABLE>
    <table width=760 border=0 cellspacing=0 cellpadding=1 align=center bgcolor="#000000">
    	<TR>
    		<TD>
    <table border=0 cellpadding=0 cellspacing=0 width=758 bgcolor="white">
    	<tr valign="top">
    
    <!--- -->
    <!--- End Bottom links bar -->
    
    <!--- Start of StatCounter Code -->
    
    
    
    <!--- End of StatCounter Code -->
    
    <!--- Start Copywright footer -->
    <!--- -->
    
    		<TD>
    <table border=0 cellpadding=0 cellspacing=0 width="100%" height="50%" bgcolor="#FFFFFF">
    	<tr>
    		<td class="footer" align=center>
    <br>
    <span class="official">
    <font color=black> 2006 infomunkee.com. All Rights Reserved. Reproduction without permission prohibited.</font>
    </span>&nbsp;
    <br>&nbsp;
    		</td>
    	</tr>
    </tbody>
    </table>
    		</td>
    	</tr>
    </tbody>
    </table>
    		</td>
    	</tr>
    </tbody>
    </table>
    		</td>
    	</tr>
    </table>
    
    </body>
    
    </html>
    
    <!--- -->
    <!--- Start Copywright footer -->

    Don't see any reason why it isnt working and the linkbuddies site just asks for the url to the site which I posted as infomunkee.co.uk and it works fine on his index page.

    Terri

  • #6
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Banner works for me..

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    The reason its not working is because the code you posted has the document.write code on seperate lines. For it to work it needs to be all on one line or the code needs to be concatenated. You should be getting a javascript error.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #8
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did the banner work for you on the website or just witht he code I posted?

    Also, the document.write is on a seperate line because I have word wrap on and it still works though.

    Terri

  • #9
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Having the document.write on the second line for me at least gives me an unterminated string constast javascript error. This is the code directly from his site
    http://pr2006.freehostia.com/test.html

    Note: if you have adblock installed on Firefox the banner might be blocked.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #10
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Did the banner work for you on the website or just witht he code I posted?
    It worked, and continues to work, on the live site for me.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION


  •  

    Posting Permissions

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