Dont really know how to communicate this issue but here goes;
I'm looking for some help with a problem I'm having with my page rendering correctly from one template but similar code not rendering correctly in another.
I have a contact page that contains a google map, the map renders fine in the static version of the page but not in the flexslider version.
Code that renders page correctly (this is a static version of the page):
Page rendering from one template but not another
Hi guys,
Dont really know how to communicate this issue but here goes;
I'm looking for some help with a problem I'm having with my page rendering correctly from one template but similar code not rendering correctly in another.
I have a contact page that contains a google map, the map renders fine in the static version of the page but not in the flexslider version.
Code that renders page correctly (this is a static version of the page):
The Map1 razor script only contains javascript.
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderID="MasterContentPlaceHolder" runat="server">
<umbraco:Macro Alias="ContactContent" runat="server" />
</asp:Content>
<asp:Content ContentPlaceHolderId="scripts" runat="server">
<umbraco:Macro Alias="Map1" runat="server" />
</asp:Content>
-----------------------------------
Code that renders page ok but is missing the google map (this is the flexslider version):
mapFlexslider.js contains the same javascript as the macro above
<li>
<umbraco:Macro Alias="ContactContent" runat="server" />
</li>
</ul>
</div>
</div>
<!-- START SCRIPTS -->
<script src="../scripts/jquery-1.7.1.js"></script>
<script src="../scripts/load_content.js"></script>
<script src="../scripts/jquery.flexslider.js"></script>
<script src="../scripts/imagesloaded.js"></script>
<script src="../scripts/jquery.scrollTo.js"></script>
<script src="../scripts/plugins.js"></script>
<script src="../scripts/script.js"></script>
<!-- FancyBox -->
<script src="../scripts/fancybox/js/fancybox/jquery.fancybox.js"></script>
<script src="../scripts/fancybox/js/fancybox/jquery.fancybox-buttons.js"></script>
<script src="../scripts/fancybox/js/fancybox/jquery.fancybox-thumbs.js"></script>
<script src="../scripts/mapFlexslider.js"></script>
Hi Alex
Do you receive any JavaScript errors when viewing the browser console log? I suspect some references are missing perhaps.
Looking forward to hearing from you.
/Jan
is working on a reply...