-2

Essentially, it is a slideshow using webpages. After 2 minutes the URL changes to a new page etc.

Home -> (2 minutes) -> Page B -> (2 minutes) -> Page C -> (2 minutes) -> Back to Home

And this continues to cycle through.

Does anyone know if a plugin for this exists and if not how would I go about this using javascript or jQuery. Thanks.

4

2 回答 2

1

60 秒后重定向到新 URL:

<meta http-equiv="REFRESH" content="60;URL=http://www.your-next-page.com/page.html">

不需要 JavaScript,尽管假设您正在动态更改页面内容而不是直接重定向,您可以使用 JavaScript 创建更令人愉悦的体验。

于 2012-11-09T22:57:27.653 回答
0

当然,这有多个插件......但它就像使用计时器和重定向一样简单......如果你使用 jquery,你可以这样做:http ://www.onextrapixel.com/2010/02/23 /如何使用-jquery-to-make-slick-page-transitions/

于 2012-11-09T22:51:53.760 回答