我有这个jquery脚本,它逐个显示句子中的每个单词。
$(function (){
var str = "It was a dark and stormy night in the Bay of Biscay, and the Captain and his sailors were seated around the fire. Suddenly, one of the sailors said, Tell us a story, Captain. And the Captain began, ";
var spans = '<span>&
我想要创造一个曲奇,所以如果:
"Toggle“被按下,一旦一个暴风雪效果停止,也会产生一个cookie,所以如果用户刷新页面,它将不会运行。如果他们再次“切换”,暴风雪效应就会开始,饼干就会被删除。
目前,我已经查看了,我需要使用以下函数:
document.cookie="name";
function get_cookie(name){
var x = name;
}
function delete_cookie( name ) {
document.cookie = name;
}
因此,我可以在伪代码中得到类似的内容:
$("#Snow