可以在Zurb Foundation 4中使用Super Scrollorama吗?(Is it possible to use Super Scrollorama with Zurb Foundat

编程入门 行业动态 更新时间:2024-10-28 07:29:08
可以在Zurb Foundation 4中使用Super Scrollorama吗?(Is it possible to use Super Scrollorama with Zurb Foundation 4?)

我很擅长这个。 我正在尝试使用Zurb Foundation 4的Super Scrollorama。根据:

http://johnpolacek.github.io/superscrollorama/

首先,链接到jQuery CDN,然后嵌入TweenMax.js和SuperScrollorama。

但是,我似乎无法超越第一步? 当我尝试将Super Scrollorama添加到Foundation 4项目时,只是导入JQuery似乎打破了Foundation 4.TweenMax.js链接就好了。

我正在使用此代码链接它:

<script src="js/superscrollorama/greensock/TweenMax.min.js" type="text/javascript"> </script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>

有任何想法吗? 这可能吗? 我在Google上进行了搜索,似乎没有任何教程显示如何使用Zurb Foundation 4的Super Scrollorama。

I'm pretty new at this. I'm trying to use Super Scrollorama with Zurb Foundation 4. According to:

http://johnpolacek.github.io/superscrollorama/

First, link to the jQuery CDN and then embed TweenMax.js and SuperScrollorama.

However, I can't seem to get past the first step? When I try to add Super Scrollorama to a Foundation 4 project, just importing JQuery seems to break Foundation 4. TweenMax.js links just fine.

I'm using this code to link it:

<script src="js/superscrollorama/greensock/TweenMax.min.js" type="text/javascript"> </script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>

Any ideas? Is this possible? I did a search on Google and there doesn't seem to be any tutorials showing how to use Super Scrollorama with Zurb Foundation 4.

最满意答案

我终于弄明白了。

这个脚本链接:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>

Muse出现 Zurb Foundation 4脚本链接之前:

<script src="js/foundation.min.js"></script

所以,正确的实现将如下所示:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src="js/foundation.min.js"></script>

如此疯狂的小巧,愚蠢的细节造成如此巨大的浪费时间!

如果您添加AFTER之后的链接,那么Zurb Foundation 4将无效。

I finally figured it out.

This script link:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>

Muse appear BEFORE the Zurb Foundation 4 script link:

<script src="js/foundation.min.js"></script

So, the correct implementation would look like this:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src="js/foundation.min.js"></script>

Such a crazy small, stupid detail cause such a huge waste of time!

If you add the link AFTER, then Zurb Foundation 4 WILL NOT WORK.

更多推荐

本文发布于:2023-07-30 11:18:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1337865.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Foundation   Zurb   Scrollorama   Super

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!