Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brent 29 posts 240 karma points
    Sep 05, 2017 @ 19:55
    Brent
    0

    Umbraco says error on code, highlighted in red. But doesn't say why...

    The last two lines </div> and </asp:content> are marked in red. When you look at the code it looks correct... Please help!

       <%@ Master Language="C#" MasterPageFile="~/masterpages/master.master" AutoEventWireup="true" %>
    
        <asp:content ContentPlaceHolderId="contentArea" runat="server">
    
    
    
    
        <script type="text/javascript">
          $(document).ready(function() {    
                   /**/$("#slideshow").css("overflow", "hidden");
          $("#slideshow").css("padding", "1px");
          $("#slideshow").css("height", "300px");
    
    
    
                    $("ul#slides").cycle({
                      fx: 'fade',
                      pause: 1,
                      timeout: 5000,
                      fastOnEvent: 500,
                      prev: '#prev',
                      next: '#next'
                    });
                    $("#slideshow").hover(function() {
                      $("ul#nav").fadeIn();
                      },
                        function() {
                      $("ul#nav").fadeOut();
                    });
                  });
        </script>
    
    
    
    
    
        <div class="allBodyConentHomepage">
          <div style="">
              <umbraco:Macro Alias="ImageRotator" runat="server"></umbraco:Macro>
          </div>
           <div id="rotatorShadow">
               <img src="images/rotator_shadow.jpg" width="703" height="24" style="" />
          </div>
          <center>
          <table class="addBar" cellpadding="0" cellspacing="0" width="709">
              <tr>
                  <td valign="top" class="addBarL">
    
                  </td>
                  <td valign="top" class="addBarM">
                      <div class="addContent">
                      <table cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                            <umbraco:Macro Alias="Promotions" runat="server"></umbraco:Macro>
                          </tr>
                      </table>
                      </div>
                  </td>
                  <td valign="top" class="addBarR">
    
                  </td>
              </tr>
          </table>
        </div>  
        </asp:content>
    
  • Lewis Smith 211 posts 620 karma points c-trib
    Sep 05, 2017 @ 21:04
    Lewis Smith
    101

    From the looks of it (viewing on a phone so could be wrong) You're missing a center closing tag?

  • Brent 29 posts 240 karma points
    Sep 07, 2017 @ 20:13
    Brent
    1

    Thank you!

Please Sign in or register to post replies

Write your reply to:

Draft