- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
不确定你们中的许多人以前是否使用过 Umbraco,基于 .net 的 CMS。无论如何,我正在尝试将我在 Dreamweaver 中创建的 HTML/CSS 站点移至 Umbraco。可以在 http://www.innexdesign.co.uk 找到实时站点。
无论如何,我已经相当轻松地将此站点转换为 Umbraco。唯一的问题是主页。如果您查看现有主页http://www.innexdesign.co.uk/index.html然后你会注意到当鼠标悬停在它们上面时翻滚到黑色的翻滚文字/图像。当您点击其中任何一个时,会出现一个包含一些信息的灯箱。
在我的 Umbraco 版本上,当我单击任何这些翻转图像时没有任何反应。此外,出于某种原因,包含指向外部网站的超链接的翻转图像“设计和构建”不会在 Umbraco 中显示。
我在其他页面中使用灯箱效果很好。例如,进入“设计菜单”并单击任何酒吧或餐厅,然后会出现一个灯箱,其中包含相关信息。
这是在 Umbraco 中似乎不起作用的代码:
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
<asp:Content ContentPlaceHolderId="ContentPlaceHolderDefault" runat="server">
<asp:ContentPlaceHolder Id="MasterContentPlaceHolder" runat="server">
</asp:ContentPlaceHolder>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en">
<head>
<!--META DATA -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="keywords" content=" Innex Design, design, designers warrington, interior design warrington, cheshire, northwest, manchester, liverpool, pub designers,bar designers, architect, architects, carbon neutral, design manchester, designer in warrington, architect warrington" />
<meta name="description" content=" From a house extension or housing estate, to commercial warehouses’, leisure centres and bars, Innex Design can help develop any idea into a practical, ethical, sustainable reality." />
<meta name="robots" content="index,follow" />
<!-- #BeginEditable "doctitle" -->
<title>Innex Design</title><!--Umbraco Page Field will get inserted here to dynamically change title of page-->
<!--SCRIPTS AND STYLESHEETS -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="/Scripts/script.js"></script>
<link rel="stylesheet" type="text/css" href="/Scripts/jquery.fancybox-1.3.4.css" media="screen" />
<link rel= "stylesheet" href="/css/style.css" />
<!--JAVASCRIPT -->
<script type="text/javascript" src="/Scripts/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="/Scripts/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".various1").fancybox({
'titlePosition' : 'inside',
'transitionIn' : 'none',
'transitionOut' : 'none'
});
});
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>
<!--CSS SCRIPT-->
<style type="text/css">
body {
background-repeat: repeat-x;
}
</style>
</head>
**<body onload="MM_preloadImages('/media/57/architectureBLACK.png','/media/446/interior-designBLACK.png','/media/732/project-managementBLACK.png','/media/253/cost-managementBLACK.png','/media/714/PlanningBLACK.png','/media/922/SurveyingBLACK.png','/media/333/energy-assessmentsBLACK.png','/media/506/landscape-architectureBLACK.png','/media/288/Design-&-BuildBLACK.png')">**
<!--DIV HEADER USED IN HOME, PROUILE AND CALLBACK PAGES ONLY-->
<div id="header">
<div id="headerimgs">
<div id="headerimg1" class="headerimg"></div>
<div id="headerimg2" class="headerimg"></div>
</div>
<div id="logo">
<a href="home.aspx" target="_self"><img src="/media/436/innexdesign_logo.jpg" width="143" height="206" alt="Innex Design Logo" /></a>
</div>
<div id="social">
<a href="http://twitter.com/#!/InnexDesign" target="_new"><img src="/media/980/twitter.png" width="41" height="40" alt="Innex Design on Twitter" /></a>
<a href="http://www.facebook.com/innexdesignltd" target="_new"><img src="/media/351/facebook.png" width="41" height="40" alt="Innex Design on Facebook" /></a>
<a href="request-a-callback.aspx" title="Request a Callback" target="_new"><img src="/media/192/callback.png" alt="" width="77" height="40" /></a>
<a href="request-a-callback.aspx" title="Leave Your Details and Sign up to our News Letter" target="_new"><img src="/media/641/Newsletter Image.png" alt="" width="77" height="40" /></a></div>
</div>
<!--DIV CONTENT,HOMEMENU ETC ELEMENTS ONLY USED IN HOME,PROFILE AND CALLBACK PAGES-->
<div id="content">
<div id="homeleft">
<ul class="menu">
<li class="first"><a href="home.aspx">HOME</a></li>
<li><a href="profile.aspx">PROFILE</a></li>
<li><a href="designs.aspx">DESIGNS</a></li>
<li><a href="testimonials.aspx">TESTIMONIALS</a></li>
<li class="last"><a href="contact.aspx">CONTACT</a></li>
</ul>
<p style="text-align:center; font-weight:bold;">CELEBRATING<br /><span style="font-size:22px">21</span><br />YEARS<br />1991-2012</p>
</div>
<div id="homeright">
<a class="various1" href="#architecture" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Architecture','','images/architectureBLACK.png',1)"><img src="images/architecture.png" alt="Architecture" width="195" height="31" id="Architecture" style="padding:0px 20px;float:left;"/></a>
<a class="various1" href="#idesign" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('interiordesign','','images/interior-designBLACK.png',1)"><img src="images/interior-design.png" alt="Interior Design" width="195" height="31" id="interiordesign" style="padding:0px 0px 5px 20px; float:right;"/></a>
<a class="various1" href="#pmanage" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Projman','','images/project-managementBLACK.png',1)"><img src="images/project-management.png" alt="Project Managment" width="195" height="31" id="Projman" style="padding:20px 42px 5px 20px;float:left;"/></a>
<a class="various1" href="#planning" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Planning','','images/PlanningBLACK.png',1)"><img src="images/Planning.png" alt="Planning" width="195" height="31" id="Planning" style="padding:10px 12px 5px 0px;float:right;"/></a>
<a class="various1" href="#energy" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Energy Assessment','','images/energy-assessmentsBLACK.png',1)"><img src="images/energy-assessments.png" alt="Energy Assessments" width="195" height="31" id="EnergyAssessment" style="padding:0px 42px 0px 20px;float:right;"/></a>
<a class="various1" href="#surveying" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Surveying','','images/SurveyingBLACK.png',1)"><img src="images/Surveying.png" alt="Surveying" width="195" height="31" id="Surveying" style="padding:10px;float:left;" /></a>
<a class="various1" href="#cost" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CostManagement','','images/cost-managementBLACK.png',1)"><img src="images/cost-management.png" alt="Cost Management" width="195" height="31" id="CostManagement" style="padding:0px 12px 0px 20px; float:left;"/></a>
<a class="various1" href="#land" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('landscape','','images/landscape-architectureBLACK.png',1)"><img src="images/Landscape-Architecture.png" alt="Landscape Architecture" width="195" height="31" id="landscape" style="padding:20px 0px 0px 20px; float:right;" /></a>
**<div id="various1"> <a href="http://www.innexdevelopments.co.uk" target="_blank" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('DesignBuild','','images/Design-&-BuildBLACK.png',1)"><img src="images/Design-&-Build.png" alt="Design & Build" width="195" height="31" id="DesignBuild" style="padding:10px 0 0 0px;float:left;"/></a>
</div>**
**<div style="display:none"><div id="architecture">
<img src="/media/52/architecture.png" width="195" height="31" alt="Architecture" />
<p style="padding:0px 0px 5px 0px; width:500px;">From a house extension or housing estate, to commercial warehouses’, leisure centres and bars, Innex Design can help develop any idea into a practical, ethical, sustainable reality.</p>
</div></div>
<div style="display:none"><div id="idesign">
<img src="/media/441/interior-design.png" width="195" height="31" alt="Interior Design" />
<p style="padding:0px 0px 5px 0px; width:500px;">Innex Design’s Interior and brand development designers are experts in spatial design, brand development and awareness, signage and menu design all of which is complimented with the interior design package delivered.</p>
</div></div>
<div style="display:none"><div id="pmanage">
<img src="/media/727/project-management.png" width="195" height="31" alt="Project Management" />
<p style="padding:0px 0px 5px 0px; width:500px;">Many of our architectural and interior design developments are project managed ensuring the brief and end aim is delivered on time and on budget. Only with project management can we ensure our clients that the specification and quality is to the highest standard.</p>
</div></div>
<div style="display:none"><div id="planning">
<img src="/media/709/Planning.png" width="195" height="31" alt="Planning" />
<p style="padding:0px 0px 5px 0px; width:500px;">Innex Design undertake all planning application submissions from residential, commercial, listed and conservation area consents, national park along with Display of Advertisement applications. We also work with planning consultants to add value for developers and lenders by assessing land and building use potential.</p>
</div></div>
<div style="display:none"><div id="surveying">
<img src="/media/917/Surveying.png" width="195" height="31" alt="Surveying" />
<p style="padding:0px 0px 5px 0px; width:500px;">Innex Design can provide a wide variety of surveys from measured and condition surveys of buildings, Topographical surveys, Structural surveys, Party Wall surveys, and provide assistance with Asbestos surveys, Land/Probate surveys, certification and many more.</p>
</div></div>
<div style="display:none"><div id="energy">
<img src="/media/328/energy-assessments.png" width="195" height="31" alt="Energy Assessments" />
<p style="padding:0px 0px 5px 0px; width:500px;">Innex Design can assist with providing full building services design and energy consultancy, and through one of our partners BREEAM assessment, Commercial EPC, Domestic EPC, Display energy certificates, New Build SAP or SBEM reports and Sustainability statements.</p>
</div></div>
<div style="display:none"><div id="cost">
<img src="/media/248/cost-management.png" width="195" height="31" alt="Cost Management" />
<p style="padding:0px 0px 5px 0px; width:500px;">Innex Design offer all clients a comprehensive service that removes the burden of day to day costs-related issues.</p>
</div></div>
<div style="display:none"><div id="land">
<img src="/media/501/Landscape-Architecture.png" width="195" height="31" alt="Landscape Architecture" />
<p style="padding:0px 0px 5px 0px; width:500px;">We undertake all aspects of landscape architecture, from landscape master planning, conceptual design through to detailed planting schemes. We adopt a fresh approach to the design of each project where a high degree of design flair and innovation comes as standard. </p>
</div></div>
<div style="display:none"><div id="build">
<img src="/media/283/Design-&-Build.png" width="195" height="31" alt="Design & Build" />
<p style="padding:0px 0px 5px 0px; width:500px;">In today’s industry and marketplace some clients prefer a one point of contact approach to projects, with this in mind we have developed a nationwide network of partnering contractors to enable clients to have the one point contact, whilst ensuring delivery of excellent quality and standards of workmanship.</p>
</div></div>**
</div>
</div><!-- end content -->
</div><!-- end wrapper -->
<div id="logosother">
<div class="logos"><a href="http://www.altiusva.com/ " target="_blank"><img src="/media/47/altius-logo.jpg" width="132" height="52" alt="Altius Logo" /></a> <a href="http://www.chas.gov.uk " target="_blank"><img src="/media/208/chas-logo.jpg" width="48" height="52" alt="Chas Logo" /></a> <a href="http://www.constructionline.co.uk/static/" target="_blank"><img src="/media/238/Construction line.jpg" width="48" height="52" alt="Construction Line" longdesc="http://www.constructionline.co.uk/static/" /></a> <a href="http://www.eurosafeuk.co.uk/ " target="_blank"><img src="/media/341/Eurosafe.jpg" width="48" height="52" alt="Eurosafe" longdesc="http://www.eurosafeuk.co.uk/ " /></a> <a href="http://bii.bii.org/home" target="_blank"><img src="/media/112/BII.jpg" alt="BII" width="48" height="52" longdesc="http://bii.bii.org/home" /></a> <a href="http://committedtoequality.co.uk" target="_blank"><img src="/media/233/commitedtoequality.jpg" width="43" height="50" alt="Commited To Equality" longdesc="http://committedtoequality.co.uk" /></a></div>
<div class="carbon"><a href="/media/200/Carbon Managment Plan.pdf" target="_new"><img src="/media/203/carbon-logo.jpg" width="149" height="85" alt="Carbon Neutral Logo" /></a></div>
</div>
<div id="footer">
<p style="float:left">Copyright © 2012 - Innex Design </p>
<p style="float: left"><a href="/media/724/privacy policy.pdf" target="_new">Privacy Policy</a></p>
<p style="float: left"><a href="/media/927/Sustainability Policy.pdf" target="_new">Sustainability Policy</a></p>
<p style="float: left"><a href="/media/338/Equal Ops Policy.pdf" target="_new">Equal Opportunities Policy</a></p>
<p style="float:right">Designed by <a href="http://www.swan-solutions.com" target="_blank" title="Swan Solutions"><img src="/media/950/swan-solutions.jpg" alt="Swan Solutions" width="100" height="20" align="middle" /></a></p>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25186334-1']);
_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>
</body>
</html>
</asp:Content
>
最佳答案
要检查的一件事是确保图像的所有相对 URL 在开头都有一个正斜杠,例如/images/architecture.png - 这将确保它从根图像文件夹中获取图像,而不是尝试相对于页面找到它。
此外,检查您的 CSS 和/或 javascript 是否有任何对图像的引用,并确保它们在开头也有一个正斜杠。
关于javascript - Umbraco-Images 不显示现有 HTML 标记,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10800837/
嗨,我正在将 Umbraco 安装到我网站的根目录。而且我想将我的 wordpress 博客安装到根目录中的子文件夹中。 然而,对子文件夹的任何请求都被 Umbraco 拦截,并显示无法找到文档 UR
我对 umbraco 比较陌生,刚刚建立了网站,但客户要求一个具有全新外观和感觉的微型网站。 那么如何在 umbraco 中建立一个新的微型站点。 请帮忙。 万分感谢 最佳答案 要使 Umbraco
正如标题所问,Umbraco 将其版本信息存储在数据库的哪个位置? 最佳答案 它存储在 web.config 文件中(umbracoConfigurationStatus 设置)而不是数据库中。 理查
好吧,我刚刚在 Umbraco 的杂草中度过了过去 6-8 周的时间,并对我们的网站和环境进行了一些修复/改进。我花了很多时间尝试纠正较低级别的 Umbraco 缓存相关问题。现在反射(reflect
我正忙于学习 Umbraco,但我在 Internet 上看不到任何信息告诉我 Umbraco 是否允许我使用连接到 SQL Server 数据库的 C# 代码创建自定义 ASP.NET 表单。 如果
我正在尝试从数据库中导出成员属性,如名字、姓氏,但我似乎无法找到它。我看到有一个带有正确列的 loginUser 表,但它似乎只包含 5 个条目,而不是我在管理界面中看到的完整人员列表。 最佳答案 道
我们在后端有一个混合语言的 umbraco 安装。当我将用户的语言切换为“英语(英国)”或“英语(美国)”时,我仍然在后端看到一些德语单词,例如在搜索框中用“Durchsuchen”代替“Type t
我正在使用 umbraco cms 设置 af 多语言页面。 我有一个看起来像这样的内容结构: 内容 达 丹麦语子页 1 丹麦语子页 2 恩 英文子页1 英文子页2 我希望路由是这样的: http:/
我正在尝试在 umbraco 中创建一个新闻文件,它会在其中显示按月组织的新闻页面列表。每个页面都会显示当月新闻项目的列表。 我关注了 tutorial for creating news items
是否可以在 Umbraco 后台关闭 Umbraco 升级消息。不一定希望我的用户看到这一点。 最佳答案 有一个umbracoVersionCheckPeriod键入 appSettings web.
我的情况是,我负责为 Umbraco 制作应用程序或扩展,使后端用户能够将他们在开发站点上的更改迁移到实时站点。这种迁移应该每天发生一次,或者在后端用户按下后端的按钮时发生。 我知道 Umbraco
我想知道是否有人可以解释 Umbraco Cms Core Binaries Package 和 Umbraco Cms NuGet Package 之间的区别? 最佳答案 一个好问题。首先,我会推荐
有没有一种方法可以简单地在 umbraco 4 中创建文件夹以组织内容?我搜索了论坛并没有找到合理的答案。 最佳答案 这是文档有点缺乏的领域,但它是完全可行的: 创建一个名为“内容文件夹”之类的文档类
我最近决定与 Umbraco 一起开发我们的新公司网站 (http://www.idealcode.net:8005/AboutUs.aspx)。我聘请了一位 Umbraco 开发人员,我们开始工作。
有没有人遇到过 Umbraco 说内容更改已成功保存的问题,您关闭了所有内容(包括 webmatrix),然后返回并发现更改已丢失? 我正在我的本地主机上工作。 我认为这与 webmatrix 上的数
我已经创建了基于内置下拉列表的自定义数据类型,但不知道如何为列表指定默认值。默认值始终为空: 最佳答案 默认下拉不支持默认值 有两种方法可以实现你想要的 创建您自己的下拉数据类型(或使用其他人制作的插
我正在运行 umbraco 7 的一个实例。但我似乎无法设置 miniprofiler 来使用它。 在我的 global.asax 上设置: protected void Applicatio
我想将我自己的部分添加到 umbraco 仪表板,以便我可以将我自己的管理部分集成到现有的登录/管理结构中。如果不编辑和重新编译 umbraco 源代码本身,这可能吗?是否推荐?如果是这样,是否有人有
我想在 umbraco 4.7 中显示最后更新日期 假设我什至对管理面板中的内容进行了微小的更改,它都必须提取更新日期,以便我可以在网站的页脚中动态显示。 谢谢。 最佳答案 每个节点都有一个名为 up
我已经使用 Umbraco 6.02 创建了一个站点,现在我将检查该站点的所有最终配置,并且已经开始索引。我做了一些研究,但我无法简单地找到每个部分需要包含的内容以及原因。 我应该在 中包含哪些字段
我是一名优秀的程序员,十分优秀!