How to implement automatic jump after publishing an article

Source: Internet
Author: User
After publishing an article, I automatically jump in. how can I achieve this? Normally, all I have done before is publishing successfully. js jumps to a history. go (-1 ). But now I think this is not reasonable. it would be much better to jump directly after the release. what I see most is that after the release, let you wait for 3 seconds and then automatically jump. You can also manually select the csdn release. What is automatic jump after three seconds of release? How to implement automatic jump after publishing an article
Under normal circumstances, all I have done before is to jump to a history. go (-1) after the successful release of js ).
But now I think this is not reasonable. it would be much better to jump directly after the release. what I see most is that after the release, let you wait for 3 seconds and then automatically jump. You can also manually select the csdn release.

What is automatic jump after three seconds of release ??

------ Solution --------------------
Discussion

Generally, there are three types:
1. add to the html head tag

2. php
Header ('refresh: 3; url = http://www.baidu.com ');

3. js uses the JavaScript latency jump scheme, as shown below:
Window. setTi ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.