1

I'm trying to adapt the jquery script fullpage.js on a (french) cms "SPIP" (http://spip.net).

It's a script to create a one page website with horizontal and vertical navigation.

I have a bug with the horizontal navigation. Text are cut before the end. The height depends of the height of the window.

I have to resize twice the window to be abble to read all the text.

what can i do ?

Here the website : http://gilleskleinformations.fr/?var_mode=recalcul (see "blognotes").

(i'm a dummy with javascript)

Thanks in advance!

4

1 回答 1

1

看起来你已经有了scrollOverflow: true并且你已经包含了jquery.slimscroll.min.js所以它应该可以工作。

但是,我注意到您在加载jQuery之前加载了jquery.slimscroll.min.js

尝试在jquery.fullPage.js之前但在jquery.min.js之后加载jquery.slimscroll.min.js ,因为插件需要 jQuery,所以像这样:

<!-- jQuery and jQuery UI -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
<!-- Plugins -->
<script type="text/javascript" src="squelettes/vendors/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="squelettes/js/jquery.fullPage.js"></script>

fullpage.js 手册

于 2014-02-05T03:24:32.337 回答