ASP.NET MVC3,带有引用图像路径的 XML 配置的 Flash 滑块
我正在尝试将 flashmo 图像滑块与 ASP.NET MVC3 一起使用,但遇到了 Flash 滑块的 XML 配置文件的问题...XML 文件使用我想要使用的照片的直接路径...例如:
<photo>
<filename>./photos/slider_4_text.jpg</filename>
<description><![CDATA[<p class="subtitle">Photo title four goes here</p><p>Mauris vestibulum felis eget tortor. <a href="http://www.flashmo.com" target="_blank">Praesent mattis varius quam</a>. Vestibulum ullamcorper ipsum nec augue. Vestibulum auctor odio eget ante. <span class="highlight">Nunc commodo, magna pharetra semper vehicula, dui ligula feugiat elit, et euismod nunc orci ut libero.</span></p>]]></description>
<transition sequence="first" direction="down" slice="9" effect="easeInOutQuart"></transition>
</photo>
我已经检查了与我的类似的另一个问题(http://stackoverflow.com/questions/1116732/flash-xml-config-file-problems-with-asp-net-mvc),但我觉得这并不不直接申请就我的情况而言。
谁能帮我具体了解如何将我的 XML 配置文件指向图像的正确位置?
谢谢!
I'm trying to use flashmo image slider with ASP.NET MVC3 but run into an issue with the XML configuration file for the Flash slider...the XML file uses a direct path to the photos I want to use..for instance:
<photo>
<filename>./photos/slider_4_text.jpg</filename>
<description><![CDATA[<p class="subtitle">Photo title four goes here</p><p>Mauris vestibulum felis eget tortor. <a href="http://www.flashmo.com" target="_blank">Praesent mattis varius quam</a>. Vestibulum ullamcorper ipsum nec augue. Vestibulum auctor odio eget ante. <span class="highlight">Nunc commodo, magna pharetra semper vehicula, dui ligula feugiat elit, et euismod nunc orci ut libero.</span></p>]]></description>
<transition sequence="first" direction="down" slice="9" effect="easeInOutQuart"></transition>
</photo>
I've checked out the other question which is similar to mine (http://stackoverflow.com/questions/1116732/flash-xml-config-file-problems-with-asp-net-mvc) but I feel like this doesn't directly apply to my situation.
Can anyone lend a hand on exactly how to point my XML config file to the proper location of my images?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚切换到 jQuery 支持的 EasySlider 。
但是,如果有人想知道此问题中所述问题的解决方法,您可以直接从 Web 根目录引用 XML 文件中的内容..例如 /Content/Themes/red/images/image_1.xml。
I just switched to the jQuery-powered EasySlider.
But if anyone wants to know a workaround for the issue stated in this question, you can just reference the content directly in the XML file from the web root..for example /Content/Themes/red/images/image_1.xml.