Jump to content

Template Issues - half the page is blank


Stainystain

Recommended Posts

Hey guys,

 

Anybody have a clue why when using a template (be it with content in the editable region or not) everything above the editable region comes out blank in preview and when i load it onto the site to test it.

 

The code is taken from the current site which is working fine (do not use a template) - it's just the pages are multiplying quite fast now so want to be able to edit them all at once rather than go through each one individually.

 

Code pasted below, many thanks!!

Stain

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Day Cruises - The Friendship Rose Caribbean Schooner - Day Tours, Private Charters, Weddings, Events - Bequia, Saint Vincent and the Grenadines</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="meta" -->
<meta name="Keywords" content="Friendship Rose, Caribbean, Schooner, Bequia, St. Vincent, Grenadines, Day Tours, Weddings, Events, Private Charters, Mustique, Tobago Cays, Tobago, Mayreau, Sail, Sailing, Ship, Boat, Day Cruises" />
<meta name="Description" content="Day Cruises - The Friendship Rose Caribbean Schooner - Offering Day Tours, Private Charters, Weddings and Events throughout Bequia, Saint Vincent and the Grenadines.  Sail for the day in Classic Island Style...
" />
<!-- InstanceEndEditable -->
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- Google Tracking -->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5795962-3']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="tester.css" rel="stylesheet" type="text/css" />
</head>

<body onload="MM_preloadImages('Images/RoselinkRoll.jpg','Images/GIVRoll.jpg','Images/RealRoll.jpg','Images/WeddingsRoll.jpg','Images/SRERoll.jpg')">

<div id="ContainerMain">

<a href="http://www.friendshiprose.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FR','','Images/RoselinkRoll.jpg',1)"><img src="Images/Roselink.jpg" alt="Friendship Rose Caribbean Schooner" name="FR" width="160" height="97" border="0" class="TopNav" /></a>

<a href="http://www.grenadinevillas.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('GIV','','Images/GIVRoll.jpg',1)"><img src="Images/GIV.jpg" alt="Grenadine Island Villa Rentals" name="GIV" width="160" height="97" border="0" class="TopNav" /></a>

<a href="http://www.grenadineproperty.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('RE','','Images/RealRoll.jpg',1)"><img src="Images/Real.jpg" alt="Grenadines Land & Villa Sales" name="RE" width="160" height="97" border="0" class="TopNav" /></a>

<a href="http://www.grenadineweddings.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('WED','','Images/WeddingsRoll.jpg',1)"><img src="Images/Weddings.jpg" alt="Grenadines Weddings & Events" name="WED" width="160" height="97" border="0" class="TopNav" /></a>

<a href="http://www.sailrelaxexplore.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('SRE','','Images/SRERoll.jpg',1)"><img src="Images/SRE.jpg" alt="Sail Relax Explore the Grenadines" name="SRE" width="160" height="97" border="0" class="TopNav" /></a>

<img src="Images/collection_large.jpg" width="160" height="30" alt="Grenadines Collection" id="Collection"/> 

<img src="Images/Friendship_Rose_Header.jpg" width="880" height="175" alt="Friendship Rose Caribbean Schooner" id="Header" />


<div id="LeftNav"> <a href="http://www.friendshiprose.com/contact.html"><img src="/Images/Day_Cruises.jpg" width="160" height="143" alt="Contact Us" id="Contact"/></a>
<p> </p>
<p> <a href="http://www.friendshiprose.com/cruises.html">Cruises</a></p>
<p> <a href="http://www.friendshiprose.com/experience.html">The Experience</a></p>
<p> <a href="http://www.friendshiprose.com/menu.html">Menu</a></p>
<p> <a href="http://www.friendshiprose.com/locations.html">Locations</a></p>
<p> <a href="http://www.friendshiprose.com/private_cruises.html">Private Cruises</a></p>
<p> <a href="http://www.friendshiprose.com/weddings.html">Weddings</a></p>
<p> <a href="http://www.friendshiprose.com/gallery.html">Image Gallery</a></p>
<p> <a href="http://www.friendshiprose.com/sailing_calendar.html">Sailing Calendar</a></p>
<p> <a href="http://www.friendshiprose.com/guestbook.html">Guestbook</a></p>
<p> <a href="http://www.friendshiprose.com/contact.html">Contact Us</a></p>
</div>

<div id="maincontent"><!-- InstanceBeginEditable name="Main Content" --><!-- InstanceEndEditable -->

</div>
<div id="bottomcon">
<div id="Mail_FB">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.friendshiprose.com&layout=button_count&show_faces=false&width=160&action=like&font=verdana&colorscheme=light&height=46" scrolling="no" frameborder="0" style="border:#999" overflow:hidden; width:160px; height:46px;" allowTransparency="true"></iframe>
<img src="Images/Mailing_List2.jpg" width="160" height="46" alt="Twitter Follow" id="fb_like" />   
   
</div>

<div id="SocialButtons">
  <a href="http://www.facebook.com/home.php?ref=home#/group.php?gid=183257088849&ref=ts"><img src="Images/join_our_facebook_group.jpg" width="160" height="46" style="border:0" alt="Facebook Group"/></a>
  <img src="Images/twitter_logo.jpg" width="160" height="46" alt="Twitter Follow" id="Twit" />
</div>
  
<img src="Images/Footer1.jpg" width="160" height="97" alt="Friendship Rose Rigging" class="FooterImgs"/>
<img src="Images/Footer2.jpg" width="160" height="97" alt="Friendship Rose Hammock" class="FooterImgs"/>
<img src="Images/Footer3.jpg" width="160" height="97" alt="Friendship Rose Helm" class="FooterImgs"/>
<img src="Images/Footer4.jpg" width="160" height="97" alt="Friendship Rose Meal" class="FooterImgs"/>

<div id="ContainerBot" align="left">
  <h1 class="H1Text">The Friendship Rose Caribbean Schooner </h1>
  
<h2 class="H2TextGap">Day Tours & Private Charters Through the Grenadines</h2>

<h3 class="StandTextGap">Bequia, St. Vincent & the Grenadines, West Indies</h3>

<p class="StandText">E-mail:<a href="mailto:friendshiprose@mac.com">friendshiprose@mac.com  </a> </p>
<p class="StandText">Tel BEQUIA: +1 (784) 495 0886/9      +1 (784) 457 3888      +1 (784) 457 3739   UK FREEPHONE 0800 0484814
</p>
</div>

</div>
</div>
</body>
<!-- InstanceEnd --></html>

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.