Make a editable repeating region

Having one heck of a time with this. Let me break it down.
I have a nav bar. On this nav bar, when you click on a link. It will  show the link(really a box) green. This calls for my  code...class="active" on the page that your now on.
The only problem with that. Is that its hell to make this a DW template.
I have my nav bar as a repeating region. So that in the future I may  change a link or redesign a button. But, this make my nav bar not  editable on new pages. I have to be able to edit the <a> tags. I  have to change them from...<a href="whatever"> to <a  href="whatever" class="active">
Here is my code so far. I have make the <a> tags editable, but  when i change the titles of the link from the master template, they will  not update
<div class="main-box">
<div class="left-top-corner">
<div class="inner"><!-- TemplateBeginRepeat name="MenuRepeat" -->
<nav> 
<ul> 
<li class="first"><!-- TemplateBeginEditable  name="Editlink1" --><a href="../index.html"  class="active"><span><span>Reviews</span></span></a><!--  TemplateEndEditable --></li> 
<li><!-- TemplateBeginEditable  name="Editlink2" --><a  href="../guides.html"><span><span>Guides</span></span></a><!--  TemplateEndEditable --></li> 
<li><!-- TemplateBeginEditable  name="Editlink3" --><a  href="../New_Updates.html"><span><span>News &amp;  Updates</span></span></a><!-- TemplateEndEditable  --></li> 
<li><!-- TemplateBeginEditable  name="EditLink4" --><a  href="#"><span><span>Downloads</span></span></a><!--  TemplateEndEditable --></li> 
<li><!-- TemplateBeginEditable  name="Editlink5" --><a  href="#"><span><span>Store</span></span></a><!--  TemplateEndEditable --></li> 
<li><!-- TemplateBeginEditable  name="Editlink6" --><a  href="#"><span><span>Forums</span></span></a><!--  TemplateEndEditable --></li> 
<li class="last"><!-- TemplateBeginEditable  name="Editlink7" --><a  href="#"><span><span>Soapbox</span></span></a><!--  TemplateEndEditable --></li> 
</ul> 
</nav> 
<!-- TemplateEndRepeat -->

I have a nav bar. On this nav bar, when you click on a link. It will  show the link(really a box) green. This calls for my  code...class="active" on the page that your now on.
This is a wrong approach to the problem, and one that results in the contortions that you are now going to trying to make it work!
Consider this alternative VERY simple approach, and one that is consistent with the notion that navigation elements should never be editable in a template environment -
<ul>
<li class="first"><a href="../index.html"  id="button1">Reviews</a></li> 
<li><a  href="../guides.html" id="button2">Guides</a></li> 
<li><a  href="../New_Updates.html" id="button3">News &amp;  Updates</a></li> 
</ul>
Note that each menu link has been given a unique ID attribute.  Now - in the editable region in the head of each child page, you have an embedded stylesheet -
<style type="text/css">
a#button1 { whatever style you want; }
</style>
This is in an editable region so it can be edited on each page, where you would just change the button # to correspond to that page.  Simple, effective, and easy.
By the way, there is no such tag as <nav>, so your code won't validate!

Similar Messages

  • In content editing repeating regions not working Safari 6.05 and Google Chrome v30.0.1599.66 mac? No

    In content editing repeating regions not working Safari 6.05 and Google Chrome v30.0.1599.66 mac?
    Marquees not showing, works perfectly fine on PC IE 9.
    Can edit text put cannot duplicate regions?
    Can anyone advise? Not good if the client worjs on Mac.

    Marquees the HTML tag? It's the most hated HTML tag out there, most browsers removed it because it was such a pain to see in 1996 scrolling images and scrolling everything

  • Nested templates - problems with inheriting editable/repeating regions

    I have made a template called 'basic', with 2 sections, 'maincontent' and 'sidecontent' then nested a template in it called 'home'. In 'home', I have made repeats of some regions (sidecontent) and edited them to make a section I want on all 'home' type pages. When I make  a new document from 'basic', it has all the same editable and repeating regions as 'basic'. But when I make a new document from 'home' there are no editable or repeating regions, either in 'sidecontent' which I edited or 'maincontent' which I didn't. I want to be able to edit 'maincontent' when I make a new document from 'home', to make repeating regions and edit them. Please can you advise me what to do?
    Thanks

    When I tried to attach the files it automatically zipped them again, so I have put the code above.
    Thanks,
    Rachel

  • How to make server behaviors repeat region vertical?

    I have done many "Server Behavior, Repeat Region" showing vertical list without any other setup, now I’m doing a new one and is showing horizontal which doesn't make any sense. Does anybody know why and how to fix this “bad behavior”?

    This is very simple page no external or internal css is for internal use only to retrieve data base information. I currently have to more from different sites working fine without any third party app or any extra coding effort.  here are codes.
    Thank you guys for your prompt response.
    <?php require_once('Connections/customers.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_customers, $customers);
    $query_Recordset1 = "SELECT * FROM customers";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $customers) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table width="158%" border="1">
      <tr>
      <th scope="col">ID</th>
        <th scope="col">Name</th>
        <th scope="col">Last Name</th>
        <th scope="col">Address</th>
        <th scope="col">City</th>
        <th scope="col">State</th>
        <th scope="col">Zip Code</th>
        <th scope="col">E-mail</th>
        <th scope="col">Phone</th>
        <th scope="col">Username</th>
        <th scope="col">Password</th>
        <th scope="col">Role</th>
      </tr>
      <tr>
        <?php do { ?>
          <td align="left"><?php echo $row_Recordset1['id']; ?></td>
          <td align="left"><?php echo $row_Recordset1['name']; ?></td>
          <td align="left"><?php echo $row_Recordset1['lname']; ?></td>
          <td align="left"><?php echo $row_Recordset1['address']; ?></td>
          <td align="left"><?php echo $row_Recordset1['city']; ?></td>
          <td align="left"><?php echo $row_Recordset1['state']; ?></td>
          <td align="left"><?php echo $row_Recordset1['zip']; ?></td>
          <td align="left"><?php echo $row_Recordset1['email']; ?></td>
          <td align="left"><?php echo $row_Recordset1['phone']; ?></td>
          <td align="left"><?php echo $row_Recordset1['username']; ?></td>
          <td align="left"><?php echo $row_Recordset1['password']; ?></td>
          <td align="left"><?php echo $row_Recordset1['role']; ?></td>
          <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
      </tr>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

  • Trouble inserting repeating region as right sidebar in template

    Hi,
    my website has a main section and a left sidebar. I want to add a right sidebar of the same size and colour as the left one.
    I've tried interesting an editable repeating region like the adobe help file Dreamweaver / Creating editable regions in templates says
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7ab7a.h tml#WScbb6b82af5544594822510a94ae8d65-7ab6a
    I  can't click the mouse on the top right hand side of the main body, i.e. can't place the cursor there to be able to insert the repeating region where I want to insert it.
    when i do insert the editable region, it places it at the bottom left of my template and I can't move it around to the top right side where I want it.
    website is
    http://www.addcoach4u.com
    using dreamweaver CS3 on a Mac
    Any ideas?

    Thanks Nancy,
    cool site. I like the other designs on his site here too
    http://matthewjamestaylor.com/blog/-website-layouts
    any url for how to import my old design into that new template? ie how to put the top two nav bars that would extend across the page on top of the 3 column layout & add a footer at the bottom of the 3 column layout that goes on the bottom of the 3 column layout?

  • Repeating Regions and Editable Tag Attributes?

    I want to produce a template that will let users create pages
    that list items as a thumbnail image and a short text description,
    one after the other.
    I can set this up as a repeating region, but I would also
    like to make only certain attributes of the image editable (src and
    alt for example). However, when I use editable tag attributes to do
    this, the image in each repeated region ends up with the same
    attribute values - when I add a new repeat region and then change
    the src tag through the Template Properties dialog,
    all of the images take on the same src value. Looking at the
    code, it looks like the editable instances in each repeated region
    get the same name, and so I can see that DW will get confused.
    Is this a limitation in DW? Is there a work around anyone can
    suggest?
    TIA

    So, you have some number of people who are editing the child
    pages and you
    want to constrain their editing choices? Are you using
    Contribute?
    Anyhow, I am not aware of any convenient way you can do
    something like this
    using DW's Template features.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "manicbananic" <[email protected]> wrote in
    message
    news:g7pimq$fvg$[email protected]..
    >I want to produce a template that will let users create
    pages that list
    >items
    > as a thumbnail image and a short text description, one
    after the other.
    >
    > I can set this up as a repeating region, but I would
    also like to make
    > only
    > certain attributes of the image editable (src and alt
    for example).
    > However,
    > when I use editable tag attributes to do this, the image
    in each repeated
    > region ends up with the same attribute values - when I
    add a new repeat
    > region
    > and then change the src tag through the Template
    Properties dialog,
    >
    all
    > of the images take on the same src value. Looking at the
    code, it looks
    > like
    > the editable instances in each repeated region get the
    same name, and so I
    > can
    > see that DW will get confused.
    >
    > Is this a limitation in DW? Is there a work around
    anyone can suggest?
    >
    > TIA
    >

  • I can't make an editable template in dreamweaver CS5 help!

    Here is my problem. I insert an editable region, and that works just fine. However, when trying to create a page from this template, I can't edit the CSS. Normally, I click the area of the CSS I want to edit, and go to modify>templates>make attribute editable. When I create a page, nothing is editable. I'm lost.
    Here is the code I'm using so far: (I have not added a 'make attribute editable' in this code yet)  Thanks!
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link rel="stylesheet" type="text/css" href="autumnwind12.css" />
    <link rel="icon" href="http://www.autumnwindstudios.com/leaficon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="http://www.autumnwindstudios.com/leaficon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="http://www.autumnwindstudios.com/bluelight/humbnailviewer.css" type="text/css" />
    <script src="http://www.autumnwindstudios.com/bluelight/thumbnailviewer.js" type="text/javascript">
    * Image Thumbnail Viewer Script- ? Dynamic Drive (www.dynamicdrive.com)
    * This notice must stay intact for legal use.
    * Visit http://www.dynamicdrive.com/ for full source code
    </script>
    <script type="text/javascript" src="expando.js">
    /* Expando Image Script ?2008 John Davenport Scheuer
       as first seen in http://www.dynamicdrive.com/forums/
       username: jscheuer1 - This Notice Must Remain for Legal Use
    </script>
    <meta name="keywords" content="T-shirts, graphics, digital art, graphic design, media" />
    <meta name="description" content=" " />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <style type="text/css"><!--
    #hintbox{ /*CSS for pop up hint box */
    position:absolute;
    top: 50px;
    background-color: black;
    width: 200px; /*Default width of hint.*/
    padding: 10px;
    border:1px solid silver;
    font:normal 11pt arial;
    color:white;
    border-right: 3px solid silver;
    border-bottom: 3px solid silver;
    line-height:18px;
    z-index:100;
    visibility: hidden;
    .hintanchor{ /*CSS for link that shows hint onmouseover*/
    font-weight: bold;
    color: navy;
    margin: 3px 8px;
    --></style>
    <script type="text/javascript">
    * Show Hint script- ? Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    var horizontal_offset="14px" //horizontal offset of hint box from anchor link
    /////No further editting needed
    var vertical_offset="0" //horizontal offset of hint box from anchor link. No need to change.
    var ie=document.all
    var ns6=document.getElementById&&!document.all
    function getposOffset(what, offsettype){
    var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
    var parentEl=what.offsetParent;
    while (parentEl!=null){
    totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
    parentEl=parentEl.offsetParent;
    return totaloffset;
    function iecompattest(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    function clearbrowseredge(obj, whichedge){
    var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1
    if (whichedge=="rightedge"){
    var windowedge=ie && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-30 : window.pageXOffset+window.innerWidth-40
    dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
    if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)
    else{
    var windowedge=ie && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
    dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
    if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
    edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
    return edgeoffset
    function showhint(menucontents, obj, e, tipwidth){
    if ((ie||ns6) && document.getElementById("hintbox")){
    dropmenuobj=document.getElementById("hintbox")
    dropmenuobj.innerHTML=menucontents
    dropmenuobj.style.left=dropmenuobj.style.top=-500
    if (tipwidth!=""){
    dropmenuobj.widthobj=dropmenuobj.style
    dropmenuobj.widthobj.width=tipwidth
    dropmenuobj.x=getposOffset(obj, "left")
    dropmenuobj.y=getposOffset(obj, "top")
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+"px"
    dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
    dropmenuobj.style.visibility="visible"
    obj.onmouseout=hidetip
    function hidetip(e){
    dropmenuobj.style.visibility="hidden"
    dropmenuobj.style.left="-500px"
    function createhintbox(){
    var divblock=document.createElement("div")
    divblock.setAttribute("id", "hintbox")
    document.body.appendChild(divblock)
    if (window.addEventListener)
    window.addEventListener("load", createhintbox, false)
    else if (window.attachEvent)
    window.attachEvent("onload", createhintbox)
    else if (document.getElementById)
    window.onload=createhintbox
    </script>
    <style type="text/css"><!--
    /* END MAIN*/
    body {background-color:#4E5869; center 0 no-repeat;}
    .bar {background-color:#ffd39b;
    width:980px;
    height:36px;
    margin-left:0 auto;
    margin-right:0 auto;
    #container {
    width: 980px; background: #fff; margin: 0 auto;
    border:1px solid gray;
    #banner{margin-left:auto 0px;margin-right:auto 0px;}
    .c01 {margin-top:10px;
    width:960px;
    font-family:arial,sans-serif;
    font-size:12pt;
    font-weight:normal;
    letter-spacing:0.85em;
    text-align:right;
    color:darkslategray;
    .c02 {margin-left:10px; margin-top:10px;
    width:225px;
    font-family:arial,sans-serif;
    font-size:10pt;
    font-weight:normal;
    letter-spacing:0.15em;
    text-align:right;
    color:darkslategray;
    #main {margin:0 auto;margin-top:40px;width:940px;
    padding-bottom:100px;font-family:arial,sans-serif;font-size:12pt;color:#5c5c5c;line-height :150%;
    border-top:1 px solid gray;}
    a {text-decoration:none;}
    #footer {margin-left:760px;
    width:980px;
    font-family:arial,sans-serif;
    font-size:10pt;
    font-weight:normal;
    color:darkslategray;
    a {text-decoration:none;}
    /* BEGIN MAIN */
    -->
    </style>
    </head>
    <body>
    <!--MENU-->
    <div class="menu">
    <ul>
    <li><a href="http://www.autumnwindstudios.com">Home</a></li>
        <li> <a href="#" id="current">Graphic Services</a>
          <ul>
        <li><a href="http://www.autumnwindstudios.com/design.html">Print Media</a></li>   
        <li><a href="http://www.autumnwindstudios.com/illustration.html">Illustration</a></li>
            <li><a href="http://www.autumnwindstudios.com/portraiture.html">Portraits</a></li>
        <li><a href="http://www.autumnwindstudios.com/cartoons.html">Cartooning</a></li>   
        <li><a href="http://www.autumnwindstudios.com/signs.html">Signs / Banners</a></li>   
          </ul>
        </li>
        <li><a href="#">Photo Enhancement</a>
          <ul>
        <li><a href="http://www.autumnwindstudios.com/enhancement.html" style="text-decoration:none;">Artistic Photo Effects</a></li>
          </ul>
        </li>
    <li><a href="#">Photo Colorizing</a>
          <ul>
        <li><a href="http://www.autumnwindstudios.com/colorization.html" style="text-decoration:none;">B/W to Color</a></li>
        <li><a href="http://www.autumnwindstudios.com/colorization.html" style="text-decoration:none;">Color Enhancement</a></li>
          </ul>
        </li>
    <li><a href="#">Photo Restoration</a>
          <ul>
        <li><a href="http://www.autumnwindstudios.com/restoration.html" style="text-decoration:none;">Photo Restoration</a></li>
        <li><a href="http://www.autumnwindstudios.com/retouch.html" style="text-decoration:none;">Photo Retouching</a></li>
    <li><a href="http://www.autumnwindstudios.com/wedding.html" style="text-decoration:none;">Wedding Retouching</a></li>   
          </ul>
        </li>
    <li><a href="#">Info</a>
          <ul>
        <li><a href="http://www.autumnwindstudios.com/info.pdf">Pricing &amp; Terms</a></li>
        <li><a href="http://www.autumnwindstudios.com/resume.pdf">Resume</a></li>
        <li><a href="http://www.autumnwindstudios.com/Autumn_Wind_Studios.pdf">Download Portfolio Sample</a></li>
          </ul>
        </li>
        <li> <a href="#">Contact</a> 
          <ul>
        <li><a href="http://www.autumnwindstudios.com/contact.html">Contact Form</a></li>
      </ul>
        </li>
      </ul>
    </div>
    <!--END MENU-->
    <!--MAIN CONTENT-->
    <div id="container">
    <div id="banner"><img src="http://www.autumnwindstudios.com/awsbanner1.jpg" width="980" alt="banner" /></div>
    <div class="c01"> <img src="media.jpg" alt="social media buttons" width="269" height="41" hspace="10" vspace="0" border="0" align="right" usemap="#Map" />
              <map name="Map" id="Map">
                <area shape="rect" coords="222,1,270,41" href="https://twitter.com/#!/Autumn_Studios" alt="twitter" />
                <area shape="rect" coords="175,1,223,43" href="https://www.facebook.com/pages/Autumn-Wind-Studios/273834332699643" alt="facebook" />
                <area shape="rect" coords="128,0,174,41" href="https://accounts.google.com/ServiceLogin?service=blogger&passive=1209600&continue=http://w ww.blogger.com/home&followup=http://www.blogger.com/home&ltmpl=start#s01" alt="blogger" />
                <area shape="rect" coords="45,0,126,40" href="http://laoscura.deviantart.com" alt="deviant art" />
                <area shape="rect" coords="1,1,46,42" href="http://www.linkedin.com/profile/edit?trk=hb_tab_pro_top" alt="linked in" />
              </map></div>
    <div class="c02"><a href="http://www.autumnwindstudios.com/main.html"><img border="0" src="jtheader.jpg" width="225" alt="autumn wind logo" /></a><br />
    Visit our original site.</div>
    <div id="main">
    </div>
    <!--FOOTER-->
    <div id="footer"><a href="#top"><img border="0" src="eraser_opt.jpg" width="200" alt="eraser" /></a><br /><br /></div>
    <!--END FOOTER-->
    </div>
    <!--END MAIN CONTENT-->
    </body>
    </html> 

    >Here is my problem
    Your problem HERE is that this is not the Dreamweaver forum... this forum talks about the forums themselves
    How to Select a Forum http://forums.adobe.com/docs/DOC-1015

  • Repeating regions - won't allow

    I have to make 7 rows of these and it would be a lot easier, and better to know the way to do it, to make one row a repeating region.
    When I select everything in the row and choose make a repeating region I get a dialog that says its already and editable region. I know repeating regions must have an editable wrapper so I'm a little confused.
    I made a second row with a wrapper and negative top margin. I've read making a negative margin isn't the best although a tutorial I read said it was ok. Still there must be a better way.
    http://classicsmiles.com/servicesNew.html

    i'm done, thank you
    2009/10/19 Dan POPA <[email protected]>
    >
    InContext Editing can edit only the elements having the ice:editable
    attribute set.
    Your page should contain something like this:
    >
    <!-- the following DIV is an ICE editable region -->
    <div ice:editable="*">
       some editable content here
    </div>
    >
    But there are no such elements in the
    http://www.nolimithockey.com/index.html page.
    >
    You say you can see the ICE regions in that page so I can only assume that
    you didn't upload the file on the FTP server and you are looking at your
    local version of the file, not the one from the server.
    >
    Another possibility is that you mistakenly treat Dreamweaver Template
    Editable Regions as InContext Editable Editable Regions.
    I  can see that there are DW editable regions in your page: the elements
    located between the <!-- InstanceBeginEditable name="Headline" > and <!
    InstanceEndEditable --> comments.
    >
    >
    You can create ICE editable regions by selecting in Dreamweaver an element
    and applying the Create Editable Region command under the DW menbu Insert ->
    InContext Editing menu, see the image:
    >
    http://forums.adobe.com/servlet/JiveServlet/download/2242-505554-2323206-23866/create_ice_ er.png
    >
    Please let me know if any of these were of any help to you,
    Regards,
    Dan Popa
    >

  • Nest repeating regions?

    I am new to working with DW templates but am trying to set up
    a site for a client who will edit in Contribute. I'd like to set
    these up using templates so the client won't inadvertently mess up
    the formatting.
    However, I'm running into a problem setting up a template for
    an Events listing. I need to have a repeatable region for each
    month of events she will add and then inside each month, a
    repeating region for each event within that month. So far, I have
    not been able to make this work.
    Is something like this possible? This doesn't seem that
    advanced or sophisticated so perhaps I am just missing something?
    Thanks for any advice.

    "choirellie" <[email protected]> wrote in
    message
    news:g0fg42$o0$[email protected]..
    > Maybe I wasn't explaining clearly what I mean...
    >
    > I haven't got the template set up yet because I can not
    figure out how to
    > have
    > a repeating region within another repeating region.
    >
    > The reason I want to specifically have it in a repeating
    region is to make
    > it
    > easier and less likely for bad formatting tags to creep
    in when the client
    > wants to add a new month and/or event within a month.
    >
    > The client ("they") is not doing anything yet - I have
    merely been testing
    > a
    > setup that I would like to use for a client. using
    pseudo code, this is
    > something like what I want to do:
    >
    > <repeatable region1>
    > non-editable formatting<editable
    region>Month<end editable region>
    > <repeatable region2>
    > non editable formatting<editable region>Event
    Details<end editable region>
    > <end repeatable region2><end repeatable
    region1>
    >
    > Does this make sense? Am I going about this the wrong
    way? I would be
    > very
    > comfortable doing all this with server side code and
    database (either
    > ColdFusion or PHP) but the template business is really
    throwing me.
    but that repeating region info would have to come from a
    database, which
    would need its own form page for updates/additions/deletions,
    etc... and you
    said you weren't going to use a database yet... so doesn't
    that boil down to
    "why do a repeating region" since they're going to manually
    enter it anyway?

  • Repeating Regions

    I have a strange question. I know this can be done in ASP
    dynamically, but I'm wondering if Dreamweaver has a way of doing it
    with the generated HTML.
    I am designing some sites with Contribute users in mind. I
    have a script that creates a ticker where each ticker fades in and
    out as the next is displayed. The content of the ticker is read
    from a regular HTML page, where each set of ticker content is in
    it's own DIV tag. The advantage is that I can create a blank web
    page based on my repeating region template. Then the the Contribute
    user can use the cool little [+ - ^ v] thing to modify the data of
    the ticker.
    Here is the bad part. Each DIV tag has to have a unique
    sequential ID. Like Div0, Div1, Div2... Is there any way I can make
    the ID attribute count as new regions are created?

    For grins, try changing this -
    <div id="content1" style="display:none">
    to this (IN THE TEMPLATE FILE) -
    <div id="content@@(_repeat._index)@@''
    style="display:none">
    (that should be a " character after the last @ sign - I had
    to use two '
    characters to keep the code from getting munged in my
    newsreader)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:g2m3cq$85h$[email protected]..
    >I need to see the template markup around the repeating
    region, please.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "ITLogic" <[email protected]> wrote in
    message
    > news:g2m25n$6se$[email protected]..
    >> Sure. I'm using DW CS3. Here is a copy of the
    repeating regions I'm
    >> trying to
    >> create. Notice each DIV has a sequential ID. I could
    go hand edit this,
    >> but I'm
    >> trying to automate it as much as possible. I am
    selling Contribute as a
    >> means
    >> for clients to edit their own content. Most don't
    know how to spell HTML
    >> much
    >> less know how to use it.
    >>
    >> <div id="content0" style="display:''">
    >>
    >> <!-- ADD TICKER's CONTENT #1
    HERE--------------------->
    >>
    >> <p>Hello</p>
    >>
    >> <!-- END CONTENT #1----------------->
    >>
    >> </div>
    >>
    >> <div id="content1" style="display:none">
    >>
    >> <!-- ADD TICKER's CONTENT #2
    HERE--------------------->
    >>
    >> <p>World</p>
    >>
    >> <!-- END CONTENT #2----------------->
    >>
    >> </div>
    >>
    >

  • Nesting Template w/ Repeating Regions

    I'm new to Dreamweaver so please bare with me. I am setting
    up a nested template. On my first level template I have some
    editable regions and some repeating regions that also have an
    editable region inside. On the second level template I created some
    more editable regions. I then create my actual html page from the
    second level template, and on that page the editable regions are
    ok, but the I don't have access to the repeating regions from the
    first level template - they are static. Is that working as
    expected? Is there any way I can make my repeating regions
    pass-though also?
    Thanks,
    Ken

    If you don't use nested templates, you never have to face
    such mind-bending
    issues. I have not yet found a scenario where I needed to use
    nested
    templates....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "kldjsflksjfkljs" <[email protected]> wrote
    in message
    news:g43ebd$hni$[email protected]..
    > Well, I figured out my problem. Part of the problem was
    me just being
    > stupid
    >
    . But in case anyone else ever wonders, the repeating
    > region
    > code cannot go in the master template. It must go in an
    editable region of
    > a
    > template that the page is based directly on. As far as I
    can tell there is
    > no
    > way to make it pass-through in the same way as you can
    with optional
    > regions.
    > Too bad, I think. But hopefully I can work with it for
    now.
    >

  • Nested Repeat Regions

    I've got a page where I need nested repeat regions using the
    same data.
    Basically, list people who have donated money in groupings by
    level:
    $100-$199
    Murray
    Nadia
    Thierry
    $200-$299
    Dan
    Dan
    Patty
    I'm looking at Tom Muck's "Simulated Nested Region" extension
    so I can do
    this using one Recordset (seems silly to set up a recordset
    for each
    donation level) but the only problem is it looks like the
    donation levels
    have to sort in order to work, and they don't.
    Anyone know of any other extensions or easy ways to make this
    work?
    Oh yeah.....MySQL and PHP.
    Thanks!
    Mad Dog

    SmellyPete wrote:
    > I've got a problem with nested templates in my site. I
    don't think it's an
    > error or bug as such, just a really strange limitation,
    that I hope there is a
    > work around for.
    >
    > I've setup a menubar with a repeating table region in a
    template. Then I laid
    > out the content (editable) regions in a nested template.
    The system works
    > really well in dreamweaver, if you want to add a menu
    item, you do so to the
    > parent template, and then it filters through out the
    site.
    >
    > The problem is that when I try to edit the pages as a
    client with contribute
    > (even as an administrator) it will not allow access to
    edit a .dwt file, even
    > if it has editable regions in it. This means I can't use
    contribute to add an
    > item to the menubar, because I need to be able to edit
    the nested template. I'm
    > sure it's possible, because a .dwt is just an .htm file
    with a different hat on.
    >
    > There must be some way of doing this. As soon as I read
    about the template
    > system I immediately thought this would be one of it's
    strengths, and would be
    > very surprised if the contribute user were limited to
    making changes on every
    > individual page.
    >
    > PS. I'm sure someone will suggest that I just move the
    repeating region into
    > the nested template. I could do this, but the whole
    point is that with one
    > change I want it to will filter down through the whole
    site. I thought maybe
    > SSI might be the answer, but would that just confuse
    contribute even more?
    >
    It seems to me the whole point of using Contribute is to keep
    users from
    changing basic site configurations such as the menu. Use
    Dreamweaver or
    one of the simple HTML editors around.

  • Usin Spry$$ in spry:repeat regions

    Hi,
    I'm not sure whats happening here but i'll try to be
    detailed.
    I am using spry to make a master page set.
    on a region i have
    quote:
    var observer = { onPostUpdate: function(notifier, data) { var
    r = Spry.$$(".changeStatusLink").addEventListener("click",
    changeStatus, true); } };
    where the element selector is
    quote:
    <td align="center" valign="middle" nowrap="nowrap"
    spry:setrow="ds1 {ds_rowID}">[EDIT] | [<a
    id="statusLink{ds_RowID}" class="changeStatusLink">CHANGE
    STATUS</a>] | [DELETE]</td>
    in a
    spry:repeat region
    Now on a "click" the selector is able to trigger the
    changeStatus function....but for some reason
    only the first row's {ds_RowID} of the
    spry:repeat is being captured when the function
    "changeStatus"
    is
    quote:
    function changeStatus(e){
    var row = ds1.getCurrentRow();
    var id = row['@id'];
    alert(id);
    is it the fact that because the "class" is being repeated it
    is not picking up the actual "element" that triggered the event? or
    is there something wrong with the ds1.getCurrentRow?Text

    the spry:repeat IS on the
    <tr>
    I don't have a URL
    but the code is...
    quote:
    <!--
    var ds1 = new Spry.Data.XMLDataSet("get_docs.php",
    "documents/doc",{sortOnLoad:"@section",sortOrderOnLoad:"ascending",useCache:false});
    ds1.setColumnType("@id", "number");
    function MySuccessCallback(req)
    var state = req.xhRequest.responseText;
    if(state == 1){
    ds1.setDataFromArray([req.userData]);
    }else if(state == 2){
    }else{
    function MyErrorCallback(req)
    // Throw an alert with the message that was
    // passed to us via the userData.
    alert("ERROR: " + req.userData.msg);
    function changeStatus(e){
    alert(e.target);
    var row = ds1.getCurrentRow();
    var id = row['@id'];
    alert(id);
    var req = Spry.Utils.loadURL("POST", "set_status.php", true,
    MySuccessCallback, { postData: "docid="+id+"&action=status",
    headers: { "Content-Type": "application/x-www-form-urlencoded;
    charset=UTF-8" }, errorCallback: MyErrorCallback, userData: row })
    var observer = { onPostUpdate: function(notifier, data) { var
    r = Spry.$$(".changeStatusLink").addEventListener("click",
    changeStatus, true); } };
    Spry.Data.Region.addObserver("documentList", observer);
    Spry.Utils.addEventListener(Spry.$$(".changeStatusLink"),"click",changeStatus,true);
    //-->

  • PHP help with nested repeat region

    Hopefully someone can help me out with this one.
    I basically have some SQL returning results of a search page,
    where you can search on various keywords by checking boxes, and it
    returns Employers that match those keywords :
    mysql_select_db($database_myDatabase, $myDatabase);
    if (isset($_GET['ckbox'])){
    // get profile keys
    $ckbox = array_keys($_GET['ckbox']);
    // sql string
    $sql = 'SELECT Employers.*, EmployerContacts.* FROM
    EmployerContacts
    INNER JOIN Employers ON EmployerContacts.EmployerID =
    Employers.EmployerID
    INNER JOIN EmployerProfiles ON EmployerProfiles.EmployerID =
    EmployerContacts.EmployerID
    WHERE EmployerProfiles.ProfileID IN(' . implode(',',
    $ckbox).')
    GROUP BY Employers.EmployerID
    ORDER BY Employers.EmployerID DESC';
    $rsContacts = mysql_query($sql) or die(mysql_error());
    $row_rsContacts = mysql_fetch_assoc($rsContacts);
    @$totalRows = mysql_num_rows($rsContacts);
    else
    echo 'You did not check any profiles.';
    ?>
    The results are drawing fields from the Employers table and
    EmployerContacts table, hopefully to look like :
    Employer1
    Employer1.Contact 1
    Employer1.Contact 2
    Employer1.Contact 3
    Employer2
    Employer2.Contact 1
    Employer2.Contact 2
    Employer2.Contact 3
    etc
    However, I can only seem to get it to repeat the Employers,
    and show just the first Contact for each, like this :
    Employer1
    Employer1.Contact 1
    Employer2
    Employer2.Contact 1
    etc
    So I guess I'm looking for help with looping through the
    Contacts for each Employer.
    The code currently looks like this :
    [code attached]
    Hope that makes sense.
    Many thanks.

    Iain71,
    The DW Repeat Region cannot be nested because both loops use
    the same
    variable names (e.g. $RepeatSelectionCounter_1).
    You will have to manually edit the code, and DW may not
    recognize it
    after you do, but you should be able to get it working fairly
    easily. I
    think that you just need to change the variable names in the
    inner loop
    so that they do not conflict with the similar names in the
    outer loop
    (e.g. rename $RepeatSelectionCounter_1 to
    $RepeatSelectionCounter_2).
    Does that make sense?
    HTH,
    Randy
    > I basically have some SQL returning results of a search
    page, where you can
    > search on various keywords by checking boxes, and it
    returns Employers that
    > match those keywords :

  • Help-help-help! IE7 footer & repeatable region container height

    Hi everyone, I am new here so sorry if I am repeating a topic discussed already.
    I have 2 problems from my template:
    1. My website looks fine in Safari, FF but IE7 footer floats upto a div halfway up the page then the content is behind it and continues to the bottom of the screen, am I missing a vital trick here (is it best to have a main container for all content and a footer container outside this main content?)
    2. If I put a div container around the 2 repeatable regions which are called ("main_content" and "sidebar") when I click the + on the editable region in the html page the outer container doesn't auto fit the height, how can I make outer container auto fit to how many repeatable regions I have clicked.
    Template source code is below and test web page with 5 repeatable regions is http://aegmotorhomes.co.uk/test.html
    I will take this time now to say thank you and to apologise for this dribble I may have wrote.
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    #container {
    background-image: url(../MOTORHOME%20IMAGES/Top%20Nav/topbanner.jpg);
    background-repeat: repeat-x;
    #TOPSPACE {
    height: 5px;
    width: 910px;
    margin-right: auto;
    margin-left: auto;
    #search_container {
    height: 35px;
    width: 970px;
    #search {
    float: right;
    width: 250px;
    height: 25px;
    #top_links {
    height: 20px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: #FFF;
    font-weight: lighter;
    font-style: normal;
    line-height: normal;
    #content {
    background-image: url(../MOTORHOME%20IMAGES/Top%20Nav/TOPIMAGE.jpg);
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    height: 266px;
    background-repeat: no-repeat;
    #navspacer {
    height: 22px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #navbar {
    height: 28px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #footer {
    background-image: url(../MOTORHOME%20IMAGES/Footer/Screen%20shot%202011-07-15%20at%2016.16.51.png);
    height: 350px;
    clear: both;
    position: relative;
    #nav_bootomspacer {
    height: 5px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #tab_spacer {
    float: left;
    height: 28px;
    width: 15px;
    #spacer2 {
    height: 115px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #main_content {
    float: left;
    height: auto;
    width: 715px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    color: #397A7A;
    background-color: #FFF;
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 5px;
    padding-left: 10px;
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    color: #387675;
    text-align: left;
    a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    a:link {
    color: #FFF;
    text-decoration: none;
    a:visited {
    color: #FFF;
    text-decoration: none;
    a:hover {
    color: #55B0B1;
    text-decoration: none;
    a:active {
    color: #FFF;
    text-decoration: none;
    font-size: small;
    #copyright_spacer {
    height: 10px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #Copyright {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: #FFF;
    height: 20px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #copy {
    height: 20px;
    width: 400px;
    float: left;
    #legal {
    width: 30px;
    float: right;
    height: 20px;
    #legal_space {
    float: right;
    width: 180px;
    height: 20px;
    #footer_details {
    height: 100px;
    width: 960px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 10px;
    #footer_links {
    height: 145px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    border-bottom-width: thin;
    border-bottom-style: dotted;
    border-bottom-color: #333;
    #footer_links table colour {
    color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    #bottom_link_spacer {
    height: 10px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #copy_left_spacer {
    float: left;
    height: 20px;
    width: 20px;
    #bottom_contact {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: #FFF;
    float: left;
    height: 110px;
    width: 200px;
    #logo_bottom {
    float: left;
    height: 110px;
    width: 175px;
    #footer_link_space {
    height: 30px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    #floatspace {
    clear: both;
    height: 20px;
    #clowe {
    float: right;
    height: 60px;
    width: 240px;
    #footlinks {
    float: left;
    height: 140px;
    width: 600px;
    #socialmedia {
    width: 210px;
    float: right;
    #socialspacer {
    float: right;
    height: 80px;
    width: 300px;
    #footlinks table medium {
    font-size: medium;
    #footlinks table tr td a {
    font-size: small;
    color: #CCC;
    #you_are_here {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: #666;
    width: 930px;
    margin-right: auto;
    margin-left: auto;
    #youspacer {
    height: 15px;
    width: 970px;
    margin-right: auto;
    margin-left: auto;
    .you_are_herecolour {
    color: #409EA0;
    font-weight: bold;
    .fillin {
    font-weight: bold;
    color: #387675;
    #sidebar {
    float: right;
    height: auto;
    width: 199px;
    padding-right: 20px;
    padding-left: 22px;
    background-image: url(../MOTORHOME%20IMAGES/Sidebar/sibar%20temp.jpg);
    background-repeat: no-repeat;
    #adverts {
    margin-bottom: 20px;
    </style>
    <script type="text/javascript">
    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_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_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>
    <link href="../MOTORHOME IMAGES/CSS/Footer Links.css" rel="stylesheet" type="text/css" />
    </head>
    <body onload="MM_preloadImages('../MOTORHOME IMAGES/Tabs/2swift.jpg','../MOTORHOME IMAGES/Tabs/2escape.jpg','../MOTORHOME IMAGES/Tabs/2autocruise.jpg','../MOTORHOME IMAGES/Tabs/2used.jpg','../MOTORHOME IMAGES/Tabs/2service.jpg')">
    <div id="container">
    <div id="headwrap">
      <div id="content">
        <div id="TOPSPACE"></div>
        <div id="search_container">
          <div id="search">
            <script type="text/javascript">
    // Google Internal Site Search script- By JavaScriptKit.com (http://www.javascriptkit.com)
    // For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
    // This notice must stay intact for use
    //Enter domain of site to search.
    var domainroot="aegmotorhomes.co.uk"
    function Gsitesearch(curobj){
    curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
            </script>
            <form action="http://www.google.com/search" method="get" onSubmit="Gsitesearch(this)">
              <input name="q" type="hidden" />
              <input name="qfront" type="text" style="width: 150px" />
              <input type="submit" value="Search" />
            </form>
          </div>
        </div>
        <div id="top_links">
          <div align="right"><a href="http://www.aegmotorhomes.co.uk/">Home</a> | <a href="http://aegmotorhomes.co.uk/news.html">News</a> | <a href="http://aegmotorhomes.co.uk/offers.html">Offers</a> |<a href="http://aegmotorhomes.co.uk/brochures.html"> Brochures</a> | <a href="http://aegmotorhomes.co.uk/insurance.html">Insurance Repairs </a>| <a href="http://aegmotorhomes.co.uk/conversions.html">Conversions</a> | <a href="http://aegmotorhomes.co.uk/refurbishment.html">Refurbishment</a> | <a href="http://aegmotorhomes.co.uk/contact.html">Contact us |</a></div>
        </div>
        <div id="navspacer"></div>
        <div id="navbar">
          <div id="tab_spacer"></div>
          <a href="http://aegmotorhomes.co.uk/swift.html"><img src="../MOTORHOME IMAGES/Tabs/1swift.jpg" alt="Swift Motorhomes" name="swift" width="107" height="26" border="0" id="swift" onmouseover="MM_swapImage('swift','','../MOTORHOME IMAGES/Tabs/2swift.jpg',1)" onmouseout="MM_swapImgRestore()" /></a><a href="http://aegmotorhomes.co.uk/escape.html"><img src="../MOTORHOME IMAGES/Tabs/1escape.jpg" alt="escape motorhomes" name="escape" width="107" height="26" border="0" id="escape" onmouseover="MM_swapImage('escape','','../MOTORHOME IMAGES/Tabs/2escape.jpg',1)" onmouseout="MM_swapImgRestore()" /></a><a href="http://aegmotorhomes.co.uk/autocruise.html"><img src="../MOTORHOME IMAGES/Tabs/1autocruise.jpg" alt="autocruise motorhomes" name="autocruise" width="107" height="26" border="0" id="autocruise" onmouseover="MM_swapImage('autocruise','','../MOTORHOME IMAGES/Tabs/2autocruise.jpg',1)" onmouseout="MM_swapImgRestore()" /></a><a href="http://aegmotorhomes.co.uk/used.html"><img src="../MOTORHOME IMAGES/Tabs/1used.jpg" alt="used motorhomes" name="used" width="107" height="26" border="0" id="used" onmouseover="MM_swapImage('used','','../MOTORHOME IMAGES/Tabs/2used.jpg',1)" onmouseout="MM_swapImgRestore()" /></a><a href="http://aegmotorhomes.co.uk/service.html"><img src="../MOTORHOME IMAGES/Tabs/1service.jpg" alt="motorhome service" name="service" width="107" height="26" border="0" id="service" onmouseover="MM_swapImage('service','','../MOTORHOME IMAGES/Tabs/2service.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></div>
        <div id="youspacer"></div>
        <div id="you_are_here"><!-- TemplateBeginEditable name="You are here" -->You are here:<span class="fillin"> Fill in</span><!-- TemplateEndEditable --></div>
        <div id="spacer2"></div>
    <div id="main_content">
    <div id="Newstitle">AEG Motorhomes News &amp; Updates
      <div id="newstitletext"> AEG Motorhomes keeps you informed of all our latest offers and discounts on  Motorhome and Campervan New &amp; Used Sales, Service, Parts and Accessories. We will post all Motorhome events, Shows, model release dates and articles here. If you have any Motorhome news or articles you wish us to publish, please  call  our team on  01562 535 039 or alternatively you can email [email protected].</div>
    </div>
    <!-- TemplateBeginRepeat name="article" --><!-- TemplateBeginEditable name="Edit Article" -->
    <div id="Content_area">
      <div id="Content_head">head</div>
      <div id="content_text">text</div>
    </div>
    <!-- TemplateEndEditable --><!-- TemplateEndRepeat --></div>
        <div id="sidebar"><!-- TemplateBeginRepeat name="sidebar1" --><!-- TemplateBeginEditable name="sidebaredit" -->
          <div id="adverts">
            <p> </p>
          </div>
        <!-- TemplateEndEditable --><!-- TemplateEndRepeat --></div>
        <div id="lowerspacer"></div>
      </div>
    </div>
    <div id="content_space_bottom"></div>
    <div id="floatspace"></div>
    <div id="footer">
      <div id="copyright_spacer"></div>
      <div id="Copyright">
        <div id="copy_left_spacer"></div>
        <div id="copy"> © 2011 All Electric GaragesMotorhomes. All Rights Reserved</div>
        <div id="legal"></div>
        <div id="legal_space"><a href="http://aegmotorhomes.co.uk/accessibility.html">Accessibility</a> | <a href="http://aegmotorhomes.co.uk/privacy.html">Privacy</a> | <a href="http://aegmotorhomes.co.uk/legal.html">Legal</a></div>
      </div>
      <div id="bottom_link_spacer"></div>
      <div id="footer_links">
        <div id="footlinks">
          <table width="100%" border="0" cellspacing="5">
            <tr>
              <td width="5"> </td>
              <td><a href="http://aegmotorhomes.co.uk/swift.html">Swift</a></td>
              <td><a href="http://aegmotorhomes.co.uk">Home</a></td>
              <td><a href="http://aegmotorhomes.co.uk/conversions.html">Conversions</a></td>
            </tr>
            <tr>
              <td width="5"> </td>
              <td><a href="http://aegmotorhomes.co.uk/escape.html">Escape</a></td>
              <td><a href="http://aegmotorhomes.co.uk/news.html">News</a></td>
              <td><a href="http://aegmotorhomes.co.uk/refurbishment.html">Refurbishment</a></td>
            </tr>
            <tr>
              <td width="5"> </td>
              <td><a href="http://aegmotorhomes.co.uk/autocruise.html">Autocruise</a></td>
              <td><a href="http://aegmotorhomes.co.uk/offers.html">Offers</a></td>
              <td><a href="http://aegmotorhomes.co.uk/service.html">Service</a></td>
            </tr>
            <tr>
              <td width="5"> </td>
              <td><a href="http://aegmotorhomes.co.uk/used.html">Used</a></td>
              <td><a href="http://aegmotorhomes.co.uk/brochures.html">Brochures</a></td>
              <td><a href="http://aegmotorhomes.co.uk/sitemap.html">Site map</a></td>
            </tr>
            <tr>
              <td width="5" height="20"> </td>
              <td><a href="http://aegmotorhomes.co.uk/trailertents.html">Trailer Tents</a></td>
              <td><a href="http://aegmotorhomes.co.uk/insurance.html">Insurance</a></td>
              <td><a href="http://aegmotorhomes.co.uk/contact.html">Contact us</a></td>
            </tr>
          </table>
        </div>
        <div id="socialspacer"></div>
        <div id="socialmedia"><a href="http://www.facebook.com/pages/All-Electric-Garages-Group/112905889042"><img src="../MOTORHOME IMAGES/Footer/facebook.jpg" alt="" name="facebook" width="40" height="40" border="0" id="facebook" /></a> <a href="http://twitter.com/#!/allelectricplc"><img src="../MOTORHOME IMAGES/Footer/twitter.jpg" alt="" name="twitter" width="40" height="40" border="0" id="twitter" /></a> <a href="http://www.youtube.com/user/allelectricgarages"><img src="../MOTORHOME IMAGES/Footer/youtube.jpg" alt="" name="youtube" width="40" height="40" border="0" id="youtube" /></a> <a href="http://allelectricgaragesplc.blogspot.com/"><img src="../MOTORHOME IMAGES/Footer/blogger.jpg" alt="" name="blogger" width="40" height="40" border="0" id="blogger" /></a></div>
      </div>
      <div id="footer_link_space"></div>
      <div id="footer_details">
        <div id="bottom_logos">
          <div id="logo_bottom"><a href="http://aegmotorhomes.co.uk"><img src="../MOTORHOME IMAGES/Footer/3logosfootersquarenew.jpg" alt="Aeg Motorhome Logos" name="motorhomelogos" width="144" height="94" border="0" id="motorhomelogos" /></a></div>
          <div id="bottom_contact">All Electric Garages Motorhomes<br />
            Churchfields<br />
            Worcestershire<br />
            DY102JL<br />
            Tel: 01562 535 039<br />
            Email: [email protected]</div>
          <div id="clowe"><a href="http://aegmotorhomes.co.uk"><img src="../MOTORHOME IMAGES/Footer/Aeg Logodesigned blk.jpg" alt="Designed by CLowe" name="clowe" width="217" height="54" border="0" id="clowe2" /></a></div>
        </div>
      </div>
    </div>
    </body>
    </html>

    You are posting to the wrong forum. For html/css layout issues try posting to the Dreamweaver forum.

Maybe you are looking for