当前位置: 首页 > 工具软件 > fool.js > 使用案例 >

html整人js代码大全,Fool.js恶搞整人网页特效jQuery插件

慎风畔
2023-12-01

Fool.js是一个 jQuery 插件,包含了几种页面特效,可以用来在愚人节的时候整人,来实现更多的更变态的愚人功能,当然你也可以使用这个插件完成更多好看的效果。

支持的特效

消失的滚动条

莫名其妙播放的音乐

随机消失的页面元素

不间断的弹出傻x的问题

页面颠倒

页面扭曲

页面闪烁

无限循环 -> 浏览器崩溃

页面突然变纯黑

无法点击

整个页面可编辑

使用方法

$(document).ready(function() { // When the document is ready

$.fool('flash'); // Run the Rick Astley prank

});

配置各种不同的愚人效果,下面是配置了两种效果)

$.fool({

hiddenVideos: true, // Show some wonderfully annoying videos

vanishingElements: true, // Hide random elements as they interact

});

可选参数

Fool.js具有的愚人效果列表,Rick Astley只是开始。有一个完整的范围内使用的有趣的选项。单击任何预览它们的选项,注意:这些会毁了浏览体验。准备刷新。

fallingScrollbar: true, // Want the scrollbar to fall over?

rick: true, // The synonymous Rick Astley video, hidden off-screen

hiddenVideos: true, // Show some wonderfully annoying videos

vanishingElements: true, // Hide random elements as they interact

questionTime: true, // Sing Spongebob with your browser!

upsideDown: true, // Flip the page upside down!

h4xx0r: true, // Make the page 100% editable

wonky: true, // Make the page a little bit crooked

flash: true, // Makes the site flash on and off

crashAndBurn: true, // Runs an endless loop. This will kill your browser!

shutter: true, // Forces a shutter on the screen

unclickable: true, // Makes the page unclickable

Github地址:https://github.com/idiot/Fool.js

文章转载自:问说网 » Fool.js恶搞整人网页特效jQuery插件

 类似资料: