Home > Web Front-end > HTML Tutorial > Write a form and how to make it disappear automatically after 10 seconds_html/css_WEB-ITnose

Write a form and how to make it disappear automatically after 10 seconds_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:56:17
Original
925 people have browsed it

It will automatically disappear after 10 seconds after entering the page. How to do it? Please tell me


Reply to discussion (solution)

js control

$(document).ready(function() {	$("#对应id").animate({opacity:1,alpha:(opacity=100)}, 10000)});
Copy after login
Copy after login
Copy after login
Copy after login

Be specific. Write in js,

js control

$(document).ready(function() {	$("#对应id").animate({opacity:1,alpha:(opacity=100)}, 10000)});
Copy after login
Copy after login
Copy after login
Copy after login


I can’t understand your code. Can you write this directly? Still need a third party


js control

$(document).ready(function() {	$("#对应id").animate({opacity:1,alpha:(opacity=100)}, 10000)});
Copy after login
Copy after login
Copy after login
Copy after login


I can’t understand your code. Can you write this directly? Still need a third party



Reference Jquery.js



js control

$(document).ready(function() {	$("#对应id").animate({opacity:1,alpha:(opacity=100)}, 10000)});
Copy after login
Copy after login
Copy after login
Copy after login


I can’t understand your code. Should you write it directly? Still need a third party

Quote Jquery.js

How to quote Jquery.js? Do you download it? Put it in the root directory of the website. On the page How to quote



Ahhhhhhhhhhhhhhhhhhh



Ahhhhhhhhhhhh


Thank you. It has been implemented, but how can I let him log in to the page next time? It won’t be displayed, because every time I refresh it, it will be real, and then disappear,




Ahhhhhhhhhhhhhh


Thank you. Implemented, but How to make it so that the page will not be displayed when he logs in next time, because every time he refreshes the new page, it will be real, and then disappear,


Write cookie to judge




Ahhhhhhhhhh< /div>


Thank you. It has been implemented, but how can I make it so that the page will not be displayed when I log in next time? Because every time I refresh the novice, it is a reality and then disappears. , This is just a set timing function. After implementation, the timing is not turned off, so you need to add the clearTimeout() method
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template