Bootstrap v5旋转木旋未工作2shine DNN主题

发布于 2025-02-01 10:44:23 字数 524 浏览 2 评论 0 原文

希望这将由2SXC的伟大人物看到!

我们最近开始使用您的2shine DNN主题,并喜欢它,但是我们遇到了一个奇怪的情况,我们无法弄清楚。如果我们添加尝试任何Bootstrap V2旋转木马()示例在DNN页面中具有2shine主题,旋转木马不起作用。

具体来说,轮播中的图像确实在页面上显示,但是:

  • 图像沿页面逐渐流下(所有显示)
  • 当我们使用框架选择器或Next/prev按钮时, 标准的HTML按钮
  • 在开发控制台中没有JS错误

您可以告诉我们我们缺少的是什么?

, 。

页面

/

  • ​https://2shine.org/ )
  • 是的,DNN包括jQuery

Hopefully this will be seen by the great folks at 2sxc!

We recently started using your 2shine DNN Theme, and loving it, but we bumped into a weird situation that we can't figure out. If we add try any of the Bootstrap v2 Carousel (https://getbootstrap.com/docs/5.1/components/carousel/) examples in a DNN page with the 2shine theme applied, the carousel doesn't work.

Specifically, the images within the carousel do show on the page, but:

  • the images run down the page (all shown)
  • when we use the frame selector or next/prev buttons they have no styling/content (just small, maybe 10 x 3px standard html buttons
  • there are no js errors in the dev console

Can you tell us what we're missing?

I cannot provide a live URL (publicly), but if you provide a twitter, discord, or whatever, I can privately provide the site/page.

Thanks!

For anyone else....

  • DNN version is 9.10.2
  • Yes, DNN is including BSv5 via the 2Shine skin (https://2shine.org/)
  • Yes, DNN is including jQuery

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

戴着白色围巾的女孩 2025-02-08 10:44:23

仅供参考:您不需要jQuery。

对我来说,听起来您错过了一些CSS。

  1. 您在网络中看到任何红色CSS请求吗?
  2. 您是否看到已加载的CSS
  3. 进行比较 - 您是否有一个页面 /网站在其中工作,因此您可以比较F12中的样式,

以防万一您激活了客户端依赖性,请确保碰到该版本,以防万一某些内容失败。

just fyi: you don't need jquery for this.

to me it sounds like you're missing some CSS.

  1. Do you see any red CSS requests in the network?
  2. Do you see the css being loaded
  3. for comparison - do you have a page / site where it works, so you can compare the styles in F12

Just in case you have client-dependency activated, make sure you bump the version in case something failed.

凉世弥音 2025-02-08 10:44:23

检查调试器工具控制台窗口。您可能会看到JavaScript错误。

Check the Debugger Tools Console window. You’ll probably see a JavaScript error.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文