Gallery CSS 转换为 JQuery / Ajax 页面 div
请有人帮我解决这个问题:
我已经加载了画廊 html 页面,并正确调用了我页面中的 mainContent div。 如果你去这里:
http://dageniusmarketer.com/DigitalWonderland/index-jquery.html
单击投资组合,您将看到图库已加载,但是图像缩略图和显示效果还很差。 它的外观和行为应该像这样:
dageniusmarketer.com/DigitalWonderland/pages/Galleriffic/advanced.html
我相信它与将图库的样式表加载到我的 mainContent div 中有关,只是我不知道该怎么做它。 我可能是错的,但我相信这就是问题所在。 有人可以查看我的源代码并告诉我如何修复它,以便图库在我的主站点中以正确的方式显示吗?
我还想在初始加载网站时将主页加载到 mainContent div 中。 我该怎么做呢?
感谢任何和所有的帮助。
谢谢
Please someone help me out with this:
I have the gallery html page loaded and getting called in correctly to my mainContent div in my page. if you go here:
http://dageniusmarketer.com/DigitalWonderland/index-jquery.html
click on portfolio, you will see that the gallery loads, but, the image thumbnails and display is way off. its supposed to look and act like this:
dageniusmarketer.com/DigitalWonderland/pages/Galleriffic/advanced.html
I believe it has everything to do with loading the stylesheet for the gallery into my mainContent div, only that I do not know how to do it. I may be wrong, but i believe that is the problem. Could someone view my source and tell me how to fix it so the gallery displays the correct way in my main site?
I also would like to load the home page into the mainContent div upon initial loading of the site. How do I do this?
Any and all help is appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您将“Portfolio”页面加载到主页(index-jquery.html)时,加载的 html 中的 css 和 javascript 路径是错误的。 它们指向不存在的位置。
当我调整
的路径时
与嵌入页面中的其他和
标记一样,它已正确显示。
我建议使用 Mozilla Firefox 的 Firebug 这样的工具,它允许我查看 DOM 并修改它以帮助我调试你的代码。
When you load the page "Portfolio" into your mainpage (index-jquery.html), the paths to the css and javascript in the loaded html are wrong. They point to non-existend locations.
When I adjusted the paths to
<link type="text/css" href="http://dageniusmarketer.com/DigitalWonderland/pages/Galleriffic/css/basic.css" rel="stylesheet"/>
and like wise for the other<link>
and<script>
tags in the embedded page, it was properly displayed.I recommend using a tool like Firebug for Mozilla Firefox, which allowed me to see the DOM and modify it to help me debug your code.